mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Allows species to be blocked from ever being roundstart, can now choose your Halloween species
This commit is contained in:
committed by
CitadelStationBot
parent
655478e014
commit
e4f76a79a5
@@ -112,27 +112,7 @@ CONFIG_DEF(flag/show_game_type_odds) //if set this allows players to see the odd
|
||||
|
||||
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(flag/join_with_mutant_humans) //players can pick mutant bodyparts for humans before joining the game
|
||||
|
||||
@@ -188,7 +168,7 @@ CONFIG_DEF(number/run_delay) //Used for modifying movement speed for mobs.
|
||||
|
||||
CONFIG_DEF(number/walk_delay)
|
||||
|
||||
|
||||
|
||||
CONFIG_DEF(number/human_delay) //Mob specific modifiers. NOTE: These will affect different mob types in different ways
|
||||
CONFIG_DEF(number/robot_delay)
|
||||
CONFIG_DEF(number/monkey_delay)
|
||||
|
||||
Reference in New Issue
Block a user