From ecc140126192c5e3c6bbb1ac5ad507593f646d7b Mon Sep 17 00:00:00 2001 From: Firecage Date: Wed, 29 Apr 2015 23:30:51 +0200 Subject: [PATCH] Makes Simple Animal Clowns drop Human Clown corpses. --- .../living/simple_animal/hostile/retaliate/clown.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm index b086e555ad0..25bf43dd0d5 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm @@ -24,6 +24,8 @@ attack_sound = 'sound/items/bikehorn.ogg' environment_smash = 0 + var/corpse = /obj/effect/landmark/mobcorpse/clown + atmos_requirements = list("min_oxy" = 5, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 1, "min_co2" = 0, "max_co2" = 5, "min_n2" = 0, "max_n2" = 0) minbodytemp = 270 maxbodytemp = 370 @@ -33,4 +35,11 @@ if(bodytemperature < minbodytemp) adjustBruteLoss(10) else if(bodytemperature > maxbodytemp) - adjustBruteLoss(15) \ No newline at end of file + adjustBruteLoss(15) + +/mob/living/simple_animal/hostile/retaliate/clown/death(gibbed) + ..(gibbed) + if(corpse) + new corpse (src.loc) + qdel(src) + return \ No newline at end of file