move invisibility to defines (#17612)

* move Invisibility to defines

* .

* .
This commit is contained in:
Kashargul
2025-04-27 16:47:53 +02:00
committed by GitHub
parent 58b214f1b3
commit f6a99359a9
92 changed files with 150 additions and 143 deletions
@@ -2,7 +2,7 @@
// Players cannot see or interact with these.
/obj/effect/map_effect
anchored = TRUE
invisibility = 99 // So a badmin can go view these by changing their see_invisible.
invisibility = INVISIBILITY_BADMIN // So a badmin can go view these by changing their see_invisible.
icon = 'icons/effects/map_effects.dmi'
// Below vars concern check_for_player_proximity() and is used to not waste effort if nobody is around to appreciate the effects.
@@ -46,7 +46,7 @@ when portals are shortly lived, or when portals are made to be obvious with spec
/obj/effect/map_effect/portal
name = "portal subtype"
invisibility = 0
invisibility = INVISIBILITY_NONE
opacity = TRUE
plane = TURF_PLANE
layer = ABOVE_TURF_LAYER