/world/proc/update_status()
var/s = ""
if (config && config.server_name)
s += "[config.server_name] — "
s += "[station_name()]";
s += " ("
s += ""
s += "[game_version]"
s += ""
s += ")"
var/list/features = list()
if (!ticker)
features += "STARTING"
if (ticker && master_mode)
features += master_mode
if (config && config.enable_authentication)
features += "goon only"
if (!enter_allowed)
features += "closed"
if (abandon_allowed)
features += abandon_allowed ? "respawn" : "no respawn"
if (config && config.allow_vote_mode)
features += "vote"
if (config && config.allow_ai)
features += "AI allowed"
var/n = 0
for (var/mob/M in world)
if (M.client)
n++
if (n > 1)
features += "~[n] players"
else if (n > 0)
features += "~[n] player"
/*
is there a reason for this? the byond site shows 'hosted by X' when there is a proper host already.
if (host)
features += "hosted by [host]"
*/
if (!host && config && config.hostedby)
features += "hosted by [config.hostedby]"
if (features)
s += ": [dd_list2text(features, ", ")]"
/* does this help? I do not know */
if (src.status != s)
src.status = s