]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Readds Tasers to Security (#39087)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Sat, 27 Sep 2025 21:21:03 +0000 (17:21 -0400)
committerGitHub <noreply@github.com>
Sat, 27 Sep 2025 21:21:03 +0000 (21:21 +0000)
* Readds taser to security

* removes item drop from regular tasers, adds item drop to admeme tasers

* Fixes stun on collide options

* Fixes drop

* Lowers fire rate for taser

Content.Server/Stunnable/Systems/StunOnCollideSystem.cs
Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml

index c1757b1c2d3f8e6176d82074f3ba219be4ce82dd..09e42966c7b09cca884978d94876ec629c4186f9 100644 (file)
@@ -27,6 +27,7 @@ internal sealed class StunOnCollideSystem : EntitySystem
         if (ent.Comp.Refresh)
         {
             _stunSystem.TryUpdateStunDuration(target, ent.Comp.StunAmount);
+
             _movementMod.TryUpdateMovementSpeedModDuration(
                 target,
                 MovementModStatusSystem.TaserSlowdown,
index ae904f7f95a294a054ce3ba3fb169f7cc374a5c5..37dd68e63aa7dd9bab5d3200af06d3e1b07e663d 100644 (file)
     - id: SecurityTechFabCircuitboard
     - id: CargoRequestSecurityComputerCircuitboard
     - id: WeaponDisabler
+    - id: WeaponTaser
     - id: WantedListCartridge
     - id: DrinkHosFlask
 
index 056a5ce13577c04ff95b34e18b6096b13f973542..a6add7f4b7b03b1399b69d8404c83c2e8d9a1cad 100644 (file)
@@ -28,6 +28,7 @@
     children:
     - id: FlashlightSeclite
     - id: WeaponDisabler
+    - id: WeaponTaser
     - id: ClothingBeltSecurityFilled
     - id: Flash
     - id: ClothingEyesGlassesSecurity
@@ -71,6 +72,7 @@
     - id: FlashlightSeclite
       prob: 0.8
     - id: WeaponDisabler
+    - id: WeaponTaser
     - id: ClothingUniformJumpsuitSecGrey
       prob: 0.3
     - id: ClothingHeadHelmetBasic
   table: !type:AllSelector
     children:
     - id: ClothingEyesGlassesSecurity
+    - id: WeaponTaser
     - id: WeaponDisabler
     - id: TrackingImplanter
       amount: 2
index 821f63856e2d50b683d0c4aa247440ee1af93388..787f263176c83ae749e86a43fa61217e193d3159 100644 (file)
     slots:
     - Belt
   - type: Gun
+    fireRate: 0.5
     soundGunshot:
       path: /Audio/Weapons/Guns/Gunshots/taser.ogg
   - type: ProjectileBatteryAmmoProvider
index d847e9d8d80308e0832817624527da8a990e6f83..3521f57a8b81a02ee592a876b575e01ff5d52ccf 100644 (file)
     lifetime: 0.170 # Very short range
   - type: StunOnCollide
     stunAmount: 0
-    knockdownAmount: 2.5 # Enough to subdue and follow up with a stun batong
+    knockdownAmount: 2.5 # Enough to subdue and follow up with a stun baton
+    drop: false #Ranged KD and item drop are too strong in one package
     slowdownAmount: 2.5
     walkSpeedModifier: 0.5
     sprintSpeedModifier: 0.5
     lifetime: 1.0 # Not so short range
   - type: StunOnCollide
     stunAmount: 5
+    drop: true # this is the evil taser
     knockdownAmount: 10
     slowdownAmount: 10
     walkSpeedModifier: 0.5