Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion code/_onclick/hud/parallax.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
C.parallax_layers_cached = list()
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_1(null, src)
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_2(null, src)


/*
if(GLOB.minetype == MINETYPE_LAVALAND)
if(HAS_TRAIT(SSstation, STATION_TRAIT_MOONSCORCH))
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet/moonscorch(null, src)
Expand All @@ -24,6 +25,11 @@
if(GLOB.minetype == MINETYPE_JUNGLE)
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet/jungle(null, src)


The singularity consumes all
*/
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet/singularity(null, src)

if(SSparallax.random_layer)
C.parallax_layers_cached += new SSparallax.random_layer.type(null, src, FALSE, SSparallax.random_layer)
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_3(null, src)
Expand Down Expand Up @@ -380,3 +386,13 @@ INITIALIZE_IMMEDIATE(/atom/movable/screen/parallax_layer)

/atom/movable/screen/parallax_layer/planet/jungle
icon_state = "jungleland"

/atom/movable/screen/parallax_layer/planet/singularity
icon = 'icons/effects/288x288.dmi'
icon_state = "singularity_s9"
pixel_x = -128
pixel_y = -128

/atom/movable/screen/parallax_layer/planet/singularity/Initialize(mapload, datum/hud/hud_owner)
. = ..()
transform = matrix().Scale(0.5)
2 changes: 1 addition & 1 deletion config/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -465,4 +465,4 @@ MAX_SHUTTLE_SIZE 300
TOAST_NOTIFICATION_ON_INIT

## Enable/Disable Backrooms z-level generation at startup
BACKROOMS_ENABLED
#BACKROOMS_ENABLED
Loading