diff --git a/code/modules/client/preference_setup/loadout/items/suit.dm b/code/modules/client/preference_setup/loadout/items/suit.dm index 444a067beec..dc3a447726e 100644 --- a/code/modules/client/preference_setup/loadout/items/suit.dm +++ b/code/modules/client/preference_setup/loadout/items/suit.dm @@ -230,6 +230,19 @@ gear_tweaks += new /datum/gear_tweak/path(trenches) +/datum/gear/suit/greatcoats + display_name = "greatcoat selection" + description = "A selection of greatcoats." + path = /obj/item/clothing/suit/storage/toggle/greatcoat + flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION + +/datum/gear/suit/greatcoats/New() + ..() + var/list/greatcoat = list() + greatcoat["greatcoat, black"] = /obj/item/clothing/suit/storage/toggle/greatcoat + greatcoat["greatcoat, brown"] = /obj/item/clothing/suit/storage/toggle/greatcoat/brown + 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/clothing.dm b/code/modules/clothing/clothing.dm index 60d8dd3ad72..d6ffb741374 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -594,7 +594,8 @@ valid_accessory_slots = list(ACCESSORY_SLOT_HEAD) - var/allow_hair_covering = TRUE //in case if you want to allow someone to switch the BLOCKHEADHAIR var from the helmet or not + /// In case if you want to allow someone to switch the BLOCKHEADHAIR var from the helmet or not + var/allow_hair_covering = TRUE var/light_overlay = "helmet_light" var/light_applied diff --git a/code/modules/clothing/suits/storage.dm b/code/modules/clothing/suits/storage.dm index e0f583b34e8..d74b7c3e72a 100644 --- a/code/modules/clothing/suits/storage.dm +++ b/code/modules/clothing/suits/storage.dm @@ -100,6 +100,30 @@ return update_clothing_icon() +// Greatcoats + +/obj/item/clothing/suit/storage/toggle/greatcoat + name = "black greatcoat" + desc = "A black greatcoat. It looks warmer, if a bit heavier, than most other clothing." + icon = 'icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi' + icon_state = "greatcoat" + item_state = "greatcoat" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS + min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE + armor = list( + bio = ARMOR_BIO_MINOR + ) + siemens_coefficient = 0.8 + protects_against_weather = TRUE + contained_sprite = TRUE + +/obj/item/clothing/suit/storage/toggle/greatcoat/brown + name = "brown greatcoat" + desc = "A brown greatcoat. It looks warmer, if a bit heavier, than most other clothing." + icon_state = "greatcoat_bwn" + item_state = "greatcoat_bwn" + // Corporate Jackets /obj/item/clothing/suit/storage/toggle/corp diff --git a/html/changelogs/Ben10083 - Zavod_Greatcoat.yml b/html/changelogs/Ben10083 - Zavod_Greatcoat.yml new file mode 100644 index 00000000000..0b2ce28beb1 --- /dev/null +++ b/html/changelogs/Ben10083 - Zavod_Greatcoat.yml @@ -0,0 +1,59 @@ +################################ +# 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: Ben10083 + +# 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: "Adds new black and brown greatcoats, thanks to greytide_ for the sprites!" + - rscadd: "Greatcoat options added to loadout." diff --git a/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi b/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi new file mode 100644 index 00000000000..e281ca28c74 Binary files /dev/null and b/icons/obj/item/clothing/suit/storage/toggle/greatcoat.dmi differ