]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
handcuff replacements are faster to escape from (#25601)
authorWhisper <121047731+QuietlyWhisper@users.noreply.github.com>
Mon, 26 Feb 2024 23:05:16 +0000 (18:05 -0500)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2024 23:05:16 +0000 (16:05 -0700)
makeshift handcuffs are easier to escape from

Content.Shared/Cuffs/Components/HandcuffComponent.cs
Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml

index 91d5a412ebcbc953d448ec3504523ea2886a9b45..77a77cf2f84f95a6d38c936cf3ca303e9263ed6f 100644 (file)
@@ -25,7 +25,7 @@ public sealed partial class HandcuffComponent : Component
     ///     The time it takes for a cuffed entity to uncuff itself.
     /// </summary>
     [DataField, ViewVariables(VVAccess.ReadWrite)]
-    public float BreakoutTime = 30f;
+    public float BreakoutTime = 15f;
 
     /// <summary>
     ///     If an entity being cuffed is stunned, this amount of time is subtracted from the time it takes to add/remove their cuffs.
index ad0e724358104b58c495491de0fb2bd01704fe7b..c21ab7f3aa8d7eb4ab379b5f7a7b66e8eecc34eb 100644 (file)
@@ -35,7 +35,7 @@
   parent: Handcuffs
   components:
   - type: Handcuff
-    breakoutTime: 15
+    breakoutTime: 3
     cuffedRSI: Objects/Misc/cablecuffs.rsi
     bodyIconState: body-overlay
     color: forestgreen
@@ -77,7 +77,7 @@
     size: Tiny
     storedRotation: 0
   - type: Handcuff
-    breakoutTime: 20  # halfway between improvised cablecuffs and metal ones
+    breakoutTime: 3
     cuffedRSI: Objects/Misc/cablecuffs.rsi  # cablecuffs will look fine
     bodyIconState: body-overlay
     breakOnRemove: true