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