mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
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:
@@ -35,6 +35,7 @@
|
||||
name = "unholy glow"
|
||||
icon_state = "doorglow"
|
||||
layer = CLOSED_FIREDOOR_LAYER //above closed doors
|
||||
plane = GAME_PLANE
|
||||
|
||||
/obj/effect/temp_visual/cult/door/unruned
|
||||
icon_state = "unruneddoorglow"
|
||||
@@ -43,6 +44,7 @@
|
||||
name = "unholy glow"
|
||||
icon_state = "wallglow"
|
||||
layer = ABOVE_NORMAL_TURF_LAYER
|
||||
plane = GAME_PLANE
|
||||
|
||||
/obj/effect/temp_visual/cult/turf/floor
|
||||
icon_state = "floorglow"
|
||||
@@ -53,6 +55,7 @@
|
||||
icon_state = "space"
|
||||
duration = 600
|
||||
layer = ABOVE_OBJ_LAYER
|
||||
plane = GAME_PLANE
|
||||
|
||||
//visuals for runes being magically created
|
||||
/obj/effect/temp_visual/cult/rune_spawn
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
duration = 5
|
||||
randomdir = FALSE
|
||||
layer = BELOW_MOB_LAYER
|
||||
plane = GAME_PLANE
|
||||
var/splatter_type = "splatter"
|
||||
|
||||
/obj/effect/temp_visual/dir_setting/bloodsplatter/Initialize(mapload, set_dir)
|
||||
@@ -20,6 +21,7 @@
|
||||
if(SOUTH)
|
||||
target_pixel_y = -16
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE_UPPER
|
||||
if(EAST)
|
||||
target_pixel_x = 16
|
||||
if(WEST)
|
||||
@@ -34,10 +36,12 @@
|
||||
target_pixel_x = 16
|
||||
target_pixel_y = -16
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE_UPPER
|
||||
if(SOUTHWEST)
|
||||
target_pixel_x = -16
|
||||
target_pixel_y = -16
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE_UPPER
|
||||
animate(src, pixel_x = target_pixel_x, pixel_y = target_pixel_y, alpha = 0, time = duration)
|
||||
|
||||
/obj/effect/temp_visual/dir_setting/bloodsplatter/xenosplatter
|
||||
@@ -47,6 +51,7 @@
|
||||
name = "speedbike trails"
|
||||
icon_state = "ion_fade"
|
||||
layer = BELOW_MOB_LAYER
|
||||
plane = GAME_PLANE
|
||||
duration = 10
|
||||
randomdir = 0
|
||||
|
||||
@@ -136,7 +141,8 @@
|
||||
|
||||
/obj/effect/temp_visual/dir_setting/curse/grasp_portal
|
||||
icon = 'icons/effects/64x64.dmi'
|
||||
layer = LARGE_MOB_LAYER
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
plane = ABOVE_GAME_PLANE
|
||||
pixel_y = -16
|
||||
pixel_x = -16
|
||||
duration = 32
|
||||
@@ -156,6 +162,7 @@
|
||||
icon = 'icons/effects/beam_splash.dmi'
|
||||
icon_state = "beam_splash_l"
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
plane = ABOVE_GAME_PLANE
|
||||
pixel_y = -16
|
||||
duration = 50
|
||||
|
||||
@@ -315,6 +322,7 @@
|
||||
icon = 'icons/obj/guns/projectiles.dmi'
|
||||
icon_state = "kinetic_blast"
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
plane = ABOVE_GAME_PLANE
|
||||
duration = 4
|
||||
|
||||
/obj/effect/temp_visual/explosion
|
||||
@@ -480,6 +488,7 @@
|
||||
icon = 'icons/effects/effects_rcd.dmi'
|
||||
icon_state = ""
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
plane = ABOVE_GAME_PLANE
|
||||
anchored = TRUE
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
var/status = 0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "pew"
|
||||
icon = 'icons/obj/guns/projectiles.dmi'
|
||||
icon_state = "nothing"
|
||||
layer = ABOVE_MOB_LAYER
|
||||
layer = HITSCAN_PROJECTILE_LAYER
|
||||
plane = GAME_PLANE_FOV_HIDDEN
|
||||
anchored = TRUE
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
icon_state = "nothing"
|
||||
anchored = TRUE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE_UPPER
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
///time, in deciseconds, that this object will exist
|
||||
var/duration = 10
|
||||
|
||||
Reference in New Issue
Block a user