From: ike709 Date: Sun, 15 Oct 2023 22:17:44 +0000 (-0700) Subject: Allow Hand-Prying Most Unpowered Airlocks (#21002) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d10e33cff0d8068e2f501b8b578dada0b5c32bc2;p=space-station-14.git Allow Hand-Prying Most Unpowered Airlocks (#21002) Co-authored-by: ike709 --- diff --git a/Content.Shared/Prying/Systems/PryingSystem.cs b/Content.Shared/Prying/Systems/PryingSystem.cs index 3bb3a9bc9b..40b77efe22 100644 --- a/Content.Shared/Prying/Systems/PryingSystem.cs +++ b/Content.Shared/Prying/Systems/PryingSystem.cs @@ -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) diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml index 35f2e4d05f..a6ca726967 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml @@ -136,6 +136,7 @@ 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