Merge remote-tracking branch 'Citadel-Station-13/master' into Citadel-Station-13/custom_roundstart_items

This commit is contained in:
kevinz000
2017-07-24 04:13:54 -07:00
2674 changed files with 156312 additions and 575551 deletions
+6 -5
View File
@@ -194,7 +194,7 @@
var/allowwebclient = 0
var/webclientmembersonly = 0
var/sandbox_autoclose = 0 // close the sandbox panel after spawning an item, potentially reducing griff
var/sandbox_autoclose = FALSE // close the sandbox panel after spawning an item, potentially reducing griff
var/default_laws = 0 //Controls what laws the AI spawns with.
var/silicon_max_law_amount = 12
@@ -265,6 +265,8 @@
var/irc_announce_new_game = FALSE
var/list/policies = list()
/datum/configuration/New()
gamemode_cache = typecacheof(/datum/game_mode,TRUE)
for(var/T in gamemode_cache)
@@ -288,6 +290,7 @@
/datum/configuration/proc/Reload()
load("config/config.txt")
load("config/game_options.txt","game_options")
load("config/policies.txt", "policies")
loadsql("config/dbconfig.txt")
reload_custom_roundstart_items_list()
if (maprotation)
@@ -778,12 +781,10 @@
arrivals_shuttle_require_safe_latejoin = TRUE
if("mice_roundstart")
mice_roundstart = text2num(value)
if ("mentor_mobname_only")
mentors_mobname_only = 1
if ("mentor_legacy_system")
mentor_legacy_system = 1
else
GLOB.config_error_log << "Unknown setting in configuration: '[name]'"
else if(type == "policies")
policies[name] = value
fps = round(fps)
if(fps <= 0)