From b4c27d553369b5c5a04f1e75dbdaec1a2fe5103a Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 13 Sep 2017 22:53:55 -0500 Subject: [PATCH] [MIRROR] Chainsaws now have a suicide! (#2734) * Chainsaws now have a suicide! (#30559) * i have the power !! thanks, cobby! * help my code is growing out of control i'm not even touching the keyboard anymore * do you like.... my car * nobody saw that, compile BEFORE you commit kids * LITERALLY THE BEST COMMIT OF ALL TIME THANKS AGAIN COBBY FOR FIXING IT UP * FINISHING PR ICING ON CAKE * LET THERE BE SOUND! * mokay then * really should have gotten around to this yep * Chainsaws now have a suicide! --- code/game/objects/items/twohanded.dm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/code/game/objects/items/twohanded.dm b/code/game/objects/items/twohanded.dm index 6c19b49073..6668937003 100644 --- a/code/game/objects/items/twohanded.dm +++ b/code/game/objects/items/twohanded.dm @@ -500,6 +500,18 @@ actions_types = list(/datum/action/item_action/startchainsaw) var/on = FALSE +/obj/item/twohanded/required/chainsaw/suicide_act(mob/living/carbon/user) + if(on) + user.visible_message("[user] begins to tear [user.p_their()] head off with [src]! It looks like [user.p_theyre()] trying to commit suicide!") + playsound(src, 'sound/weapons/chainsawhit.ogg', 100, 1) + var/obj/item/bodypart/head/myhead = user.get_bodypart("head") + if(myhead) + myhead.dismember() + else + user.visible_message("[user] smashes [src] into [user.p_their()] neck, destroying [user.p_their()] esophagus! It looks like [user.p_theyre()] trying to commit suicide!") + playsound(src, 'sound/weapons/genhit1.ogg', 100, 1) + return(BRUTELOSS) + /obj/item/twohanded/required/chainsaw/attack_self(mob/user) on = !on to_chat(user, "As you pull the starting cord dangling from [src], [on ? "it begins to whirr." : "the chain stops moving."]")