From ac3c812f28ce3a35cb280317d3ef8f7da06bc196 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Mon, 28 Jul 2014 20:51:04 -0400 Subject: [PATCH] Fixes chest not being coloured by necrosis Conflicts: code/modules/mob/living/carbon/human/update_icons.dm --- code/modules/mob/living/carbon/human/update_icons.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 6af314766ed..cbfdfe251cc 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -268,7 +268,7 @@ proc/get_damage_icon_part(damage_state, body_part) icon_key = "[icon_key]0" else if(part.status & ORGAN_ROBOT) icon_key = "[icon_key]2" - else if(part.status & ORGAN_DEAD) //Do we even have necrosis in our current code? ~Z + else if(part.status & ORGAN_DEAD) icon_key = "[icon_key]3" else icon_key = "[icon_key]1" @@ -292,6 +292,10 @@ proc/get_damage_icon_part(damage_state, body_part) var/datum/organ/external/chest = get_organ("chest") base_icon = chest.get_icon(g,fat) + if(chest.status & ORGAN_DEAD) + base_icon.ColorTone(necrosis_color_mod) + base_icon.SetIntensity(0.7) + for(var/datum/organ/external/part in organs) var/icon/temp //Hold the bodypart icon for processing.