Items with colourable accents (#16743)

* Items with colourable accents

Changes the way loadout items with additional colours worked to be part of all items, rather than changes to each of their update_icon procs.

Also added a few new clothing items with colourable accents.

* merge conflict fixes

Gah. .dmi files why.
This commit is contained in:
Sparky
2023-07-21 19:33:06 +00:00
committed by GitHub
parent dd937ca5fc
commit f3a4b5d22e
31 changed files with 111 additions and 200 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ var/list/mob_icon_icon_states = list()
var/image/additional_parts = build_additional_parts(H, mob_icon, slot)
if(additional_parts)
I.add_overlay(additional_parts)
if(has_accents)
I.add_overlay(overlay_image(icon,"[item_state][contained_sprite ? slot_str_to_contained_flag(slot) : ""]_acc",accent_color, RESET_COLOR))
return I
/obj/item/proc/get_image_key_mod()