[GBP: No update] Golem hands fix, probably (#19490)

* Golem hands fix, probably

* I think this is how that works, maybe
This commit is contained in:
ElorgRHG
2022-10-28 20:24:20 +02:00
committed by GitHub
parent de9f949994
commit 4b0a2fc085
@@ -427,6 +427,26 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
apply_overlay(HANDS_LAYER)
/mob/living/carbon/human/golem/update_hands_layer()
remove_overlay(HANDS_LAYER)
var/mutable_appearance/hands_appearance = new()
hands_appearance.layer = -HANDS_LAYER
var/obj/item/organ/external/hand/l_hand = get_limb_by_name("l_hand")
var/obj/item/organ/external/hand/right/r_hand = get_limb_by_name("r_hand")
var/datum/species/golem/G = dna.species
var/icon/golem_icon = G.icobase
if(G.golem_colour)
if(l_hand)
hands_appearance.overlays += icon(golem_icon.ColorTone(G.golem_colour), "l_hand")
if(r_hand)
hands_appearance.overlays += icon(golem_icon.ColorTone(G.golem_colour), "r_hand")
overlays_standing[HANDS_LAYER] = hands_appearance
apply_overlay(HANDS_LAYER)
//FACIAL HAIR OVERLAY
/mob/living/carbon/human/proc/update_fhair()
//Reset our facial hair