mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Adds the system discussed in the felinid poll, to allow for people with a felinid character to not be reset to human
This commit is contained in:
@@ -154,6 +154,10 @@
|
||||
key_mode = KEY_MODE_TEXT
|
||||
value_mode = VALUE_MODE_FLAG
|
||||
|
||||
/datum/config_entry/keyed_list/roundstart_no_hard_check // Species contained in this list will not cause existing characters with no-longer-roundstart species set to be resetted to the human race.
|
||||
key_mode = KEY_MODE_TEXT
|
||||
value_mode = VALUE_MODE_FLAG
|
||||
|
||||
/datum/config_entry/flag/join_with_mutant_humans //players can pick mutant bodyparts for humans before joining the game
|
||||
|
||||
/datum/config_entry/flag/no_summon_guns //No
|
||||
|
||||
@@ -1237,7 +1237,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
features["mcolor"] = sanitize_hexcolor(new_mutantcolor)
|
||||
else
|
||||
to_chat(user, "<span class='danger'>Invalid color. Your color is not bright enough.</span>")
|
||||
|
||||
|
||||
if("color_ethereal")
|
||||
var/new_etherealcolor = input(user, "Choose your ethereal color", "Character Preference") as null|anything in GLOB.color_list_ethereal
|
||||
if(new_etherealcolor)
|
||||
@@ -1555,9 +1555,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
character.backbag = backbag
|
||||
|
||||
var/datum/species/chosen_species
|
||||
if(!roundstart_checks || (pref_species.id in GLOB.roundstart_races))
|
||||
chosen_species = pref_species.type
|
||||
else
|
||||
chosen_species = pref_species.type
|
||||
if(!(pref_species.id in GLOB.roundstart_races) && !(pref_species.id in (CONFIG_GET(keyed_list/roundstart_no_hard_check))))
|
||||
chosen_species = /datum/species/human
|
||||
pref_species = new /datum/species/human
|
||||
save_character()
|
||||
|
||||
@@ -74,7 +74,6 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
||||
var/obj/item/organ/liver/mutantliver
|
||||
var/obj/item/organ/stomach/mutantstomach
|
||||
var/override_float = FALSE
|
||||
|
||||
///////////
|
||||
// PROCS //
|
||||
///////////
|
||||
|
||||
@@ -454,6 +454,10 @@ ROUNDSTART_RACES ethereal
|
||||
|
||||
##-------------------------------------------------------------------------------------------
|
||||
|
||||
## Roundstart no-reset races
|
||||
## Races defined here will not cause existing characters to be reset to human if they currently have a non-roundstart species defined.
|
||||
#ROUNDSTART_NO_HARD_CHECK felinid
|
||||
|
||||
## Uncomment to give players the choice of joining as a human with mutant bodyparts before they join the game
|
||||
#JOIN_WITH_MUTANT_HUMANS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user