]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Allow Hand-Prying Most Unpowered Airlocks (#21002)
authorike709 <ike709@users.noreply.github.com>
Sun, 15 Oct 2023 22:17:44 +0000 (15:17 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Oct 2023 22:17:44 +0000 (18:17 -0400)
Co-authored-by: ike709 <ike709@github.com>
Content.Shared/Prying/Systems/PryingSystem.cs
Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml

index 3bb3a9bc9b087f847313d5606c6ceafbbd902bef..40b77efe2287a0fc8ee595090406865a6b012d68 100644 (file)
@@ -92,7 +92,7 @@ public sealed class PryingSystem : EntitySystem
             // to be marked as handled as a popup would be generated on failure.
             return true;
 
-        return StartPry(target, user, null, 1.0f, out id);
+        return StartPry(target, user, null, 0.1f, out id); // hand-prying is much slower
     }
 
     private bool CanPry(EntityUid target, EntityUid user, PryingComponent? comp = null)
index 35f2e4d05fb832d2d216edc2d6fd97e7c96d7a93..a6ca726967f48e059432e0a50dabcaa72b523681 100644 (file)
     tags:
       - Airlock
       # This tag is used to nagivate the Airlock construction graph. It's needed because the construction graph is shared between Airlock, AirlockGlass, and HighSecDoor
+  - type: PryUnpowered
   placement:
     mode: SnapgridCenter