Merge pull request #4506 from Tastyfish/lighticide

Adds a critically missing feature to light tubes & bulbs
This commit is contained in:
Fox McCloud
2016-05-28 08:11:33 -04:00
+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