Merge pull request #3418 from VistaPOWA/pr_announce

[CONFIG][BACKEND] Adds PR announcing to the game.
This commit is contained in:
Razharas
2014-04-18 19:05:44 -07:00
20 changed files with 520 additions and 3 deletions

View File

@@ -102,6 +102,9 @@
var/rename_cyborg = 0
var/ooc_during_round = 0
var/comms_key = "default_pwd" //Server API key
var/comms_allowed = 0 //By default, the server does not allow messages to be sent to it, unless the key is strong enough (this is to prevent misconfigured servers from becoming victims)
//Used for modifying movement speed for mobs.
//Unversal modifiers
var/run_speed = 0
@@ -266,6 +269,10 @@
Tickcomp = 1
if("automute_on")
automute_on = 1
if("comms_key")
comms_key = value
if(value != "default_pwd" && length(value) > 6) //It's the default value or less than 6 characters long, warn badmins
comms_allowed = 1
else
diary << "Unknown setting in configuration: '[name]'"