Adds suicide_act for light tubes/bulbs

This commit is contained in:
Tastyfish
2016-05-27 00:36:10 -04:00
parent a8cbe5e5bb
commit 41e508e154
+9
View File
@@ -707,3 +707,12 @@
sharp = 1
playsound(src.loc, 'sound/effects/Glasshit.ogg', 75, 1)
update()
/obj/item/weapon/light/suicide_act(mob/living/carbon/human/user)
user.visible_message("<span class=suicide>[user] touches \the [src], burning their hands off!</span>", "<span class=suicide>You touch \the [src], burning your hands off!</span>")
for(var/oname in list("l_hand", "r_hand"))
var/obj/item/organ/external/limb = user.get_organ(oname)
if(limb)
limb.droplimb(0, DROPLIMB_BURN)
return FIRELOSS