Skip to content

Commit

Permalink
Bump cuff times (#9227)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Jun 27, 2022
1 parent b7f8a68 commit 1633d7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Cuffs/Components/CuffableComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ public async void TryUncuff(EntityUid user, EntityUid? cuffsToRemove = null)

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;
Expand Down
19 changes: 7 additions & 12 deletions Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1633d7f

Please sign in to comment.