mirror of
https://github.com/goonstation/goonstation-2020.git
synced 2026-07-11 15:12:22 +01:00
19 lines
547 B
Plaintext
19 lines
547 B
Plaintext
datum/controller/process/particles
|
|
var/datum/particleMaster/master
|
|
|
|
setup()
|
|
name = "Particles"
|
|
schedule_interval = 10
|
|
|
|
// putting this in a var so main loop varedit can get into the particleMaster
|
|
master = particleMaster
|
|
|
|
doWork()
|
|
// TODO roll the "loop" code from particleMaster back into this system
|
|
master.Tick()
|
|
|
|
// regular timing doesn't really apply since particles abuse the shit out of spawn and sleep
|
|
tickDetail()
|
|
return "particle types: [master.particleTypes.len], particle systems: [master.particleSystems.len]<br>"
|
|
|