From 41e508e1544cfac90114c9557fcd9f98d10d4272 Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Fri, 27 May 2016 00:36:10 -0400 Subject: [PATCH] Adds suicide_act for light tubes/bulbs --- code/modules/power/lighting.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index 0df18d27150..78ac0d7093a 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -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("[user] touches \the [src], burning their hands off!", "You touch \the [src], burning your hands off!") + + 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 \ No newline at end of file