Merge pull request #1428 from ArchieBeepBoop/moltov

Polychromatic Half Cloak and Polychromatic Flannel
This commit is contained in:
Dahlular
2021-10-20 19:02:13 -06:00
committed by GitHub
5 changed files with 18 additions and 1 deletions
@@ -13,6 +13,21 @@
secondary_color = "#FFFFFF"
tertiary_color = "#808080"
/obj/item/clothing/neck/cloak/polychromic/half //enables all three overlays to reduce copypasta and defines basic stuff
name = "polychromic half-cloak"
desc = "For when you want to show off half of your horrible colour coordination skills."
icon = 'modular_citadel/icons/polyclothes/item/neck.dmi'
alternate_worn_icon = 'modular_citadel/icons/polyclothes/mob/neck.dmi'
icon_state = "polyhc"
item_color = "polyhc"
item_state = "qmcloak"
hasprimary = TRUE
hassecondary = TRUE
hastertiary = TRUE
primary_color = "#FFFFFF" //RGB in hexcode
secondary_color = "#FFFFFF"
tertiary_color = "#808080"
/obj/item/clothing/neck/cloak/polychromic/worn_overlays(isinhands, icon_file) //this is where the main magic happens. Also mandates that ALL polychromic stuff MUST USE alternate_worn_icon
. = ..()
if(hasprimary | hassecondary | hastertiary)
@@ -37,4 +52,4 @@
item_color = "polyce"
primary_color = "#808080" //RGB in hexcode
secondary_color = "#8CC6FF"
tertiary_color = "#FF3535"
tertiary_color = "#FF3535"