mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
inhand contained sprite coloration fix (#10414)
This commit is contained in:
@@ -1152,7 +1152,12 @@ There are several things that need to be remembered:
|
||||
r_hand.auto_adapt_species(src)
|
||||
t_state = "[UNDERSCORE_OR_NULL(r_hand.icon_species_tag)][r_hand.item_state][WORN_RHAND]"
|
||||
|
||||
overlays_raw[R_HAND_LAYER] = image(r_hand.icon_override || r_hand.icon, t_state)
|
||||
result_layer = image(r_hand.icon_override || r_hand.icon, t_state)
|
||||
|
||||
if(r_hand.color)
|
||||
result_layer.color = r_hand.color
|
||||
|
||||
overlays_raw[R_HAND_LAYER] = result_layer
|
||||
else
|
||||
if(r_hand.item_state_slots && r_hand.item_state_slots[slot_r_hand_str])
|
||||
t_state = r_hand.item_state_slots[slot_r_hand_str]
|
||||
@@ -1197,7 +1202,12 @@ There are several things that need to be remembered:
|
||||
l_hand.auto_adapt_species(src)
|
||||
t_state = "[UNDERSCORE_OR_NULL(l_hand.icon_species_tag)][l_hand.item_state][WORN_LHAND]"
|
||||
|
||||
overlays_raw[L_HAND_LAYER] = image(l_hand.icon_override || l_hand.icon, t_state)
|
||||
result_layer = image(l_hand.icon_override || l_hand.icon, t_state)
|
||||
|
||||
if(l_hand.color)
|
||||
result_layer.color = l_hand.color
|
||||
|
||||
overlays_raw[L_HAND_LAYER] = result_layer
|
||||
else
|
||||
if(l_hand.item_state_slots && l_hand.item_state_slots[slot_l_hand_str])
|
||||
t_state = l_hand.item_state_slots[slot_l_hand_str]
|
||||
|
||||
Reference in New Issue
Block a user