From 1633d7fbb53a6cdcc049dd35a3b505a9a227a5f2 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Tue, 28 Jun 2022 02:28:04 +1000 Subject: [PATCH] Bump cuff times (#9227) --- .../Cuffs/Components/CuffableComponent.cs | 4 ++-- .../Entities/Objects/Misc/handcuffs.yml | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Content.Server/Cuffs/Components/CuffableComponent.cs b/Content.Server/Cuffs/Components/CuffableComponent.cs index 1b387c3b2f..8c7e9d47d6 100644 --- a/Content.Server/Cuffs/Components/CuffableComponent.cs +++ b/Content.Server/Cuffs/Components/CuffableComponent.cs @@ -216,11 +216,11 @@ namespace Content.Server.Cuffs.Components if (isOwner) { - SoundSystem.Play(cuff.StartBreakoutSound.GetSound(), Filter.Pvs(Owner), Owner); + SoundSystem.Play(cuff.StartBreakoutSound.GetSound(), Filter.Pvs(Owner, entityManager: _entMan), Owner); } else { - SoundSystem.Play(cuff.StartUncuffSound.GetSound(), Filter.Pvs(Owner), Owner); + SoundSystem.Play(cuff.StartUncuffSound.GetSound(), Filter.Pvs(Owner, entityManager: _entMan), Owner); } var uncuffTime = isOwner ? cuff.BreakoutTime : cuff.UncuffTime; diff --git a/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml b/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml index efa1a6d50b..6a22ecee50 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml @@ -7,10 +7,6 @@ - type: Item size: 3 - type: Handcuff - cuffTime: 3.0 - uncuffTime: 3.0 - stunBonus: 2.0 - breakoutTime: 20.0 cuffedRSI: Objects/Misc/handcuffs.rsi iconState: body-overlay - type: Sprite @@ -29,10 +25,9 @@ - type: Item size: 5 - type: Handcuff - cuffTime: 3.5 - uncuffTime: 3.5 - stunBonus: 2.0 - breakoutTime: 15.0 + cuffTime: 5 + uncuffTime: 5 + breakoutTime: 15 cuffedRSI: Objects/Misc/cablecuffs.rsi bodyIconState: body-overlay color: red @@ -67,11 +62,11 @@ - type: Item size: 2 - type: Handcuff - cuffTime: 3.5 - uncuffTime: 3.5 + cuffTime: 5.5 + uncuffTime: 5.5 stunBonus: 2.0 - breakoutTime: 17.5 #halfway between improvised cablecuffs and metal ones - cuffedRSI: Objects/Misc/cablecuffs.rsi #cablecuffs will look fine + breakoutTime: 20 # halfway between improvised cablecuffs and metal ones + cuffedRSI: Objects/Misc/cablecuffs.rsi # cablecuffs will look fine bodyIconState: body-overlay breakOnRemove: true brokenIconState: cuff-broken