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
+1 -1
View File
@@ -6,7 +6,7 @@ GLOBAL_LIST_EMPTY(bump_teleporters)
icon_state = "x2"
var/id = null //id of this bump_teleporter.
var/id_target = null //id of bump_teleporter which this moves you to.
invisibility = 101 //nope, can't see this
invisibility = INVISIBILITY_ABSTRACT //nope, can't see this
anchored = TRUE
density = TRUE
opacity = 0
@@ -33,8 +33,8 @@ var/global/list/image/splatter_cache=list()
/obj/effect/decal/cleanable/blood/clean_blood()
fluorescent = 0
if(invisibility != 100)
invisibility = 100
if(invisibility != INVISIBILITY_MAXIMUM)
invisibility = INVISIBILITY_MAXIMUM
amount = 0
..(ignore=1)
+1 -1
View File
@@ -8,7 +8,7 @@
var/list/gibdirections = list() //of lists
var/fleshcolor //Used for gibbed humans.
var/bloodcolor //Used for gibbed humans.
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'
icon_state = "gibspawn"
+2 -2
View File
@@ -5,13 +5,13 @@
anchored = TRUE
unacidable = TRUE
simulated = FALSE
invisibility = 100
invisibility = INVISIBILITY_MAXIMUM
var/delete_me = FALSE
/obj/effect/landmark/Initialize(mapload)
. = ..()
tag = text("landmark*[]", name)
invisibility = 101
invisibility = INVISIBILITY_ABSTRACT
switch(name) //some of these are probably obsolete
if("monkey")
+1 -1
View File
@@ -7,7 +7,7 @@
/obj/effect/manifest/Initialize(mapload)
. = ..()
invisibility = 101
invisibility = INVISIBILITY_ABSTRACT
/obj/effect/manifest/proc/manifest()
var/dat = span_bold("Crew Manifest") + ":<BR>"
@@ -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
+1 -1
View File
@@ -11,7 +11,7 @@
name = "self deleting effect"
desc = "How are you examining what which cannot be seen?"
icon = 'icons/effects/effects.dmi'
invisibility = 0
invisibility = INVISIBILITY_NONE
var/time_to_die = 10 SECONDS // Afer which, it will delete itself.
/obj/effect/temporary_effect/Initialize(mapload)
+1 -1
View File
@@ -6,7 +6,7 @@
icon_state = "arrow_omni"
invisibility = 100
invisibility = INVISIBILITY_MAXIMUM
// The atom which created this.
var/atom/movable/creator
+2 -2
View File
@@ -5,7 +5,7 @@ GLOBAL_LIST_EMPTY(mapped_autostrips_mob)
/obj/effect/step_trigger
var/affect_ghosts = 0
var/stopper = 1 // stops throwers
invisibility = 99 // nope cant see this shit
invisibility = INVISIBILITY_BADMIN // nope cant see this shit
plane = ABOVE_PLANE
anchored = TRUE
icon = 'icons/mob/screen1.dmi' //VS Edit
@@ -333,7 +333,7 @@ But for now, for what it's been used for, it works.
unacidable = 1
layer = 99
anchored = 1
invisibility = 99
invisibility = INVISIBILITY_BADMIN
/obj/effect/autostriptarget/Initialize(mapload)
+1 -1
View File
@@ -5,7 +5,7 @@
anchored = TRUE
unacidable = TRUE
simulated = FALSE
invisibility = 100
invisibility = INVISIBILITY_MAXIMUM
/obj/effect/wire_deleter/Initialize(mapload)
. = ..()
+1 -1
View File
@@ -3,7 +3,7 @@
name = "zone divider"
icon = 'icons/mob/screen1.dmi'
icon_state = "x3"
invisibility = 101 //nope, can't see this
invisibility = INVISIBILITY_ABSTRACT //nope, can't see this
anchored = TRUE
density = FALSE
opacity = 0