Reverts Slime/IPC Imitation Cosmetics (#28695)

* Initial commit

* Removes unused define

* oops
This commit is contained in:
Burzah
2025-04-03 10:17:35 -07:00
committed by GitHub
parent c3765a3db0
commit b642a271e1
29 changed files with 182 additions and 507 deletions
@@ -17,13 +17,9 @@
var/list/whitelist
var/list/blacklist
/// Temporary holder when we first initialize the TGUI, we store this as our owner's previous subtype so we can tell when it updates.
var/owner_subtype
/datum/ui_module/appearance_changer/New(datum/host, mob/living/carbon/human/H, check_species_whitelist = TRUE, list/species_whitelist = list(), list/species_blacklist = list())
..()
owner = H
owner_subtype = owner.dna.species.species_subtype
head_organ = owner.get_organ("head")
check_whitelist = check_species_whitelist
whitelist = species_whitelist
@@ -218,11 +214,7 @@
ui.open()
/datum/ui_module/appearance_changer/ui_data(mob/user)
if(user.dna.species.species_subtype != owner_subtype)
owner_subtype = user.dna.species.species_subtype
cut_and_generate_data()
else
generate_data(check_whitelist, whitelist, blacklist)
generate_data(check_whitelist, whitelist, blacklist)
var/list/data = list()
data["specimen"] = owner.dna.species.name