]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make door bolting powergaming no longer relevant anymore (#41138)
authorArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Tue, 9 Dec 2025 12:50:50 +0000 (04:50 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Dec 2025 12:50:50 +0000 (12:50 +0000)
* make door bolting powergaming no longer relevant anymore
port and remove moff guard comments

* update desc

* One line bugefix

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Shared/Doors/Systems/SharedDoorSystem.cs
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Entities/Objects/Tools/jaws_of_life.yml

index c031dcc7bd832a7ce13ca8f8db547988239f8bb8..310ea70bdc8b1065bd206670bede720aa7bc02b5 100644 (file)
@@ -123,7 +123,7 @@ public abstract partial class SharedDoorSystem : EntitySystem
         if (!TryComp<AirlockComponent>(uid, out var airlock))
             return;
 
-        if (IsBolted(uid) || !airlock.Powered)
+        if (!airlock.Powered)
             return;
 
         if (door.State != DoorState.Closed)
@@ -368,7 +368,7 @@ public abstract partial class SharedDoorSystem : EntitySystem
             Audio.PlayPvs(door.OpenSound, uid, AudioParams.Default.WithVolume(-5));
 
         if (lastState == DoorState.Emagging && TryComp<DoorBoltComponent>(uid, out var doorBoltComponent))
-            SetBoltsDown((uid, doorBoltComponent), !doorBoltComponent.BoltsDown, user, true);
+            SetBoltsDown((uid, doorBoltComponent), true, user, true);
     }
 
     /// <summary>
index 9034c82fb8655c16c7a5ff6ac418300de0d17cd4..bb0015688541baf5442e523c7688aa1741f34d28 100644 (file)
@@ -284,7 +284,7 @@ uplink-toolbox-name = Toolbox
 uplink-toolbox-desc = A full compliment of tools for the mechanically inclined traitor. Includes a pair of insulated combat gloves and a syndicate gas mask as well.
 
 uplink-syndicate-jaws-of-life-name = Jaws Of Life
-uplink-syndicate-jaws-of-life-desc = A combined prying and cutting tool. Useful for entering the station or its departments.
+uplink-syndicate-jaws-of-life-desc = A combined prying and cutting tool. Useful for entering the station or its departments. Can even open bolted doors!
 
 uplink-duffel-surgery-name = Surgical Duffel Bag
 uplink-duffel-surgery-desc = A large duffel bag containing a full suite of surgical tools.
index 8c925b77ad946dfc9f7b417edaa020ef8799cd02..67ec0de1973ab0bd4bcc285029b2f9e7212f0d94 100644 (file)
@@ -67,6 +67,7 @@
       - state: syn_inhand-right
     size: Normal
   - type: Prying
+    force: true
     speedModifier: 3.0
   - type: MultipleTool
     entries: