Straitjacket Functionality. (#18052)

This commit is contained in:
brainfood1183
2023-07-22 23:14:25 +01:00
committed by GitHub
parent 32def47862
commit ebab4cae8c
10 changed files with 67 additions and 59 deletions

View File

@@ -1,3 +1,4 @@
using Content.Shared.Damage;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
@@ -47,6 +48,15 @@ public sealed class HandcuffComponent : Component
[DataField("brokenPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>)), ViewVariables(VVAccess.ReadWrite)]
public string? BrokenPrototype;
[DataField("damageOnResist"), ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier DamageOnResist = new()
{
DamageDict = new()
{
{ "Blunt", 3.0 },
}
};
/// <summary>
/// The path of the RSI file used for the player cuffed overlay.
/// </summary>