Merge pull request #5975 from Citadel-Station-13/upstream-merge-36419

[MIRROR] Lavaland / Lavaplanet is now visible from space
This commit is contained in:
deathride58
2018-03-17 23:50:59 +00:00
committed by GitHub
3 changed files with 43 additions and 14 deletions
+8 -1
View File
@@ -1,10 +1,17 @@
SUBSYSTEM_DEF(parallax)
name = "Parallax"
wait = 2
flags = SS_POST_FIRE_TIMING | SS_BACKGROUND | SS_NO_INIT
flags = SS_POST_FIRE_TIMING | SS_BACKGROUND
priority = FIRE_PRIORITY_PARALLAX
runlevels = RUNLEVEL_LOBBY | RUNLEVELS_DEFAULT
var/list/currentrun
var/planet_x_offset = 128
var/planet_y_offset = 128
/datum/controller/subsystem/parallax/Initialize(timeofday)
. = ..()
planet_y_offset = rand(100, 160)
planet_x_offset = rand(100, 160)
/datum/controller/subsystem/parallax/fire(resumed = 0)
if (!resumed)