mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-23 08:41:43 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user