]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Reapply "Readds Tasers to Security (#39087)"
authorVasilis The Pikachu <vasilis@pikachu.systems>
Sun, 12 Oct 2025 19:33:18 +0000 (21:33 +0200)
committerVasilis The Pikachu <vasilis@pikachu.systems>
Sun, 12 Oct 2025 19:33:18 +0000 (21:33 +0200)
This reverts commit 90b438635d8f9ba2abdb2c78bedeaf4236db5057.

Content.Server/Stunnable/Systems/StunOnCollideSystem.cs
Resources/Changelog/Changelog.yml
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 deabf58db03f4d1ab59d1841fd83d5f51cc80d2f..b60c29e2990b8717782b9c2f4fd7fb568a650c29 100644 (file)
   id: 9012
   time: '2025-09-27T20:51:52.0000000+00:00'
   url: https://github.com/space-wizards/space-station-14/pull/40572
+- author: keronshb
+  changes:
+  - message: 'EXPERIMENTAL: Tasers, a short-ranged gun capable of causing targets
+      to become prone, are now added into Warden, HoS, and Security locker fills.'
+    type: Add
+  id: 9013
+  time: '2025-09-27T21:21:05.0000000+00:00'
+  url: https://github.com/space-wizards/space-station-14/pull/39087
 - author: SurrealShibe
   changes:
   - message: Vulpkanin now audibly gasp.
index 2db34c04599acbc6a46e299d2d9e9bc8fb6ac8dc..2b4c5c9b36eca17b1ac91bbd599332ba16a682a5 100644 (file)
     - id: RubberStampHos
     - id: BoxHoSCircuitboards
     - id: WeaponDisabler
+    - id: WeaponTaser
     - id: WantedListCartridge
     - id: DrinkHosFlask
 
index 11110588715e02533dd87aa8a21b413e92676b0c..48bed23bc9bb834d9d5c0c8e8a1683987d4e9dba 100644 (file)
@@ -28,6 +28,7 @@
     children:
     - id: FlashlightSeclite
     - id: WeaponDisabler
+    - id: WeaponTaser
     - id: ClothingBeltSecurityFilled
     - id: Flash
     - id: ClothingEyesGlassesSecurity
@@ -72,6 +73,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 bd532ce709ab898a3d0e699658c75c780a0ef9d5..2f2ebfa5fd31a3e364c706fa14a9e14cb49952b2 100644 (file)
     slots:
     - Belt
   - type: Gun
+    fireRate: 0.5
     soundGunshot:
       path: /Audio/Weapons/Guns/Gunshots/taser.ogg
   - type: ProjectileBatteryAmmoProvider
index 74f546c61df836220b806f66ae4713dc056efaac..bc9f40f85a7a0ee1374e5a7235c30840622455bc 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