Skip to content

Commit

Permalink
Adds Dominian capes with colorable stripes to the loadout (#20390)
Browse files Browse the repository at this point in the history
Title. Unlike the last time I made such a PR, the capes can't be
renamed, only re-descriptioned. Also applies some quality-of-life stuff
to the original Zavodskoi Dominian cape selection.


![image](https://github.com/user-attachments/assets/09d35beb-eb64-4664-935d-cd43484e0ddf)

![image](https://github.com/user-attachments/assets/49f239c2-80d4-4b74-882e-069ade0ae577)

![image](https://github.com/user-attachments/assets/3cfad303-964e-4db8-9534-fe7dadb1e5f8)

Co-authored-by: Gabby <[email protected]>
FearTheGabby and Gabby authored Jan 28, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2bc2f9d commit 3317e25
Showing 5 changed files with 100 additions and 3 deletions.
14 changes: 11 additions & 3 deletions code/modules/client/preference_setup/loadout/items/factions.dm
Original file line number Diff line number Diff line change
@@ -239,9 +239,9 @@
allowed_roles = list("Head of Security", "Warden", "Investigator", "Security Officer", "Security Cadet", "Security Personnel")

/datum/gear/faction/zavodskoicape
display_name = "zavodskoi dominian great house cape selection"
description = "A selection of Zavodskoi-colored Dominian great house capes."
slot = slot_wear_suit
display_name = "zavodskoi dominian cape selection"
path = /obj/item/clothing/accessory/poncho/dominia_cape/zavod
flags = GEAR_HAS_DESC_SELECTION
faction = "Zavodskoi Interstellar"
culture_restriction = list(/singleton/origin_item/culture/dominia, /singleton/origin_item/culture/dominian_unathi)

@@ -257,6 +257,14 @@
zavodskoicape["zavodskoi dominia cape, zhao"] = /obj/item/clothing/accessory/poncho/dominia_cape/zhao/zavod
gear_tweaks += new /datum/gear_tweak/path(zavodskoicape)

/datum/gear/faction/zavodskoicape_colorable
display_name = "zavodskoi dominian cape, colorable"
path = /obj/item/clothing/accessory/poncho/dominia_cape/zavod/colorable
flags = GEAR_HAS_DESC_SELECTION | GEAR_HAS_ACCENT_COLOR_SELECTION
description = "A Zavodskoi Dominian cape with a colorable stripe that can be used to represent either a generic cape or a Minor House."
faction = "Zavodskoi Interstellar"
culture_restriction = list(/singleton/origin_item/culture/dominia, /singleton/origin_item/culture/dominian_unathi)

// PMCG
/datum/gear/faction/pmc_sunglasses
display_name = "PMCG security HUD selection"
14 changes: 14 additions & 0 deletions code/modules/client/preference_setup/loadout/items/suit.dm
Original file line number Diff line number Diff line change
@@ -309,6 +309,20 @@
dominiacape["dominian cape, military"] = /obj/item/clothing/accessory/poncho/dominia_cape/mantle
gear_tweaks += new /datum/gear_tweak/path(dominiacape)

/datum/gear/suit/dominia_cape_colorable
display_name = "dominian cape selection, colorable"
path = /obj/item/clothing/accessory/poncho/dominia_cape/colorable
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)

/datum/gear/suit/dominia_cape_colorable/New()
..()
var/list/dominiacape = list()
dominiacape["dominian cape"] = /obj/item/clothing/accessory/poncho/dominia_cape/colorable
dominiacape["white dominian cape"] = /obj/item/clothing/accessory/poncho/dominia_cape/white/colorable
gear_tweaks += new /datum/gear_tweak/path(dominiacape)

/datum/gear/suit/dominia_medical_cape
display_name = "tribunalist medical cape"
path = /obj/item/clothing/accessory/poncho/dominia_cape/hospital
15 changes: 15 additions & 0 deletions code/modules/clothing/factions/dominia.dm
Original file line number Diff line number Diff line change
@@ -184,6 +184,21 @@
item_state = "zhao_capez"
cape_backing_state = "capez_backing"

/obj/item/clothing/accessory/poncho/dominia_cape/colorable
icon_state = "dominian_cape_colorable"
item_state = "dominian_cape_colorable"
has_accents = TRUE

/obj/item/clothing/accessory/poncho/dominia_cape/white/colorable
icon_state = "dominian_capew_colorable"
item_state = "dominian_capew_colorable"
has_accents = TRUE

/obj/item/clothing/accessory/poncho/dominia_cape/zavod/colorable
icon_state = "dominian_capez_colorable"
item_state = "dominian_capez_colorable"
has_accents = TRUE


/obj/item/clothing/accessory/poncho/dominia_cape/mantle
name = "dominian military cape"
60 changes: 60 additions & 0 deletions html/changelogs/SimpleMaroon-colorabledominiancapes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
################################
# 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:
- imageadd: "Added black, white, and Zavodskoi-brown Dominian capes with colorable stripes to the loadout. You can say that the cape is in the color of a Minor House through the description if you desire."
- qol: "The Zavodskoi Dominian cape selection in the loadout no longer explicitly gives reference to Great Houses only."
- bugfix: "The Zavodskoi Dominian cape selection in the loadout can now choose a spawn slot like intended."
Binary file modified icons/obj/item/clothing/accessory/poncho/dominia_cape.dmi
Binary file not shown.

0 comments on commit 3317e25

Please sign in to comment.