diff --git a/code/modules/client/preference_setup/loadout/items/suit.dm b/code/modules/client/preference_setup/loadout/items/suit.dm index 6d7d55ed60a..a8a4737f247 100644 --- a/code/modules/client/preference_setup/loadout/items/suit.dm +++ b/code/modules/client/preference_setup/loadout/items/suit.dm @@ -306,6 +306,19 @@ greatcoat["greatcoat, brown"] = /obj/item/clothing/suit/storage/toggle/greatcoat/brown gear_tweaks += new /datum/gear_tweak/path(greatcoat) +/datum/gear/suit/greatcoat_recolors + display_name = "colorable greatcoats selection" + description = "A greatcoat capable of being recolored." + path = /obj/item/clothing/suit/storage/toggle/greatcoat/recolor + flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ACCENT_COLOR_SELECTION + +/datum/gear/suit/greatcoat_recolors/New() + ..() + var/list/greatcoat = list() + greatcoat["greatcoat"] = /obj/item/clothing/suit/storage/toggle/greatcoat/recolor + greatcoat["greatcoat, alt"] = /obj/item/clothing/suit/storage/toggle/greatcoat/recolor/alt + gear_tweaks += new /datum/gear_tweak/path(greatcoat) + /datum/gear/suit/ian display_name = "worn shirt" description = "A worn out, curiously comfortable t-shirt with a picture of Ian." diff --git a/code/modules/clothing/suits/storage.dm b/code/modules/clothing/suits/storage.dm index 7cfb91f1cf8..25921fc7edd 100644 --- a/code/modules/clothing/suits/storage.dm +++ b/code/modules/clothing/suits/storage.dm @@ -124,6 +124,18 @@ icon_state = "greatcoat_bwn" item_state = "greatcoat_bwn" +/obj/item/clothing/suit/storage/toggle/greatcoat/recolor + name = "greatcoat" + desc = "A non-descript greatcoat. It looks warmer, if a bit heaver, than most other clothing." + icon_state = "greatcoat_recolor" + item_state = "greatcoat_recolor" + build_from_parts = TRUE + worn_overlay = "metal" + +/obj/item/clothing/suit/storage/toggle/greatcoat/recolor/alt + build_from_parts = FALSE + has_accents = TRUE + // Corporate Jackets /obj/item/clothing/suit/storage/toggle/corp diff --git a/html/changelogs/SimpleMaroon-colorablegreatcoat.yml b/html/changelogs/SimpleMaroon-colorablegreatcoat.yml new file mode 100644 index 00000000000..c3e7c95ab48 --- /dev/null +++ b/html/changelogs/SimpleMaroon-colorablegreatcoat.yml @@ -0,0 +1,58 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: SimpleMaroon + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Added two recolorable greatcoats to the loadout: One that has recolorable belt/buttons and one that doesn't." diff --git a/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi b/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi index e281ca28c74..e0256e881a5 100644 Binary files a/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi and b/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi differ