Starlight

This commit ports baystation12's implementation of starlight, modified to
rely on the master-controller due to differences between us, -tg-, and
bay12. Starlight allows space tiles to give off light, the amount of light
can be configured in config.txt.
This commit is contained in:
Tigercat2000
2015-05-10 18:31:21 -07:00
parent c2038640f7
commit fd799d6844
5 changed files with 30 additions and 2 deletions
+6 -1
View File
@@ -74,6 +74,7 @@ datum/controller/game_controller/proc/setup()
color_windows_init()
setup_objects()
setup_starlight()
setupgenetics()
setupfactions()
setup_economy()
@@ -83,7 +84,6 @@ datum/controller/game_controller/proc/setup()
make_mining_asteroid_secret()
populate_spawn_points()
/* MOVED TO SCHEDULER
spawn(0)
@@ -125,6 +125,11 @@ datum/controller/game_controller/proc/setup_objects()
world << "\red \b Initializations complete."
sleep(-1)
datum/controller/game_controller/proc/setup_starlight()
world << "\red \b Initializing Starlight"
for(var/turf/space/S in world)
S.update_starlight()
world << "\red \b Starlight Initilization Complete"
datum/controller/game_controller/proc/process()
processing = 1