diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 4bbb6ae23f..dfd0a0ef3b 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -996,7 +996,7 @@ item_state = "coatpoly" hoodtype = /obj/item/clothing/head/hooded/winterhood/polychromic -/obj/item/clothing/suit/hooded/wintercoat/ComponentInitialize() +/obj/item/clothing/suit/hooded/wintercoat/polychromic/ComponentInitialize() . = ..() AddElement(/datum/element/polychromic, list("#6A6964", "#C4B8A6", "#0000FF"), 3) diff --git a/code/modules/clothing/suits/toggles.dm b/code/modules/clothing/suits/toggles.dm index 4f29eab6ab..639f2d3bfb 100644 --- a/code/modules/clothing/suits/toggles.dm +++ b/code/modules/clothing/suits/toggles.dm @@ -37,7 +37,6 @@ ..() /obj/item/clothing/suit/hooded/proc/RemoveHood() - src.icon_state = "[initial(icon_state)]" suittoggled = FALSE if(ishuman(hood.loc)) var/mob/living/carbon/H = hood.loc @@ -45,9 +44,14 @@ H.update_inv_wear_suit() else hood.forceMove(src) - for(var/X in actions) - var/datum/action/A = X - A.UpdateButtonIcon() + update_icon() + +/obj/item/clothing/suit/hooded/update_icon_state() + icon_state = "[initial(icon_state)]" + if(ishuman(hood.loc)) + var/mob/living/carbon/human/H = hood.loc + if(H.head == hood) + icon_state += "_t" /obj/item/clothing/suit/hooded/dropped(mob/user) ..() @@ -65,11 +69,8 @@ return else if(H.equip_to_slot_if_possible(hood,SLOT_HEAD,0,0,1)) suittoggled = TRUE - src.icon_state = "[initial(icon_state)]_t" + update_icon() H.update_inv_wear_suit() - for(var/X in actions) - var/datum/action/A = X - A.UpdateButtonIcon() else RemoveHood() diff --git a/code/modules/clothing/under/jobs/cargo.dm b/code/modules/clothing/under/jobs/cargo.dm index 92afe238ef..aa4db2fd30 100644 --- a/code/modules/clothing/under/jobs/cargo.dm +++ b/code/modules/clothing/under/jobs/cargo.dm @@ -18,7 +18,7 @@ /obj/item/clothing/under/rank/cargo/tech name = "cargo technician's jumpsuit" desc = "Shooooorts! They're comfy and easy to wear!" - icon_state = "cargotech" + icon_state = "cargo" item_state = "lb_suit" body_parts_covered = CHEST|GROIN|ARMS alt_covers_chest = TRUE diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index b049b7e967..10a630e034 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -283,7 +283,7 @@ There are several things that need to be remembered: alt_icon = S.anthro_mob_worn_overlay || 'icons/mob/clothing/feet_digi.dmi' variation_flag |= STYLE_DIGITIGRADE - overlays_standing[SHOES_LAYER] = shoes.build_worn_icon(SHOES_LAYER, alt_icon, FALSE, NO_FEMALE_UNIFORM, variation_flag, FALSE) + overlays_standing[SHOES_LAYER] = shoes.build_worn_icon(SHOES_LAYER, alt_icon, FALSE, NO_FEMALE_UNIFORM, S.icon_state, variation_flag, FALSE) var/mutable_appearance/shoes_overlay = overlays_standing[SHOES_LAYER] if(OFFSET_SHOES in dna.species.offset_features) shoes_overlay.pixel_x += dna.species.offset_features[OFFSET_SHOES][1] diff --git a/icons/obj/clothing/uniforms.dmi b/icons/obj/clothing/uniforms.dmi index a987f2484c..45affef3be 100644 Binary files a/icons/obj/clothing/uniforms.dmi and b/icons/obj/clothing/uniforms.dmi differ