Skip to content

Commit

Permalink
[MIRROR] Tints the screen for halloween [MDB IGNORE] (#155)
Browse files Browse the repository at this point in the history
* Tints the screen for halloween (#79062)
---------

Co-authored-by: LemonInTheDark <[email protected]>
  • Loading branch information
Steals-The-PRs and LemonInTheDark authored Oct 19, 2023
1 parent 99beddb commit f19420d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/_onclick/hud/rendering/render_plate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f19420d

Please sign in to comment.