Revenge Of The Pants (#22205)

I have actually tested this PR to verify it. Thanks to Sentry for
finally giving me the data point needed to figure out where the hell the
bug was coming from. It turns out the culprit for The Pants Hard Delete
was people accidentally saving Abstract Pants in their loadout, which
would immediately produce a runtime error when the game attempts to add
them to the chargen dummy.

<img width="655" height="560" alt="image"
src="https://github.com/user-attachments/assets/6b4028a2-0661-4479-a9a5-03cc7157e5f7"
/>
This commit is contained in:
VMSolidus
2026-04-12 22:19:40 +00:00
committed by GitHub
parent 3acc659bbd
commit 04234f70d0
4 changed files with 27 additions and 8 deletions
@@ -5,7 +5,7 @@ ABSTRACT_TYPE(/datum/gear/pants)
/datum/gear/pants/trousers
display_name = "pants and shorts selection"
description = "A selection of pants and shorts."
path = /obj/item/clothing/pants
path = /obj/item/clothing/pants/black
/datum/gear/pants/trousers/New()
..()
@@ -5,7 +5,7 @@ ABSTRACT_TYPE(/datum/gear/shoes/tajara)
/datum/gear/shoes/tajara/boots
display_name = "tajaran boots selection"
description = "A selection of shoes and boots fitted for Tajara."
path = /obj/item/clothing/shoes/tajara
path = /obj/item/clothing/shoes/jackboots/tajara
whitelisted = list(SPECIES_TAJARA, SPECIES_TAJARA_ZHAN, SPECIES_TAJARA_MSAI)
sort_category = "Xenowear - Tajara"