mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
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 <emmanuelssr@gmail.com> * Update dehy_carp.dm
This commit is contained in:
committed by
moo
co-authored by
MrDoomBringer
parent
ce313afe13
commit
00e7152e77
@@ -47,3 +47,28 @@
|
||||
else
|
||||
visible_message("<span class='notice'>The newly grown [M.name] looks up at you with friendly eyes.</span>")
|
||||
qdel(src)
|
||||
|
||||
/obj/item/toy/plush/carpplushie/dehy_carp/suicide_act(mob/user)
|
||||
var/mob/living/carbon/human/H = user
|
||||
user.visible_message("<span class='suicide'>[user] starts eating [src]. It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user