mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #14056 from Seris02/prometheanchanges
promethean fixes and QoLs
This commit is contained in:
committed by
CHOMPStation2
parent
e291c29e0f
commit
1ba39fee84
@@ -241,9 +241,15 @@
|
||||
return TOPIC_REFRESH
|
||||
|
||||
else if(href_list["custom_base"])
|
||||
var/list/choices = GLOB.custom_species_bases
|
||||
if(pref.species != SPECIES_CUSTOM)
|
||||
choices = (choices | pref.species)
|
||||
var/list/choices
|
||||
var/datum/species/spec = GLOB.all_species[pref.species]
|
||||
if (spec.selects_bodytype == SELECTS_BODYTYPE_SHAPESHIFTER && istype(spec, /datum/species/shapeshifter))
|
||||
var/datum/species/shapeshifter/spec_shifter = spec
|
||||
choices = spec_shifter.valid_transform_species
|
||||
else
|
||||
choices = GLOB.custom_species_bases
|
||||
if(pref.species != SPECIES_CUSTOM)
|
||||
choices = (choices | pref.species)
|
||||
var/text_choice = tgui_input_list(usr, "Pick an icon set for your species:","Icon Base", choices)
|
||||
if(text_choice in choices)
|
||||
pref.custom_base = text_choice
|
||||
|
||||
Reference in New Issue
Block a user