mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 21:10:30 +01:00
Dominia cape code tweaks (mainly: they all should now display in character setup) (#21363)
Changelog: > - rscadd: "The tribunalist medical cape can now have its mantle be rolled up, like its non-medical tribunalist counterpart." > - rscadd: "Alt-clicking on tribunalist capes now rolls their mantles up." > - bugfix: "All dominian capes should now properly display as attached to clothing in character setup preview." I have noticed that non-Zavodskoi dominian capes never seemed to display as attached in the character setup, and attempting to solve that made me notice how all the capes are poorly pathed and have vestiges of code solutions made for their old sprite variations. So this PR, which was made in like 30 minutes, _attempts_ to fix that. I also have noticed that the tribunalist medical cape had sprites that allowed it to be rolled up, but the code did not support that. Now it does. I also added an alt-click functionality to roll them up, because why not.
This commit is contained in:
@@ -136,15 +136,15 @@ ABSTRACT_TYPE(/datum/gear/religion/dominia)
|
||||
/datum/gear/religion/dominia/cape
|
||||
display_name = "dominian outerwear selection"
|
||||
description = "A selection of capes and outerwear worn by the Moroz Holy Tribunal."
|
||||
path = /obj/item/clothing/under/dominia/priest
|
||||
slot = slot_wear_suit
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist
|
||||
slot = slot_in_backpack
|
||||
|
||||
/datum/gear/religion/dominia/cape/New()
|
||||
..()
|
||||
var/list/cape = list()
|
||||
cape["tribunalist red cape"] = /obj/item/clothing/accessory/poncho/dominia/red
|
||||
cape["tribunalist full cape"] = /obj/item/clothing/accessory/poncho/dominia/red/double
|
||||
cape["tribunalist surcoat"] = /obj/item/clothing/accessory/poncho/dominia/red/surcoat
|
||||
cape["tribunalist red cape"] = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist
|
||||
cape["tribunalist full cape"] = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist/double
|
||||
cape["tribunalist surcoat"] = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist/surcoat
|
||||
gear_tweaks += new /datum/gear_tweak/path(cape)
|
||||
|
||||
/datum/gear/religion/dominia/accessory
|
||||
@@ -192,7 +192,7 @@ ABSTRACT_TYPE(/datum/gear/religion/dominia)
|
||||
/datum/gear/religion/dominia/cape_consular
|
||||
display_name = "tribunalist cousular cape"
|
||||
description = "A truly majestic gold and red cape worn by members of the clergy affiliated with His Majesty's Diplomatic Service."
|
||||
path = /obj/item/clothing/accessory/poncho/dominia/consular
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist/consular
|
||||
slot = slot_wear_suit
|
||||
allowed_roles = list("Consular Officer")
|
||||
|
||||
|
||||
@@ -320,6 +320,7 @@
|
||||
/datum/gear/suit/dominia_cape
|
||||
display_name = "dominian cape"
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape
|
||||
slot = slot_in_backpack
|
||||
flags = GEAR_HAS_DESC_SELECTION
|
||||
culture_restriction = list(/singleton/origin_item/culture/dominia, /singleton/origin_item/culture/dominian_unathi)
|
||||
|
||||
@@ -346,6 +347,7 @@
|
||||
/datum/gear/suit/dominia_cape_colorable
|
||||
display_name = "dominian cape selection, colorable"
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape/colorable
|
||||
slot = slot_in_backpack
|
||||
flags = GEAR_HAS_DESC_SELECTION | GEAR_HAS_ACCENT_COLOR_SELECTION
|
||||
description = "A black or white Dominian cape with a colorable stripe that can be used to represent either a generic cape or a Minor House."
|
||||
culture_restriction = list(/singleton/origin_item/culture/dominia, /singleton/origin_item/culture/dominian_unathi)
|
||||
@@ -359,7 +361,8 @@
|
||||
|
||||
/datum/gear/suit/dominia_medical_cape
|
||||
display_name = "tribunalist medical cape"
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape/hospital
|
||||
path = /obj/item/clothing/accessory/poncho/dominia_cape/tribunalist/medical
|
||||
slot = slot_in_backpack
|
||||
flags = GEAR_HAS_DESC_SELECTION
|
||||
allowed_roles = list("Chief Medical Officer", "Physician", "Surgeon", "Pharmacist", "Paramedic", "Medical Intern")
|
||||
culture_restriction = list(/singleton/origin_item/culture/dominia, /singleton/origin_item/culture/dominian_unathi)
|
||||
|
||||
Reference in New Issue
Block a user