Ports /tg's StonedMC Subsystem from Baystation12

* Partial port of @PsiOmegaDelta's https://github.com/Baystation12/Baystation12/pull/16820
* Only ports the StonedMC changes, not the garbage collector (forthcoming in future)
This commit is contained in:
Leshana
2017-05-30 21:00:37 -04:00
parent a412b5063b
commit 90dff0ae63
21 changed files with 1763 additions and 61 deletions

View File

@@ -2,6 +2,10 @@
//It ensures master_controller.process() is never doubled up by killing the MC (hence terminating any of its sleeping procs)
//WIP, needs lots of work still
//
// TODO - This will be completely replaced by master.dm in time.
//
var/global/datum/controller/game_controller/master_controller //Set in world.New()
var/global/controller_iteration = 0
@@ -31,8 +35,6 @@ datum/controller/game_controller/New()
if(!syndicate_code_response) syndicate_code_response = generate_code_phrase()
datum/controller/game_controller/proc/setup()
world.tick_lag = config.Ticklag
spawn(20)
createRandomZlevel()