diff --git a/code/modules/client/preference_setup/loadout/loadout_suit.dm b/code/modules/client/preference_setup/loadout/loadout_suit.dm index de1f4e7c3b0..0a8c241b8fa 100644 --- a/code/modules/client/preference_setup/loadout/loadout_suit.dm +++ b/code/modules/client/preference_setup/loadout/loadout_suit.dm @@ -199,6 +199,12 @@ path = /obj/item/clothing/suit/storage/toggle/trench/colorable flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION +/datum/gear/suit/trenchcoat_colorable_alt + display_name = "colorable trenchcoat, alt" + description = "A sleek canvas trenchcoat in 167,777,216 designer colors." + path = /obj/item/clothing/suit/storage/toggle/trench/colorable/alt + flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ADDITIONAL_COLOR_SELECTION + /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/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index a4edae85b21..e7c9e5a2d01 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -387,6 +387,27 @@ . = ..() color = get_random_colour(lower = 150) +/obj/item/clothing/suit/storage/toggle/trench/colorable/alt + icon_state = "trench_colorable2" + item_state = "trench_colorable2" + var/additional_color = COLOR_GRAY + +/obj/item/clothing/suit/storage/toggle/trench/colorable/alt/update_icon() + cut_overlays() + var/image/belt = image(icon, null, "trench_colorable2_belt[opened ? "_open" : null]") + belt.appearance_flags = RESET_COLOR + belt.color = additional_color + add_overlay(belt) + +/obj/item/clothing/suit/storage/toggle/trench/colorable/alt/get_mob_overlay(mob/living/carbon/human/H, mob_icon, mob_state, slot) + var/image/I = ..() + if(slot == slot_wear_suit_str) + var/image/belt = image(mob_icon, null, "trench_colorable2_belt[opened ? "_open" : null]") + belt.appearance_flags = RESET_COLOR + belt.color = additional_color + I.add_overlay(belt) + return I + /obj/item/clothing/suit/storage/toggle/highvis name = "high visibility jacket" desc = "A loose-fitting, high visibility jacket to help crew be recognizable in high traffic areas with large industrial equipment." diff --git a/html/changelogs/SimpleMaroon-altcolorabletrenchcoat.yml b/html/changelogs/SimpleMaroon-altcolorabletrenchcoat.yml new file mode 100644 index 00000000000..9ed480d9f70 --- /dev/null +++ b/html/changelogs/SimpleMaroon-altcolorabletrenchcoat.yml @@ -0,0 +1,41 @@ +################################ +# 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 +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# 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, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Added an alternate recolorable trenchcoat to the loadout." diff --git a/icons/mob/suit.dmi b/icons/mob/suit.dmi index 4b32d901084..18aaef68e5a 100644 Binary files a/icons/mob/suit.dmi and b/icons/mob/suit.dmi differ diff --git a/icons/obj/clothing/suits.dmi b/icons/obj/clothing/suits.dmi index 9de590a667d..d1bbc0ceca2 100644 Binary files a/icons/obj/clothing/suits.dmi and b/icons/obj/clothing/suits.dmi differ