- add: genitals

This commit is contained in:
2024-02-14 12:49:00 +03:00
parent 7f54d0ddea
commit 40d813de44
678 changed files with 3782 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using Content.Shared._Amour.Hole;
using Robust.Server.Containers;
using Robust.Shared.Containers;
namespace Content.Server._Amour.Hole;
public sealed partial class HoleSystem
{
[Dependency] private readonly ContainerSystem _container = default!;
public void InitializeInventory()
{
SubscribeLocalEvent<HoleInventoryComponent,ComponentInit>(OnInventoryInit);
}
private void OnInventoryInit(EntityUid uid, HoleInventoryComponent component, ComponentInit args)
{
component.Slot = _container.EnsureContainer<ContainerSlot>(uid,HoleInventoryComponent.SlotName);
}
}