Update config (#2551)

changes:

Added some entries to the example config that were implemented but not listed.
Updated level defaults to actually correct values.
Added blurb about changing MC_TICKLIMIT_INIT on testing servers.
Removed broken config option ALLOW_AI.
Removed unused statclick var from configuration datum.
Added config support for setting sealed levels.
This commit is contained in:
Lohikar
2017-05-31 08:37:14 +03:00
committed by skull132
parent 07b21a9db7
commit 00372a2872
2 changed files with 30 additions and 17 deletions
+7 -7
View File
@@ -192,10 +192,10 @@ var/list/gamemode_cache = list()
var/use_lib_nudge = 0 //Use the C library nudge instead of the python nudge.
var/use_overmap = 0
var/list/station_levels = list(1) // Defines which Z-levels the station exists on.
var/list/admin_levels= list(2) // Defines which Z-levels which are for admin functionality, for example including such areas as Central Command and the Syndicate Shuttle
var/list/contact_levels = list(1, 5) // Defines which Z-levels which, for example, a Code Red announcement may affect
var/list/player_levels = list(1, 3, 4, 5, 6) // Defines all Z-levels a character can typically reach
var/list/station_levels = list(3, 4, 5, 6, 7) // Defines which Z-levels the station exists on.
var/list/admin_levels= list(1) // Defines which Z-levels which are for admin functionality, for example including such areas as Central Command and the Syndicate Shuttle
var/list/contact_levels = list(3, 4, 5, 6) // Defines which Z-levels which, for example, a Code Red announcement may affect
var/list/player_levels = list(2, 3, 4, 5, 6, 7, 8) // Defines all Z-levels a character can typically reach
var/list/sealed_levels = list() // Defines levels that do not allow random transit at the edges.
// Event settings
@@ -254,9 +254,6 @@ var/list/gamemode_cache = list()
var/api_rate_limit = 50
var/list/api_rate_limit_whitelist = list()
// Subsystems.
var/obj/effect/statclick/statclick
// Master Controller settings.
var/mc_init_tick_limit = TICK_LIMIT_MC_INIT_DEFAULT
@@ -721,6 +718,9 @@ var/list/gamemode_cache = list()
if("player_levels")
config.player_levels = text2numlist(value, ";")
if("sealed_levels")
config.sealed_levels = text2numlist(value, ";")
if("expected_round_length")
config.expected_round_length = MinutesToTicks(text2num(value))