[MIRROR] code/global.dm => code/_global_vars/ (#10689)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-21 19:16:48 +02:00
committed by GitHub
co-authored by Selis Kashargul
parent a7718c6177
commit f04f992cfe
474 changed files with 1401 additions and 1421 deletions
+1 -1
View File
@@ -244,7 +244,7 @@
closed_turfs |= T
valid_turfs |= T
for(var/dir in alldirs)
for(var/dir in GLOB.alldirs)
var/turf/neighbor = get_step(T,dir)
if(!neighbor || (neighbor in closed_turfs) || (neighbor in open_turfs))
continue
@@ -213,7 +213,7 @@
var/direction = 16
for(var/wallDir in cardinal)
for(var/wallDir in GLOB.cardinal)
var/turf/newTurf = get_step(T,wallDir)
if(newTurf.density)
direction |= wallDir
@@ -2,7 +2,7 @@
/obj/effect/plant/proc/get_cardinal_neighbors()
var/list/cardinal_neighbors = list()
for(var/check_dir in cardinal)
for(var/check_dir in GLOB.cardinal)
var/turf/simulated/T = get_step(get_turf(src), check_dir)
//VOREStation Edit Start - Vines can go up/down stairs, but don't register that they have done this, so do so infinitely, which is annoying and laggy.
if(istype(T) && !isopenturf(check_dir)) //Let's not have them go on open space where you can't really get to them.
@@ -114,7 +114,7 @@
src.visible_message(span_danger("Tendrils lash out from \the [src] and drag \the [victim] in!"))
victim.forceMove(src.loc)
buckle_mob(victim)
victim.set_dir(pick(cardinal))
victim.set_dir(pick(GLOB.cardinal))
to_chat(victim, span_danger("Tendrils [pick("wind", "tangle", "tighten")] around you!"))
victim.Weaken(0.5)
seed.do_thorns(victim,src)