mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #5829 from Seris02/noprometheanprotean
stops proteans from selecting promethean
This commit is contained in:
@@ -306,7 +306,7 @@
|
||||
to_chat(src,"<span class='warning'>You must be awake and standing to perform this action!</span>")
|
||||
return
|
||||
|
||||
var/new_species = tgui_input_list(usr, "Please select a species to emulate.", "Shapeshifter Body", list(species?.vanity_base_fit)|GLOB.playable_species)
|
||||
var/new_species = tgui_input_list(usr, "Please select a species to emulate.", "Shapeshifter Body", list(species?.vanity_base_fit)|species?.get_valid_shapeshifter_forms())
|
||||
if(new_species)
|
||||
species?.base_species = new_species // Really though you better have a species
|
||||
regenerate_icons() //Expensive, but we need to recrunch all the icons we're wearing
|
||||
|
||||
@@ -152,7 +152,8 @@
|
||||
return S.get_icobase(H, get_deform)
|
||||
|
||||
/datum/species/protean/get_valid_shapeshifter_forms(var/mob/living/carbon/human/H)
|
||||
return GLOB.playable_species
|
||||
var/static/list/protean_shapeshifting_forms = GLOB.playable_species.Copy() - SPECIES_PROMETHEAN
|
||||
return protean_shapeshifting_forms
|
||||
|
||||
/datum/species/protean/get_tail(var/mob/living/carbon/human/H)
|
||||
if(!H || base_species == name) return ..()
|
||||
@@ -418,4 +419,4 @@ CHOMP Removal end*/
|
||||
. = ..()
|
||||
. += validstring
|
||||
. += registring
|
||||
#undef METAL_PER_TICK
|
||||
#undef METAL_PER_TICK
|
||||
|
||||
Reference in New Issue
Block a user