Files
S.P.L.U.R.T-Station-13/code/modules/projectiles/projectile/plasma.dm
Poojawa 796e22beac LOCAL SUNE PORTS... OH GOD WHAT HAPPENED
That feel when you're in the 'Oh, well while I'm here...' mindset.
2018-03-18 09:02:13 -05:00

35 lines
841 B
Plaintext

obj/item/projectile/energy/plasmabolt
icon = 'modular_citadel/icons/obj/VGProjectile.dmi'
name = "plasma bolt"
icon_state = "plasma"
flag = "energy"
damage_type = BURN
hitsound = 'sound/weapons/sear.ogg'
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
light_range = 3
light_color = LIGHT_COLOR_GREEN
/obj/item/projectile/energy/plasmabolt/on_hit(atom/target, blocked = FALSE)
. = ..()
if(isturf(target) || istype(target, /obj/structure/))
target.ex_act(EXPLODE_LIGHT)
/obj/item/projectile/energy/plasmabolt/light
damage = 30
icon_state = "plasma2"
irradiate = 10
stamina = 20
/obj/item/projectile/energy/plasmabolt/rifle
damage = 50
icon_state = "plasma3"
irradiate = 35
stamina = 120
/obj/item/projectile/energy/plasmabolt/MP40k
damage = 35
eyeblur = 4
irradiate = 25
stamina = 100
icon_state = "plasma3"