Files
Delta-v/Content.Shared/Lock/BypassLock/Components/BypassLockComponent.cs
T
Sir WarockandScarKy0 969997a693 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-04-04 16:57:53 +02:00

26 lines
810 B
C#

using Content.Shared.Lock.BypassLock.Systems;
using Content.Shared.Tools;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
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 BypassLockComponent : Component
{
/// <summary>
/// The tool quality needed to bypass the lock.
/// </summary>
[DataField]
public ProtoId<ToolQualityPrototype> BypassingTool = "Prying";
/// <summary>
/// Amount of time in seconds it takes to bypass
/// </summary>
[DataField]
public TimeSpan BypassDelay = TimeSpan.FromSeconds(5f);
}