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 Vanessa
parent 1a06e97f31
commit 04344ff872
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

@ -361,6 +361,7 @@
- id: SecurityTechFabCircuitboard - id: SecurityTechFabCircuitboard
- id: CargoRequestSecurityComputerCircuitboard - id: CargoRequestSecurityComputerCircuitboard
- id: WeaponDisabler - id: WeaponDisabler
- id: WeaponTaser
#- id: WantedListCartridge # DeltaV - replaced by secwatch #- id: WantedListCartridge # DeltaV - replaced by secwatch
- 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
@ -84,6 +85,7 @@
- id: FlashlightSeclite - id: FlashlightSeclite
prob: 0.8 prob: 0.8
- id: WeaponDisabler - id: WeaponDisabler
- id: WeaponTaser
#- id: ClothingUniformJumpsuitSecGrey # DeltaV - remove uniforms from sec lockers #- id: ClothingUniformJumpsuitSecGrey # DeltaV - remove uniforms from sec lockers
# prob: 0.3 # prob: 0.3
- id: ClothingHeadHelmetBasic - id: ClothingHeadHelmetBasic
@ -122,6 +124,7 @@
id: FillLockerBrigmedic id: FillLockerBrigmedic
table: !type:AllSelector table: !type:AllSelector
children: children:
- id: WeaponTaser
- id: ClothingEyesGlassesCorpsman - id: ClothingEyesGlassesCorpsman
- id: WeaponDisabler - id: WeaponDisabler
- id: TrackingImplanter - id: TrackingImplanter

View File

@ -663,6 +663,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

@ -238,7 +238,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
@ -266,6 +267,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