Adds Floor Lights (and makes lights not have random ranges) (#26923)

* Adds Floor Lights

* undef

* remove TECHNICAL DEBT™

* remove more technical debt™

* mapping changes
This commit is contained in:
Contrabang
2024-10-06 09:33:31 +00:00
committed by GitHub
parent b6f51c1f49
commit 413ddc8b73
15 changed files with 204 additions and 131 deletions
+5 -2
View File
@@ -99,8 +99,11 @@
cut_overlay(exposure_overlay)
if(glow_icon && glow_icon_state)
glow_overlay = image(icon = glow_icon, icon_state = glow_icon_state, dir = dir, layer = 1)
glow_overlay.plane = LIGHTING_LAMPS_PLANE
glow_overlay = image(icon = glow_icon, icon_state = glow_icon_state, dir = dir, layer = -2)
if(layer <= LOW_OBJ_LAYER)
glow_overlay.plane = FLOOR_LIGHTING_LAMPS_PLANE // Yeah this sucks
else
glow_overlay.plane = LIGHTING_LAMPS_PLANE
glow_overlay.blend_mode = BLEND_ADD
if(glow_colored)