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)
{
_stunSystem.TryUpdateStunDuration(target, ent.Comp.StunAmount);
_movementMod.TryUpdateMovementSpeedModDuration(
target,
MovementModStatusSystem.TaserSlowdown,

View File

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

View 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
@@ -104,6 +106,7 @@
table: !type:AllSelector
children:
- id: ClothingEyesGlassesSecurity
- id: WeaponTaser
- id: WeaponDisabler
- id: TrackingImplanter
amount: 2

View File

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

View File

@@ -225,7 +225,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
@@ -253,6 +254,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