mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 03:50:54 +01:00
* One commit ops * Please the maintainer gods * More requested changes * review * actually this is probably a good idea --------- Co-authored-by: ScarKy0 <scarky0@onet.eu>
19 lines
612 B
C#
19 lines
612 B
C#
using Content.Shared.Lock.BypassLock.Systems;
|
|
using Content.Shared.Mobs;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Lock.BypassLock.Components;
|
|
|
|
/// <summary>
|
|
/// This component lets the lock on this entity be pried open when the entity is in critical or dead state.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(BypassLockSystem))]
|
|
public sealed partial class BypassLockRequiresMobStateComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The mobstate where the lock can be bypassed.
|
|
/// </summary>
|
|
[DataField]
|
|
public HashSet<MobState> RequiredMobState = [];
|
|
}
|