finishes work on adapting the goon process scheduler for BS12.

This commit is contained in:
Graham Lloyd
2015-03-04 05:14:36 -05:00
parent 8364c3de2d
commit 160183ebd5
8 changed files with 96 additions and 21 deletions

View File

@@ -17,9 +17,9 @@
solar_next_update = world.time // init the timer
angle = rand (0,360) // the station position to the sun is randomised at round start
/hook/startup/proc/createSun()
/*/hook/startup/proc/createSun() // handled in scheduler
sun = new /datum/sun()
return 1
return 1*/
// calculate the sun's position given the time of day
// at the standard rate (100%) the angle is increase/decreased by 6 degrees every minute.