mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
14 lines
422 B
Plaintext
14 lines
422 B
Plaintext
|
|
|
|
//Smoke bomb
|
|
/obj/item/clothing/suit/space/space_ninja/proc/ninjasmoke()
|
|
if(!ninjacost(0, N_SMOKE_BOMB))
|
|
var/mob/living/carbon/human/H = affecting
|
|
var/datum/effect_system/fluid_spread/smoke/bad/smoke = new
|
|
smoke.set_up(4, location = H.loc)
|
|
smoke.start()
|
|
playsound(H.loc, 'sound/effects/bamf.ogg', 50, 2)
|
|
s_bombs--
|
|
to_chat(H, span_notice("There are <B>[s_bombs]</B> smoke bombs remaining."))
|
|
s_coold = 2
|