mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Normalizes subsystem definitions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user