Readds Tasers to Security (#39087)

* 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
This commit is contained in:
keronshb
2025-09-27 17:21:03 -04:00
committed by GitHub
parent d8172862c5
commit 398c8df343
5 changed files with 9 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ internal sealed class StunOnCollideSystem : EntitySystem
if (ent.Comp.Refresh) if (ent.Comp.Refresh)
{ {
_stunSystem.TryUpdateStunDuration(target, ent.Comp.StunAmount); _stunSystem.TryUpdateStunDuration(target, ent.Comp.StunAmount);
_movementMod.TryUpdateMovementSpeedModDuration( _movementMod.TryUpdateMovementSpeedModDuration(
target, target,
MovementModStatusSystem.TaserSlowdown, MovementModStatusSystem.TaserSlowdown,

View File

@@ -342,6 +342,7 @@
- id: SecurityTechFabCircuitboard - id: SecurityTechFabCircuitboard
- id: CargoRequestSecurityComputerCircuitboard - id: CargoRequestSecurityComputerCircuitboard
- id: WeaponDisabler - id: WeaponDisabler
- id: WeaponTaser
- id: WantedListCartridge - id: WantedListCartridge
- id: DrinkHosFlask - id: DrinkHosFlask

View File

@@ -28,6 +28,7 @@
children: children:
- id: FlashlightSeclite - id: FlashlightSeclite
- id: WeaponDisabler - id: WeaponDisabler
- id: WeaponTaser
- id: ClothingBeltSecurityFilled - id: ClothingBeltSecurityFilled
- id: Flash - id: Flash
- id: ClothingEyesGlassesSecurity - id: ClothingEyesGlassesSecurity
@@ -71,6 +72,7 @@
- id: FlashlightSeclite - id: FlashlightSeclite
prob: 0.8 prob: 0.8
- id: WeaponDisabler - id: WeaponDisabler
- id: WeaponTaser
- id: ClothingUniformJumpsuitSecGrey - id: ClothingUniformJumpsuitSecGrey
prob: 0.3 prob: 0.3
- id: ClothingHeadHelmetBasic - id: ClothingHeadHelmetBasic
@@ -104,6 +106,7 @@
table: !type:AllSelector table: !type:AllSelector
children: children:
- id: ClothingEyesGlassesSecurity - id: ClothingEyesGlassesSecurity
- id: WeaponTaser
- id: WeaponDisabler - id: WeaponDisabler
- id: TrackingImplanter - id: TrackingImplanter
amount: 2 amount: 2

View File

@@ -611,6 +611,7 @@
slots: slots:
- Belt - Belt
- type: Gun - type: Gun
fireRate: 0.5
soundGunshot: soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser.ogg path: /Audio/Weapons/Guns/Gunshots/taser.ogg
- type: ProjectileBatteryAmmoProvider - type: ProjectileBatteryAmmoProvider

View File

@@ -225,7 +225,8 @@
lifetime: 0.170 # Very short range lifetime: 0.170 # Very short range
- type: StunOnCollide - type: StunOnCollide
stunAmount: 0 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 slowdownAmount: 2.5
walkSpeedModifier: 0.5 walkSpeedModifier: 0.5
sprintSpeedModifier: 0.5 sprintSpeedModifier: 0.5
@@ -253,6 +254,7 @@
lifetime: 1.0 # Not so short range lifetime: 1.0 # Not so short range
- type: StunOnCollide - type: StunOnCollide
stunAmount: 5 stunAmount: 5
drop: true # this is the evil taser
knockdownAmount: 10 knockdownAmount: 10
slowdownAmount: 10 slowdownAmount: 10
walkSpeedModifier: 0.5 walkSpeedModifier: 0.5