* Shelve * 22 file diff * What if it was just better * Hold that thought * Near final Commit, then YAML hell * 95% done with cs * Working Commit * Final Commit (Before reviews tear it apart and kill me) * Add a really stupid comment. * KILL * EXPLODE TEST FAILS WITH MY MIND * I hate it here * TACTICAL NUCLEAR STRIKE * Wait what the fuck was I doing? * Comments * Me when I'm stupid * Food doesn't need solutions * API improvements with some API weirdness * Move non-API out of API * Better comment * Fixes and spelling mistakes * Final fixes * Final fixes for real... * Kill food and drink localization files because I hate them. * Water droplet fix * Utensil fixes * Fix verb priority (It should've been 2) * A few minor localization fixes * merge conflict and stuff * MERGE CONFLICT NUCLEAR WAR!!! * Cleanup --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
21 lines
729 B
C#
21 lines
729 B
C#
using Content.Shared.Nutrition.EntitySystems;
|
|
|
|
namespace Content.Shared.Nutrition.Components;
|
|
|
|
/// <summary>
|
|
/// Component that denotes a piece of clothing that blocks the mouth or otherwise prevents eating & drinking.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 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.
|
|
/// </remarks>
|
|
[RegisterComponent, Access(typeof(IngestionSystem))]
|
|
public sealed partial class IngestionBlockerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Is this component currently blocking consumption.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Enabled { get; set; } = true;
|
|
}
|