]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add checks for various complex interactions (#37246)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Mon, 2 Jun 2025 17:06:45 +0000 (13:06 -0400)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 17:06:45 +0000 (10:06 -0700)
commitc2b1b81ec84c1424f24ea030ea9f08bc3ec8cc8d
tree5c5b9d03555b1c461d548b1b17689af3d3482638
parent9167683d10c7d028d1e53fc2bd4863dce9082135
Add checks for various complex interactions (#37246)

* Prevent toggling radiation collectors

* Prevent resisting locks

* Prevent unbuckling others, early exit before doafter

* Prevent camera and camera router setup

* Prevent rotating and flipping

* Also prevent adding the unbuckle verb.

* Revert ResistLocker changes

* Prevent emitter tampering

* Also prevent lock verb

* Prevent toggling welders

* Prevent gun open/close bolt, rack and switch mode

* Prevent toggling stun batons
13 files changed:
Content.Server/Rotatable/RotatableSystem.cs
Content.Server/Singularity/EntitySystems/EmitterSystem.cs
Content.Server/Singularity/EntitySystems/RadiationCollectorSystem.cs
Content.Server/Stunnable/Systems/StunbatonSystem.cs
Content.Server/SurveillanceCamera/Systems/SurveillanceCameraRouterSystem.cs
Content.Server/SurveillanceCamera/Systems/SurveillanceCameraSystem.cs
Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs
Content.Shared/Buckle/SharedBuckleSystem.Interaction.cs
Content.Shared/Lock/LockSystem.cs
Content.Shared/Stunnable/SharedStunbatonSystem.cs
Content.Shared/Tools/Systems/SharedToolSystem.Welder.cs
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.ChamberMagazine.cs
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Interactions.cs