From bd401e886b0e7df701eca931d332b6207b53e0f3 Mon Sep 17 00:00:00 2001 From: Byemoh Date: Thu, 17 Apr 2025 20:45:38 -0500 Subject: [PATCH] stuff for event --- code/_onclick/hud/parallax.dm | 18 +++++++++++++++++- config/config.txt | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/code/_onclick/hud/parallax.dm b/code/_onclick/hud/parallax.dm index ef95d619efb5..f6e87619e277 100755 --- a/code/_onclick/hud/parallax.dm +++ b/code/_onclick/hud/parallax.dm @@ -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) @@ -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) @@ -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) diff --git a/config/config.txt b/config/config.txt index f1630dc346eb..7d3a4206e960 100644 --- a/config/config.txt +++ b/config/config.txt @@ -465,4 +465,4 @@ MAX_SHUTTLE_SIZE 300 TOAST_NOTIFICATION_ON_INIT ## Enable/Disable Backrooms z-level generation at startup -BACKROOMS_ENABLED +#BACKROOMS_ENABLED