From 00e7152e770342a737b9fb1eaf9ee23b5ef0faee Mon Sep 17 00:00:00 2001 From: nemvar <47324920+nemvar@users.noreply.github.com> Date: Sun, 9 Jun 2019 23:48:30 +0200 Subject: [PATCH] Carpburster (#44273) * Carpburster * Update dehy_carp.dm * Update code/game/objects/items/dehy_carp.dm Why not. Doesn't make a difference. Co-Authored-By: MrDoomBringer * Update dehy_carp.dm --- code/game/objects/items/dehy_carp.dm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/code/game/objects/items/dehy_carp.dm b/code/game/objects/items/dehy_carp.dm index 55d1a2c78a2..f6e7a72c8bd 100644 --- a/code/game/objects/items/dehy_carp.dm +++ b/code/game/objects/items/dehy_carp.dm @@ -47,3 +47,28 @@ else visible_message("The newly grown [M.name] looks up at you with friendly eyes.") qdel(src) + +/obj/item/toy/plush/carpplushie/dehy_carp/suicide_act(mob/user) + var/mob/living/carbon/human/H = user + user.visible_message("[user] starts eating [src]. It looks like [user.p_theyre()] trying to commit suicide!") + playsound(src, 'sound/items/eatfood.ogg', 50, TRUE) + if(istype(H)) + H.Paralyze(30) + forceMove(H) //we move it AWAAAYY + sleep(20) + + if(QDELETED(src)) + return SHAME + if(!QDELETED(H)) + H.spawn_gibs() + H.apply_damage(200, def_zone = BODY_ZONE_CHEST) + forceMove(get_turf(H)) //we move it back + icon = 'icons/mob/animal.dmi' + flick("carp_swell", src) + sleep(6) //let the animation play out + + if(!QDELETED(src)) + var/mob/living/M = new mobtype(get_turf(src)) + M.faction = list("neutral") + qdel(src) + return BRUTELOSS