Files
space-station-14/Content.Shared/Lock/BypassLock/Components/BypassLockRequiresMobStateComponent.cs
Sir Warock 7540c8f152 Pry open critical Borgs (#42319)
* 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>
2026-01-13 22:08:45 +00:00

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 = [];
}