Merge pull request #9240 from Firecage/SimpleAnimalClownsHumanCorpses

Makes Simple Animal Clowns drop Human Clown corpses.
This commit is contained in:
Cheridan
2015-05-15 12:09:09 -05:00
@@ -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)
adjustBruteLoss(15)
/mob/living/simple_animal/hostile/retaliate/clown/death(gibbed)
..(gibbed)
if(corpse)
new corpse (src.loc)
qdel(src)
return