forked from space-syndicate/space-station-14
Make door bolting powergaming no longer relevant anymore (#41138)
* 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>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
- state: syn_inhand-right
|
||||
size: Normal
|
||||
- type: Prying
|
||||
force: true
|
||||
speedModifier: 3.0
|
||||
- type: MultipleTool
|
||||
entries:
|
||||
|
||||
Reference in New Issue
Block a user