mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user