* newlighters * port complete * donk pocket box addition * should fix test fail, proper credit * captalisation issue * fixed * typo corrected * removed accidental change to combat bakery * fixed lock message, made NT flippo start fueled. * Requested changes * fixed discount dan * moved matchbox * requested changes, discount dan more broken than ever (somehow) * unbungle * uhhhhh * maybe fixes? * changed inheritance * fixed enum? * nevermind * finally fixed * breaking changes * inheritance unbungled
18 lines
538 B
C#
18 lines
538 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Lock;
|
|
|
|
/// <summary>
|
|
/// This is used for toggleable items that require the entity to have a lock in a certain state.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(LockSystem))]
|
|
public sealed partial class ItemToggleRequiresLockComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// TRUE: the lock must be locked to toggle the item.
|
|
/// FALSE: the lock must be unlocked to toggle the item.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool RequireLocked;
|
|
}
|