From e4cf2f2cf8b59e8292dcc5a1c2a60c88de771c80 Mon Sep 17 00:00:00 2001 From: Casper3667 Date: Tue, 7 Sep 2021 12:12:16 +0200 Subject: [PATCH] Fixes various softcaps (#12447) --- code/modules/clothing/head/soft_caps.dm | 4 ++++ html/changelogs/SoftcapFix.yml | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 html/changelogs/SoftcapFix.yml diff --git a/code/modules/clothing/head/soft_caps.dm b/code/modules/clothing/head/soft_caps.dm index 733ff98b4dc..5cd3e1a71c3 100644 --- a/code/modules/clothing/head/soft_caps.dm +++ b/code/modules/clothing/head/soft_caps.dm @@ -3,6 +3,7 @@ desc = "It's a softcap in a tasteless color." icon = 'icons/obj/clothing/hats/soft_caps.dmi' icon_state = "softcap" + item_state = "softcap" item_flags = SHOWFLAVORTEXT contained_sprite = TRUE var/flipped = FALSE @@ -30,6 +31,7 @@ /obj/item/clothing/head/softcap/colorable icon_state = "softcap_colorable" + item_state = "softcap_colorable" /obj/item/clothing/head/softcap/colorable/random/Initialize() . = ..() @@ -39,6 +41,7 @@ name = "rainbow cap" desc = "It's a peaked cap in a bright rainbow of colors." icon_state = "rainbowsoft" + item_state = "rainbowsoft" /obj/item/clothing/head/softcap/red // Antag red. name = "red softcap" @@ -132,6 +135,7 @@ name = "eridani cap" desc = "A grey EPMC fatigue cap with the symbol of the Eridani Corporate Federation on its front. For amoral mercenaries that prefer style over protection." icon_state = "eridani" + item_state = "eridani" /obj/item/clothing/head/softcap/zavod name = "zavodskoi cap" diff --git a/html/changelogs/SoftcapFix.yml b/html/changelogs/SoftcapFix.yml new file mode 100644 index 00000000000..8123a623a81 --- /dev/null +++ b/html/changelogs/SoftcapFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Fixes the eridani, rainbow, normal & colorable softcaps in the loadout."