Files
Bubberstation/code/modules/projectiles/ammunition/energy/stun.dm
SmArtKar 04a47be609 Fixes prototype egun's electrodes instantly detaching (#89869)
## About The Pull Request

Closes #89828
Gave it a bit of a leeway allowing it to stun the target for a bit, but
not enough to fire another one (and you'll be able to fire at most 2
laser with click delays and passive drain from the taser)

## Changelog
🆑
fix: Fixed prototype egun's electrodes instantly detaching
/🆑
2025-03-07 21:51:50 -05:00

45 lines
1.6 KiB
Plaintext

/obj/item/ammo_casing/energy/electrode
projectile_type = /obj/projectile/energy/electrode
select_name = "stun"
fire_sound = 'sound/items/weapons/taser.ogg'
e_cost = LASER_SHOTS(5, STANDARD_CELL_CHARGE)
harmful = FALSE
firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect
/obj/item/ammo_casing/energy/electrode/spec
e_cost = LASER_SHOTS(10, STANDARD_CELL_CHARGE)
/obj/item/ammo_casing/energy/electrode/gun
fire_sound = 'sound/items/weapons/gun/pistol/shot.ogg'
e_cost = LASER_SHOTS(10, STANDARD_CELL_CHARGE)
/obj/item/ammo_casing/energy/electrode/old
e_cost = LASER_SHOTS(1.5, STANDARD_CELL_CHARGE)
/obj/item/ammo_casing/energy/electrode/ai_turrets
projectile_type = /obj/projectile/energy/electrode/ai_turrets
/obj/item/ammo_casing/energy/disabler
projectile_type = /obj/projectile/beam/disabler
select_name = "disable"
e_cost = LASER_SHOTS(20, STANDARD_CELL_CHARGE)
fire_sound = 'sound/items/weapons/taser2.ogg'
harmful = FALSE
firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect/blue
/obj/item/ammo_casing/energy/disabler/smg
projectile_type = /obj/projectile/beam/disabler/weak
e_cost = LASER_SHOTS(40, STANDARD_CELL_CHARGE)
fire_sound = 'sound/items/weapons/taser3.ogg'
/obj/item/ammo_casing/energy/disabler/hos
e_cost = LASER_SHOTS(20, STANDARD_CELL_CHARGE * 1.2)
/obj/item/ammo_casing/energy/disabler/smoothbore
projectile_type = /obj/projectile/beam/disabler/smoothbore
e_cost = LASER_SHOTS(1, STANDARD_CELL_CHARGE)
/obj/item/ammo_casing/energy/disabler/smoothbore/prime
projectile_type = /obj/projectile/beam/disabler/smoothbore/prime
e_cost = LASER_SHOTS(2, STANDARD_CELL_CHARGE)