mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Update game_options.dm
This commit is contained in:
@@ -110,33 +110,7 @@ CONFIG_DEF(number/shuttle_refuel_delay)
|
|||||||
|
|
||||||
CONFIG_DEF(flag/show_game_type_odds) //if set this allows players to see the odds of each roundtype on the get revision screen
|
CONFIG_DEF(flag/show_game_type_odds) //if set this allows players to see the odds of each roundtype on the get revision screen
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
CONFIG_DEF(flag/join_with_mutant_race) //players can choose their mutant race before joining the game
|
|
||||||
|
|
||||||
CONFIG_DEF(keyed_flag_list/roundstart_races) //races you can play as from the get go. If left undefined the game's roundstart var for species is used
|
|
||||||
var/first_edit = TRUE
|
|
||||||
|
|
||||||
/datum/config_entry/keyed_flag_list/roundstart_races/New()
|
|
||||||
for(var/I in subtypesof(/datum/species))
|
|
||||||
var/datum/species/S = I
|
|
||||||
if(initial(S.roundstart))
|
|
||||||
value[initial(S.id)] = TRUE
|
|
||||||
..()
|
|
||||||
|
|
||||||
/datum/config_entry/keyed_flag_list/roundstart_races/ValidateAndSet(str_val)
|
|
||||||
var/list/old_val
|
|
||||||
if(first_edit)
|
|
||||||
old_val = value
|
|
||||||
old_val = old_val.Copy()
|
|
||||||
. = ..()
|
|
||||||
if(first_edit)
|
|
||||||
if(!.)
|
|
||||||
value = old_val
|
|
||||||
else
|
|
||||||
first_edit = FALSE
|
|
||||||
=======
|
|
||||||
CONFIG_DEF(keyed_flag_list/roundstart_races) //races you can play as from the get go.
|
CONFIG_DEF(keyed_flag_list/roundstart_races) //races you can play as from the get go.
|
||||||
>>>>>>> 360fbff... Fixes losing species preferences (#32093)
|
|
||||||
|
|
||||||
CONFIG_DEF(flag/join_with_mutant_humans) //players can pick mutant bodyparts for humans before joining the game
|
CONFIG_DEF(flag/join_with_mutant_humans) //players can pick mutant bodyparts for humans before joining the game
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user