Makes the number of load/storable character slots a configurable value.

This commit is contained in:
PsiOmega
2014-10-14 10:05:22 +02:00
parent 7a6722bc31
commit 322e03dd06
4 changed files with 11 additions and 5 deletions

View File

@@ -69,6 +69,8 @@
var/cult_ghostwriter = 1 //Allows ghosts to write in blood in cult rounds...
var/cult_ghostwriter_req_cultists = 10 //...so long as this many cultists are active.
var/character_slots = 10 // The number of available character slots
var/max_maint_drones = 5 //This many drones can spawn,
var/allow_drone_spawn = 1 //assuming the admin allow them to.
@@ -493,6 +495,9 @@
if("req_cult_ghostwriter")
config.cult_ghostwriter_req_cultists = text2num(value)
if("character_slots")
config.character_slots = text2num(value)
if("allow_drone_spawn")
config.allow_drone_spawn = text2num(value)