Makes all global variables handled by the GLOB controller (#13152)

* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
This commit is contained in:
AffectedArc07
2020-03-21 03:56:37 +00:00
committed by GitHub
parent c8dbd0190e
commit 210f8badf4
667 changed files with 4243 additions and 4240 deletions

View File

@@ -13,7 +13,7 @@
var/selecting = 0
/obj/structure/blob/core/New(loc, var/h = 200, var/client/new_overmind = null, var/new_rate = 2, offspring)
blob_cores += src
GLOB.blob_cores += src
START_PROCESSING(SSobj, src)
GLOB.poi_list |= src
adjustcolors(color) //so it atleast appears
@@ -38,7 +38,7 @@
/obj/structure/blob/core/Destroy()
blob_cores -= src
GLOB.blob_cores -= src
if(overmind)
overmind.blob_core = null
overmind = null
@@ -75,7 +75,7 @@
else
for(var/i = 1; i < 8; i += i)
Pulse(0, i, color)
for(var/b_dir in alldirs)
for(var/b_dir in GLOB.alldirs)
if(!prob(5))
continue
var/obj/structure/blob/normal/B = locate() in get_step(src, b_dir)

View File

@@ -7,7 +7,7 @@
point_return = 18
/obj/structure/blob/node/New(loc, var/h = 100)
blob_nodes += src
GLOB.blob_nodes += src
START_PROCESSING(SSobj, src)
..(loc, h)
@@ -21,7 +21,7 @@
src.overlays += C
/obj/structure/blob/node/Destroy()
blob_nodes -= src
GLOB.blob_nodes -= src
STOP_PROCESSING(SSobj, src)
return ..()