Added a config option for assistants having maint access. Default is them not having it.

Added a config option for the delay on the gateway opening. Default is still half an hour.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5058 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
Kortgstation@gmail.com
2012-11-13 23:36:23 +00:00
parent b54bc843ba
commit a22846684c
4 changed files with 21 additions and 3 deletions

View File

@@ -93,6 +93,9 @@
var/admin_legacy_system = 0 //Defines whether the server uses the legacy admin system with admins.txt or the SQL system. Config option in config.txt
var/ban_legacy_system = 0 //Defines whether the server uses the legacy banning system with the files in /data or the SQL system. Config option in config.txt
var/assistant_maint = 0 //Do assistants get maint access?
var/gateway_delay = 18000 //How long the gateway takes before it activates. Default is half an hour.
/datum/configuration/New()
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
for (var/T in L)
@@ -336,6 +339,12 @@
if("automute_on")
automute_on = 1
if("assistant_maint")
config.assistant_maint = 1
if("gateway_delay")
config.gateway_delay = text2num(value)
else
diary << "Unknown setting in configuration: '[name]'"