using Content.Shared.Containers.ItemSlots; using Robust.Shared.GameStates; using Robust.Shared.Serialization; namespace Content.Shared.Cabinet; /// /// Used for entities that can be opened, closed, and can hold one item. E.g., fire extinguisher cabinets. /// Requires OpenableComponent. /// [RegisterComponent, NetworkedComponent, Access(typeof(ItemCabinetSystem))] public sealed partial class ItemCabinetComponent : Component { /// /// Name of the that stores the actual item. /// [DataField] public string Slot = "ItemCabinet"; } [Serializable, NetSerializable] public enum ItemCabinetVisuals : byte { ContainsItem, Layer }