Adds another parallax layer
This commit is contained in:
Regular → Executable
+6
@@ -21,6 +21,7 @@
|
|||||||
C.parallax_layers_cached = list()
|
C.parallax_layers_cached = list()
|
||||||
C.parallax_layers_cached += new /obj/screen/parallax_layer/layer_1(null, C.view)
|
C.parallax_layers_cached += new /obj/screen/parallax_layer/layer_1(null, C.view)
|
||||||
C.parallax_layers_cached += new /obj/screen/parallax_layer/layer_2(null, C.view)
|
C.parallax_layers_cached += new /obj/screen/parallax_layer/layer_2(null, C.view)
|
||||||
|
C.parallax_layers_cached += new /obj/screen/parallax_layer/layer_3(null, C.view)
|
||||||
|
|
||||||
C.parallax_layers = C.parallax_layers_cached.Copy()
|
C.parallax_layers = C.parallax_layers_cached.Copy()
|
||||||
|
|
||||||
@@ -278,6 +279,11 @@
|
|||||||
speed = 1
|
speed = 1
|
||||||
layer = 2
|
layer = 2
|
||||||
|
|
||||||
|
/obj/screen/parallax_layer/layer_3
|
||||||
|
icon_state = "layer3"
|
||||||
|
speed = 1.4
|
||||||
|
layer = 3
|
||||||
|
|
||||||
#undef LOOP_NONE
|
#undef LOOP_NONE
|
||||||
#undef LOOP_NORMAL
|
#undef LOOP_NORMAL
|
||||||
#undef LOOP_REVERSE
|
#undef LOOP_REVERSE
|
||||||
|
|||||||
Regular → Executable
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 150 KiB |
Reference in New Issue
Block a user