using Content.Shared.Nutrition.EntitySystems; using Robust.Shared.GameStates; namespace Content.Shared.Nutrition.Components; /// /// Represents a tamper-evident seal on an Openable. /// Only affects the Examine text. /// Once the seal has been broken, it cannot be resealed. /// [NetworkedComponent, AutoGenerateComponentState] [RegisterComponent, Access(typeof(SealableSystem))] public sealed partial class SealableComponent : Component { /// /// Whether the item's seal is intact (i.e. it has never been opened) /// [DataField, AutoNetworkedField] public bool Sealed = true; /// /// Text shown when examining and the item's seal has not been broken. /// [DataField] public LocId ExamineTextSealed = "drink-component-on-examine-is-sealed"; /// /// Text shown when examining and the item's seal has been broken. /// [DataField] public LocId ExamineTextUnsealed = "drink-component-on-examine-is-unsealed"; }