[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 10:16:48 -07:00
committed by GitHub
parent a7718c6177
commit f04f992cfe
474 changed files with 1401 additions and 1421 deletions

View File

@@ -26,7 +26,7 @@ GLOBAL_LIST_EMPTY(all_blobs)
update_icon()
if(!integrity)
integrity = max_integrity
set_dir(pick(cardinal))
set_dir(pick(GLOB.cardinal))
GLOB.all_blobs += src
consume_tile()
return ..()
@@ -142,7 +142,7 @@ GLOBAL_LIST_EMPTY(all_blobs)
/obj/structure/blob/proc/expand(turf/T = null, controller = null, expand_reaction = 1)
if(!T)
var/list/dirs = cardinal.Copy()
var/list/dirs = GLOB.cardinal.Copy()
for(var/i = 1 to 4)
var/dirn = pick(dirs)
dirs.Remove(dirn)

View File

@@ -189,7 +189,7 @@
/mob/observer/blob/proc/expand_blob(turf/T)
var/obj/structure/blob/B = null
var/turf/other_T = null
for(var/direction in cardinal)
for(var/direction in GLOB.cardinal)
other_T = get_step(T, direction)
if(other_T)
B = locate(/obj/structure/blob) in other_T
@@ -238,7 +238,7 @@
if(locate(/obj/structure/blob) in get_turf(L))
return FALSE // Already has a blob over them.
for(var/direction in cardinal)
for(var/direction in GLOB.cardinal)
var/turf/T = get_step(L, direction)
var/obj/structure/blob/B = locate(/obj/structure/blob) in T
if(B && B.overmind == src)