From 5946a3d1bb3cf2f2f2109edf41681b8def60f485 Mon Sep 17 00:00:00 2001 From: Doster <63081538+Doster-d@users.noreply.github.com> Date: Mon, 18 Dec 2023 00:00:27 +0300 Subject: [PATCH] fix(zombie): zombie sprite apply fix --- code/modules/mob/organs/external/_external_icons.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/organs/external/_external_icons.dm b/code/modules/mob/organs/external/_external_icons.dm index 6ecc01c30b1..51fc08c97e5 100644 --- a/code/modules/mob/organs/external/_external_icons.dm +++ b/code/modules/mob/organs/external/_external_icons.dm @@ -89,6 +89,8 @@ var/list/limb_icon_cache = list() . += "[species.get_race_key(owner)]" . += "[bb]" . += is_stump() ? "_s" : "" + if(owner.mind.special_role == "Zombie") + . += "_z" if(force_icon) . += "[force_icon]" @@ -129,6 +131,7 @@ var/list/limb_icon_cache = list() var/hulk_color_mod = rgb(48,224,40) var/husk = owner && (MUTATION_HUSK in owner.mutations) var/hulk = owner && (MUTATION_HULK in owner.mutations) + var/zombie = owner?.mind?.special_role == "Zombie" ///// var/gender = "_m" @@ -148,7 +151,7 @@ var/list/limb_icon_cache = list() var/chosen_icon = "" var/chosen_icon_state = "" - chosen_icon_state = "[icon_name][gender][body_build]" + chosen_icon_state = "[icon_name][gender][body_build][zombie ? "_z" : ""]" ///// if(force_icon)