From eaee57f68a6ef98bde851e5734e73cf41b6b5a1a Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:21:43 +0200 Subject: [PATCH] [MIRROR] Tints the screen for halloween [MDB IGNORE] (#24438) * Tints the screen for halloween (#79062) ## About The Pull Request Adds a color matrix to the game plate on halloween that greyscales slightly and dims/drops dim colors for a harsher dropoff I'm not sure the dropoff is strong enough, can't decide. ## Why It's Good For The Game ![276023326-205a3068-4f6c-4531-bc19-a3bb1f9f3a5e](https://github.com/tgstation/tgstation/assets/58055496/d6b3bd89-96a3-4da1-9d45-eac91f130c25) ## Changelog :cl: add: Screen is now more grungy for halloween /:cl: * Tints the screen for halloween --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- code/_onclick/hud/rendering/render_plate.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/_onclick/hud/rendering/render_plate.dm b/code/_onclick/hud/rendering/render_plate.dm index 867f7ca3aeb..02c43d34767 100644 --- a/code/_onclick/hud/rendering/render_plate.dm +++ b/code/_onclick/hud/rendering/render_plate.dm @@ -79,6 +79,10 @@ /atom/movable/screen/plane_master/rendering_plate/game_plate/Initialize(mapload, datum/hud/hud_owner) . = ..() add_filter("displacer", 1, displacement_map_filter(render_source = OFFSET_RENDER_TARGET(GRAVITY_PULSE_RENDER_TARGET, offset), size = 10)) + if(check_holidays(HALLOWEEN)) + // Makes things a tad greyscale (leaning purple) and drops low colors for vibes + // We're basically using alpha as better constant here btw + add_filter("spook_color", 2, color_matrix_filter(list(0.75,0.13,0.13,0, 0.13,0.7,0.13,0, 0.13,0.13,0.75,0, -0.06,-0.09,-0.08,1, 0,0,0,0))) // Blackness renders weird when you view down openspace, because of transforms and borders and such // This is a consequence of not using lummy's grouped transparency, but I couldn't get that to work without totally fucking up