mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fix Scree and Scree Accessories
This commit is contained in:
@@ -73,8 +73,10 @@
|
|||||||
if(!(path in negative_traits))
|
if(!(path in negative_traits))
|
||||||
pref.neg_traits -= path
|
pref.neg_traits -= path
|
||||||
|
|
||||||
if(!pref.custom_base || !(pref.custom_base in custom_species_bases))
|
if(pref.species == pref.custom_base && pref.species != SPECIES_CUSTOM)
|
||||||
pref.custom_base = "Human"
|
// Allowed!
|
||||||
|
else if(!pref.custom_base || !(pref.custom_base in custom_species_bases))
|
||||||
|
pref.custom_base = SPECIES_HUMAN
|
||||||
|
|
||||||
/datum/category_item/player_setup_item/vore/traits/copy_to_mob(var/mob/living/carbon/human/character)
|
/datum/category_item/player_setup_item/vore/traits/copy_to_mob(var/mob/living/carbon/human/character)
|
||||||
character.custom_species = pref.custom_species
|
character.custom_species = pref.custom_species
|
||||||
@@ -148,8 +150,11 @@
|
|||||||
return TOPIC_REFRESH
|
return TOPIC_REFRESH
|
||||||
|
|
||||||
else if(href_list["custom_base"])
|
else if(href_list["custom_base"])
|
||||||
var/text_choice = input("Pick an icon set for your species:","Icon Base") in custom_species_bases
|
var/list/choices = custom_species_bases
|
||||||
if(text_choice in custom_species_bases)
|
if(pref.species != SPECIES_CUSTOM)
|
||||||
|
choices = (choices | pref.species)
|
||||||
|
var/text_choice = input("Pick an icon set for your species:","Icon Base") in choices
|
||||||
|
if(text_choice in choices)
|
||||||
pref.custom_base = text_choice
|
pref.custom_base = text_choice
|
||||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user