Fixes layering issues brought by the FoV PR. (#63903)

* Fixed most (not all) incorrect planes and layers detected by the unit test.
This commit is contained in:
Ghom
2022-02-09 19:40:00 +01:00
committed by GitHub
parent e3378532c3
commit c5d2b2e51e
111 changed files with 237 additions and 36 deletions
@@ -52,6 +52,7 @@
desc = "A resonating field that significantly damages anything inside of it when the field eventually ruptures. More damaging in low pressure environments."
icon_state = "shield1"
layer = ABOVE_ALL_MOB_LAYER
plane = ABOVE_GAME_PLANE
duration = 60 SECONDS
var/resonance_damage = 20
var/damage_multiplier = 1
@@ -125,6 +126,7 @@
/obj/effect/temp_visual/resonance_crush
icon_state = "shield1"
layer = ABOVE_ALL_MOB_LAYER
plane = ABOVE_GAME_PLANE
duration = 4
/obj/effect/temp_visual/resonance_crush/Initialize(mapload)
@@ -257,6 +257,7 @@
light_range = 7
light_flags = LIGHT_ATTACHED
layer = ABOVE_ALL_MOB_LAYER
plane = ABOVE_GAME_PLANE
var/sight_flags = SEE_MOBS
var/lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE