Skip to content

Commit

Permalink
fixes unselectable sk'akh robes (Aurorastation#18653)
Browse files Browse the repository at this point in the history
* shits, dies, kills self

* Update code/modules/client/preference_setup/loadout/items/xeno/unathi.dm

Co-authored-by: SleepyGemmy <[email protected]>
Signed-off-by: Matt Atlas <[email protected]>

* Update code/modules/client/preference_setup/loadout/items/xeno/unathi.dm

Co-authored-by: SleepyGemmy <[email protected]>
Signed-off-by: Matt Atlas <[email protected]>

---------

Signed-off-by: Matt Atlas <[email protected]>
Co-authored-by: Matt Atlas <[email protected]>
Co-authored-by: SleepyGemmy <[email protected]>
  • Loading branch information
3 people authored Mar 14, 2024
1 parent f0b7d09 commit 533db93
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 9 deletions.
19 changes: 10 additions & 9 deletions code/modules/client/preference_setup/loadout/items/xeno/unathi.dm
Original file line number Diff line number Diff line change
Expand Up @@ -458,19 +458,20 @@
cards["ouerea passcard"] = /obj/item/clothing/accessory/badge/passcard/ouerea
gear_tweaks += new /datum/gear_tweak/path(cards)

/datum/gear/uniform/skakh
display_name = "sk'akh robes selection"
/datum/gear/uniform/unathi/skakh
display_name = "ska'kh robes selection"
path = /obj/item/clothing/under/unathi/skakh
cost = 1
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
allowed_roles = list("Chaplain")
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION

/datum/gear/uniform/skakh/New()
/datum/gear/uniform/unathi/skakh/New()
..()
var/list/skakh = list()
skakh["Sk'akh priest's robes"] = /obj/item/clothing/under/unathi/skakh
skakh["Sk'akh fisher's robes"] = /obj/item/clothing/under/unathi/skakh/fisher
skakh["Sk'akh healer's robes"] = /obj/item/clothing/under/unathi/skakh/healer
skakh["Sk'akh warrior's robes"] = /obj/item/clothing/under/unathi/skakh/warrior
gear_tweaks += new /datum/gear_tweak/path(skakh)
var/list/robes = list()
robes["Sk'akh priest's robes"] = /obj/item/clothing/under/unathi/skakh
robes["Sk'akh fisher's robes"] = /obj/item/clothing/under/unathi/skakh/fisher
robes["Sk'akh healer's robes"] = /obj/item/clothing/under/unathi/skakh/healer
robes["Sk'akh warrior's robes"] = /obj/item/clothing/under/unathi/skakh/warrior
gear_tweaks += new /datum/gear_tweak/path(robes)
41 changes: 41 additions & 0 deletions html/changelogs/RustingWithYou - imgonnafuckingendit.yml
Original file line number Diff line number Diff line change
@@ -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: RustingWithYou

# 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:
- bugfix: "Fixes unselectable Sk'akh robes in loadout."

0 comments on commit 533db93

Please sign in to comment.