Normalizes subsystem definitions

This commit is contained in:
Cyberboss
2017-03-22 11:50:46 -04:00
parent b1e4681c23
commit 7e14ec75fc
48 changed files with 85 additions and 273 deletions
+8 -2
View File
@@ -1,5 +1,4 @@
/datum/controller/subsystem
// Metadata; you should define these.
name = "fire coderbus" //name of the subsystem
@@ -29,8 +28,15 @@
var/datum/controller/subsystem/queue_next
var/datum/controller/subsystem/queue_prev
// Used to initialize the subsystem BEFORE the map has loaded
//Do not override
/datum/controller/subsystem/New()
..()
PreInit()
// Used to initialize the subsystem BEFORE the map has loaded
// Prefer to use Initialize if possible
/datum/controller/subsystem/proc/PreInit()
return
//This is used so the mc knows when the subsystem sleeps. do not override.
/datum/controller/subsystem/proc/ignite(resumed = 0)