some more globals (#19098)

* some more globals

* .
This commit is contained in:
Kashargul
2026-01-29 18:21:58 +01:00
committed by GitHub
parent 24e68536bc
commit fdfb49012b
50 changed files with 164 additions and 176 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
var/list/blob_cores = list()
GLOBAL_LIST_EMPTY(blob_cores)
/obj/structure/blob/core
name = "blob core"
@@ -99,7 +99,7 @@ var/list/blob_cores = list()
/obj/structure/blob/core/Initialize(mapload, client/new_overmind = null, new_rate = 2, placed = 0)
. = ..()
blob_cores += src
GLOB.blob_cores += src
START_PROCESSING(SSobj, src)
update_icon() //so it atleast appears
point_rate = new_rate
@@ -117,7 +117,7 @@ var/list/blob_cores = list()
var/turf/T = get_turf(src)
new /obj/item/blobcore_chunk(T, overmind.blob_type)
blob_cores -= src
GLOB.blob_cores -= src
if(overmind)
overmind.blob_core = null
qdel(overmind)
+3 -3
View File
@@ -1,4 +1,4 @@
var/list/blob_nodes = list()
GLOBAL_LIST_EMPTY(blob_nodes)
/obj/structure/blob/node
name = "blob node"
@@ -11,12 +11,12 @@ var/list/blob_nodes = list()
/obj/structure/blob/node/Initialize(mapload, new_overmind)
. = ..()
blob_nodes += src
GLOB.blob_nodes += src
START_PROCESSING(SSobj, src)
update_icon()
/obj/structure/blob/node/Destroy()
blob_nodes -= src
GLOB.blob_nodes -= src
STOP_PROCESSING(SSobj, src)
return ..()
+3 -3
View File
@@ -1,4 +1,4 @@
var/list/overminds = list()
GLOBAL_LIST_EMPTY(overminds)
/mob/observer/blob
name = "Blob Overmind"
@@ -36,7 +36,7 @@ var/list/overminds = list()
if(pre_placed) //we already have a core!
placed = 1
overminds += src
GLOB.overminds += src
var/new_name = "[initial(name)] ([rand(1, 999)])"
name = new_name
real_name = new_name
@@ -67,7 +67,7 @@ var/list/overminds = list()
BM.overmind = null
BM.update_icons()
overminds -= src
GLOB.overminds -= src
return ..()
/mob/observer/blob/get_status_tab_items()