{
if (_power.IsPowered(uid))
args.PryTimeModifier *= component.PoweredPryModifier;
+
+ if (_bolts.IsBolted(uid))
+ args.PryTimeModifier *= component.BoltedPryModifier;
}
private void OnBeforePry(EntityUid uid, AirlockComponent component, ref BeforePryEvent args)
[DataField]
public float DenyAnimationTime = 0.3f;
+ /// <summary>
+ /// Pry modifier for a bolted airlock.
+ /// Currently only zombies can pry bolted airlocks.
+ /// </summary>
+ [DataField]
+ public float BoltedPryModifier = 3f;
+
#endregion Graphics
}