using Content.Shared.Lock.BypassLock.Systems;
using Content.Shared.Tools;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Lock.BypassLock.Components;
///
/// This component lets the lock on this entity be pried open when the entity is in critical or dead state.
///
[RegisterComponent, NetworkedComponent, Access(typeof(BypassLockSystem))]
public sealed partial class BypassLockComponent : Component
{
///
/// The tool quality needed to bypass the lock.
///
[DataField]
public ProtoId BypassingTool = "Prying";
///
/// Amount of time in seconds it takes to bypass
///
[DataField]
public TimeSpan BypassDelay = TimeSpan.FromSeconds(5f);
}