Skip to content

Commit

Permalink
fix(zombie): zombie sprite apply fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Doster-d committed Dec 17, 2023
1 parent c41c5ca commit 5946a3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/mob/organs/external/_external_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit 5946a3d

Please sign in to comment.