diff --git a/code/modules/client/preference_setup/loadout/loadout_accessories.dm b/code/modules/client/preference_setup/loadout/loadout_accessories.dm index 20724e1a8ef..37bacc0a405 100644 --- a/code/modules/client/preference_setup/loadout/loadout_accessories.dm +++ b/code/modules/client/preference_setup/loadout/loadout_accessories.dm @@ -297,21 +297,26 @@ gadpathur["medical cadre brassard"] = /obj/item/clothing/accessory/armband/gadpathur/med gear_tweaks += new/datum/gear_tweak/path(gadpathur) -/datum/gear/accessory/dominia/sash - display_name = "dominian house sash selection" - description = "A selection of sashes representing the Great Houses of Dominia." - path = /obj/item/clothing/accessory/dominia/sash +/datum/gear/accessory/sash_coloured + display_name = "sash (colourable)" + path = /obj/item/clothing/accessory/sash/colourable + flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION -/datum/gear/accessory/dominia/sash/New() +/datum/gear/accessory/sash + display_name = "sash selection" + description = "A selection of sashes in various colours." + path = /obj/item/clothing/accessory/sash + +/datum/gear/accessory/sash/New() ..() - var/dominia = list() - dominia["dominian sash"] = /obj/item/clothing/accessory/dominia/sash - dominia["strelitz sash"] = /obj/item/clothing/accessory/dominia/sash/strelitz - dominia["volvalaad sash"] = /obj/item/clothing/accessory/dominia/sash/volvalaad - dominia["kazhkz sash"] = /obj/item/clothing/accessory/dominia/sash/kazhkz - dominia["caladius sash"] = /obj/item/clothing/accessory/dominia/sash/caladius - dominia["zhao sash"] =/obj/item/clothing/accessory/dominia/sash/zhao - gear_tweaks += new/datum/gear_tweak/path(dominia) + var/sash = list() + sash["yellow sash"] = /obj/item/clothing/accessory/sash + sash["red sash"] = /obj/item/clothing/accessory/sash/red + sash["blue sash"] = /obj/item/clothing/accessory/sash/blue + sash["orange sash"] = /obj/item/clothing/accessory/sash/orange + sash["purple sash"] = /obj/item/clothing/accessory/sash/purple + sash["white sash"] =/obj/item/clothing/accessory/sash/white + gear_tweaks += new/datum/gear_tweak/path(sash) /datum/gear/accessory/passcard display_name = "human passcard selection" diff --git a/code/modules/clothing/factions/dominia.dm b/code/modules/clothing/factions/dominia.dm index a7cdb21cabd..91b95b71ae6 100644 --- a/code/modules/clothing/factions/dominia.dm +++ b/code/modules/clothing/factions/dominia.dm @@ -518,44 +518,4 @@ /obj/item/clothing/under/dominia/dress/fancy/sleeveless/kazhkz name = "sleeveless house kazhkz Morozi dress" - house = "kazhkz" - -/obj/item/clothing/accessory/dominia/sash - name = "dominian sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one seems to represent Dominia as a whole, however." - desc_fluff = "Sashes such as this one are a common sight throughout the Empire of Dominia, though they are hardly as fashionable as the typical cape. While they are \ - often used in formal uniforms - such as for attendants and domestic staff - these sashes can also be found used in positions where wearing a cape is impractical, such as the medical field." - icon = 'icons/clothing/accessories/dominia_sash.dmi' - item_state = "dominia_sash" - icon_state = "dominia_sash" - contained_sprite = TRUE - -/obj/item/clothing/accessory/dominia/sash/strelitz - name = "strelitz sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one marks its wearer as an affiliate of House Strelitz." - item_state = "strelitz_sash" - icon_state = "strelitz_sash" - -/obj/item/clothing/accessory/dominia/sash/volvalaad - name = "volvalaad sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one marks its wearer as an affiliate of House Volvalaad." - item_state = "volvalaad_sash" - icon_state = "volvalaad_sash" - -/obj/item/clothing/accessory/dominia/sash/kazhkz - name = "kazhkz sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one marks its wearer as an affiliate of House Kazhkz." - item_state = "kazhkz_sash" - icon_state = "kazhkz_sash" - -/obj/item/clothing/accessory/dominia/sash/caladius - name = "caladius sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one marks its wearer as an affiliate of House Caladius." - item_state = "caladius_sash" - icon_state = "caladius_sash" - -/obj/item/clothing/accessory/dominia/sash/zhao - name = "zhao sash" - desc = "A sash worn by commoners affiliated with a Dominian great house, intended for use when a cape is impractical. This one marks its wearer as an affiliate of House Zhao." - item_state = "zhao_sash" - icon_state = "zhao_sash" \ No newline at end of file + house = "kazhkz" \ No newline at end of file diff --git a/code/modules/clothing/under/accessories/accessory.dm b/code/modules/clothing/under/accessories/accessory.dm index b973b0ebeb8..28b2468d462 100644 --- a/code/modules/clothing/under/accessories/accessory.dm +++ b/code/modules/clothing/under/accessories/accessory.dm @@ -361,6 +361,55 @@ icon_state = "cargoponcho" item_state = "cargoponcho" +/* + * Sashes + */ + +/obj/item/clothing/accessory/sash + name = "yellow sash" + desc = "A yellow sash, designed to be worn over one shoulder and come down to the opposing hip." + desc_fluff = "Sashes such as this one are a common sight throughout the Empire of Dominia, though they are hardly as fashionable as the typical cape." + icon = 'icons/clothing/accessories/sash.dmi' + item_state = "sash" + icon_state = "sash" + contained_sprite = TRUE + +/obj/item/clothing/accessory/sash/red + name = "red sash" + desc = "A red sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "red_sash" + icon_state = "red_sash" + +/obj/item/clothing/accessory/sash/blue + name = "blue sash" + desc = "A blue sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "blue_sash" + icon_state = "blue_sash" + +/obj/item/clothing/accessory/sash/orange + name = "orange sash" + desc = "An orange sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "orange_sash" + icon_state = "orange_sash" + +/obj/item/clothing/accessory/sash/purple + name = "purple sash" + desc = "A purple sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "purple_sash" + icon_state = "purple_sash" + +/obj/item/clothing/accessory/sash/white + name = "white sash" + desc = "A white sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "white_sash" + icon_state = "white_sash" + +/obj/item/clothing/accessory/sash/colourable + name = "sash" + desc = "A sash, designed to be worn over one shoulder and come down to the opposing hip." + item_state = "sash_colourable" + icon_state = "sash_colourable" + /* * Cloak */ diff --git a/html/changelogs/omicega-sashes.yml b/html/changelogs/omicega-sashes.yml new file mode 100644 index 00000000000..1333f23ee16 --- /dev/null +++ b/html/changelogs/omicega-sashes.yml @@ -0,0 +1,42 @@ +################################ +# 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: Omicega + +# 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: + - tweak: "The ostensibly Dominian sash selection is now a more generic coloured sash selection." + - rscadd: "Added a wholly colourable sash variant to the loadout screen, to allow for colours beyond the existing selection." diff --git a/icons/clothing/accessories/dominia_sash.dmi b/icons/clothing/accessories/dominia_sash.dmi deleted file mode 100644 index b97559942e2..00000000000 Binary files a/icons/clothing/accessories/dominia_sash.dmi and /dev/null differ diff --git a/icons/clothing/accessories/sash.dmi b/icons/clothing/accessories/sash.dmi new file mode 100644 index 00000000000..567409a7ac5 Binary files /dev/null and b/icons/clothing/accessories/sash.dmi differ