mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-20 23:17:43 +03:00
* fix * fix * fix * fix * fix * Fix Bug with Opening Storage Containers (#1292) <!-- This is a semi-strict format, you can add/remove sections as needed but the order/format should be kept the same Remove these comments before submitting --> # Description <!-- Explain this PR in as much detail as applicable Some example prompts to consider: How might this affect the game? The codebase? What might be some alternatives to this? How/Who does this benefit/hurt [the game/codebase]? --> Fixes the bug with opening storage containers while there's already one opened. --- # Changelog <!-- You can add an author after the `🆑` to change the name that appears in the changelog (ex: `🆑 Death`) Leaving it blank will default to your GitHub display name This includes all available types for the changelog --> 🆑 - fix: Fixed the bug with opening storage containers while there's already one open. (cherry picked from commit b0407604ced2859ccbdc417345dadc29656f71f0) * Automatic Changelog Update (#1292) (cherry picked from commit 9a40c3783eb0d0e622badc2febcaf0794f6f8ddd) * possible test fix * possible test fix * fix --------- Co-authored-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> Co-authored-by: SimpleStation Changelogs <simplestation14@users.noreply.github.com>
20 lines
700 B
C#
20 lines
700 B
C#
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]
|
|
public sealed partial class IngestionBlockerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Is this component currently blocking consumption.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("enabled")]
|
|
public bool Enabled { get; set; } = true;
|
|
}
|