mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Fixes parallax being visible in the "fog of war" (#19474)
* the most genius solution to a stupid problem * help me * perfect hatred
This commit is contained in:
@@ -11,6 +11,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
icon = 'icons/mob/mob.dmi'
|
||||
icon_state = "ghost"
|
||||
layer = GHOST_LAYER
|
||||
plane = GAME_PLANE
|
||||
stat = DEAD
|
||||
density = FALSE
|
||||
alpha = 127
|
||||
@@ -90,6 +91,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
toggle_all_huds_on(body)
|
||||
RegisterSignal(src, COMSIG_MOB_HUD_CREATED, .proc/set_ghost_darkness_level) //something something don't call this until we have a HUD
|
||||
..()
|
||||
plane = GAME_PLANE
|
||||
|
||||
/mob/dead/observer/Destroy()
|
||||
toggle_all_huds_off()
|
||||
@@ -146,7 +148,8 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
MA.icon = initial(icon)
|
||||
MA.icon_state = initial(icon_state)
|
||||
MA.underlays = COPY.underlays
|
||||
|
||||
MA.layer = GHOST_LAYER
|
||||
MA.plane = GAME_PLANE
|
||||
. = MA
|
||||
|
||||
/mob/dead/CanPass(atom/movable/mover, turf/target, height=0)
|
||||
|
||||
@@ -1075,7 +1075,7 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
MA.icon = path_image_icon
|
||||
MA.icon_state = path_image_icon_state
|
||||
MA.layer = ABOVE_OPEN_TURF_LAYER
|
||||
MA.plane = 0
|
||||
MA.plane = FLOOR_PLANE
|
||||
MA.appearance_flags = RESET_COLOR|RESET_TRANSFORM
|
||||
MA.color = path_image_color
|
||||
MA.dir = direction
|
||||
|
||||
Reference in New Issue
Block a user