Respawn now vastly more configurable.

This commit is contained in:
Rob Nelson
2013-09-22 19:04:23 -07:00
parent 06f362f9ac
commit 4c1b757e90
6 changed files with 32 additions and 6 deletions

View File

@@ -51,6 +51,9 @@
var/allow_ai = 1 // allow ai job
var/hostedby = null
var/respawn = 1
var/respawn_delay=30
var/respawn_as_mommi = 0
var/respawn_as_mouse = 1
var/guest_jobban = 1
var/usewhitelist = 0
var/kick_inactive = 0 //force disconnect for inactive players
@@ -274,6 +277,12 @@
if ("norespawn")
config.respawn = 0
if ("respawn_as_mommi")
config.respawn_as_mommi = 1
if ("no_respawn_as_mouse")
config.respawn_as_mouse = 0
if ("servername")
config.server_name = value
@@ -475,6 +484,8 @@
config.bones_can_break = value
if("limbs_can_break")
config.limbs_can_break = value
if("respawn_delay")
config.respawn_delay = value
else
diary << "Unknown setting in configuration: '[name]'"