From 2a261d3bc0f542156f2517453c68199673f9ae19 Mon Sep 17 00:00:00 2001 From: Vasilis The Pikachu Date: Sun, 12 Oct 2025 21:33:18 +0200 Subject: [PATCH] Reapply "Readds Tasers to Security (#39087)" This reverts commit 90b438635d8f9ba2abdb2c78bedeaf4236db5057. --- Content.Server/Stunnable/Systems/StunOnCollideSystem.cs | 1 + Resources/Changelog/Changelog.yml | 8 ++++++++ Resources/Prototypes/Catalog/Fills/Lockers/heads.yml | 1 + Resources/Prototypes/Catalog/Fills/Lockers/security.yml | 3 +++ .../Objects/Weapons/Guns/Battery/battery_guns.yml | 1 + .../Objects/Weapons/Guns/Projectiles/projectiles.yml | 4 +++- 6 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Content.Server/Stunnable/Systems/StunOnCollideSystem.cs b/Content.Server/Stunnable/Systems/StunOnCollideSystem.cs index c1757b1c2d..09e42966c7 100644 --- a/Content.Server/Stunnable/Systems/StunOnCollideSystem.cs +++ b/Content.Server/Stunnable/Systems/StunOnCollideSystem.cs @@ -27,6 +27,7 @@ internal sealed class StunOnCollideSystem : EntitySystem if (ent.Comp.Refresh) { _stunSystem.TryUpdateStunDuration(target, ent.Comp.StunAmount); + _movementMod.TryUpdateMovementSpeedModDuration( target, MovementModStatusSystem.TaserSlowdown, diff --git a/Resources/Changelog/Changelog.yml b/Resources/Changelog/Changelog.yml index deabf58db0..b60c29e299 100644 --- a/Resources/Changelog/Changelog.yml +++ b/Resources/Changelog/Changelog.yml @@ -3572,6 +3572,14 @@ 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. diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index 2db34c0459..2b4c5c9b36 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -324,6 +324,7 @@ - id: RubberStampHos - id: BoxHoSCircuitboards - id: WeaponDisabler + - id: WeaponTaser - id: WantedListCartridge - id: DrinkHosFlask diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml index 1111058871..48bed23bc9 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml @@ -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 @@ -105,6 +107,7 @@ table: !type:AllSelector children: - id: ClothingEyesGlassesSecurity + - id: WeaponTaser - id: WeaponDisabler - id: TrackingImplanter amount: 2 diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml index bd532ce709..2f2ebfa5fd 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml @@ -611,6 +611,7 @@ slots: - Belt - type: Gun + fireRate: 0.5 soundGunshot: path: /Audio/Weapons/Guns/Gunshots/taser.ogg - type: ProjectileBatteryAmmoProvider diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml index 74f546c61d..bc9f40f85a 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml @@ -227,7 +227,8 @@ 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 @@ -255,6 +256,7 @@ 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 -- 2.51.2