mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
move invisibility to defines (#17612)
* move Invisibility to defines * . * .
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
icon_state = "arrow_omni"
|
||||
|
||||
invisibility = 100
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
|
||||
// The atom which created this.
|
||||
var/atom/movable/creator
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
anchored = TRUE
|
||||
unacidable = TRUE
|
||||
simulated = FALSE
|
||||
invisibility = 100
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
|
||||
/obj/effect/wire_deleter/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/effect/falling_effect
|
||||
name = DEVELOPER_WARNING_NAME
|
||||
desc = "no data"
|
||||
invisibility = 101
|
||||
invisibility = INVISIBILITY_ABSTRACT
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
unacidable = TRUE
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
O.mmi = W
|
||||
O.post_mmi_setup()
|
||||
O.invisibility = 0
|
||||
O.invisibility = INVISIBILITY_NONE
|
||||
O.custom_name = created_name
|
||||
O.updatename("Default")
|
||||
|
||||
|
||||
@@ -448,7 +448,7 @@ GLOBAL_LIST_EMPTY(micro_tunnels)
|
||||
name = "mouse hole spawner"
|
||||
icon = 'icons/obj/landmark_vr.dmi'
|
||||
icon_state = "blue-x"
|
||||
invisibility = 101
|
||||
invisibility = INVISIBILITY_ABSTRACT
|
||||
|
||||
var/chance_to_spawn = 25
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ It also makes it so a ghost wont know where all the goodies/mobs are.
|
||||
total_spawns = -1
|
||||
destructible = 0
|
||||
anchored = TRUE
|
||||
invisibility = 101
|
||||
invisibility = INVISIBILITY_ABSTRACT
|
||||
spawn_types = list(
|
||||
/mob/living/simple_mob/animal/passive/gaslamp = 20,
|
||||
// /mob/living/simple_mob/vore/otie/feral = 10,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
density = FALSE
|
||||
ghost_query_type = /datum/ghost_query/stowaway
|
||||
anchored = TRUE
|
||||
invisibility = 60
|
||||
invisibility = INVISIBILITY_OBSERVER
|
||||
|
||||
var/occupant_type = "stowaway"
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@ FLOOR SAFES
|
||||
update_icon()
|
||||
|
||||
/obj/structure/safe/floor/hide(var/intact)
|
||||
invisibility = intact ? 101 : 0
|
||||
invisibility = intact ? INVISIBILITY_ABSTRACT : INVISIBILITY_NONE
|
||||
|
||||
/obj/structure/safe/floor/hides_under_flooring()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user