using Content.Server.Clothing; namespace Content.Server.Nutrition.EntitySystems; /// /// Component that denotes a piece of clothing that blocks the mouth or otherwise prevents eating & drinking. /// /// /// In the event that more head-wear & mask functionality is added (like identity systems, or raising/lowering of /// masks), then this component might become redundant. /// [RegisterComponent, Access(typeof(FoodSystem), typeof(DrinkSystem), typeof(MaskSystem))] public sealed partial class IngestionBlockerComponent : Component { /// /// Is this component currently blocking consumption. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("enabled")] public bool Enabled { get; set; } = true; }