From f6ae0c05ed36cf6a775f12cc72e7a622f97a965c Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Mon, 9 Dec 2013 15:11:30 -0500 Subject: [PATCH] Corpse decay final --- code/modules/mob/living/carbon/human/life.dm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 0fe8950513c..22c85d1c797 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1575,16 +1575,11 @@ decaylevel = 3 if(decaytime > 27000) decaylevel = 4 - if (!mutations & SKELETON) - mutations.Add(SKELETON) - h_style = "Bald" - f_style = "Shaved" - update_body() - update_hair() - return + makeSkeleton() + for(var/mob/living/carbon/human/H in range(decaylevel, src)) - if(!src && prob(5)) + if(prob(5)) if(airborne_can_reach(get_turf(src), get_turf(H))) H << "You smell something foul..." H.vomit()