Initialize fixing (#17279)

* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
This commit is contained in:
Kashargul
2025-03-08 13:59:29 -05:00
committed by GitHub
parent 76183beaa5
commit 46bea7cfa2
755 changed files with 1905 additions and 1904 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ GLOBAL_LIST_EMPTY(all_blobs)
var/base_name = "blob" // The name that gets appended along with the blob_type's name.
var/faction = FACTION_BLOB
/obj/structure/blob/Initialize(newloc, new_overmind)
/obj/structure/blob/Initialize(mapload, new_overmind)
if(new_overmind)
overmind = new_overmind
faction = overmind.blob_type.faction
+2 -2
View File
@@ -95,8 +95,8 @@ var/list/blob_cores = list()
/obj/structure/blob/core/classic
desired_blob_type = /datum/blob_type/classic
/obj/structure/blob/core/Initialize(newloc, client/new_overmind = null, new_rate = 2, placed = 0)
. = ..(newloc)
/obj/structure/blob/core/Initialize(mapload, client/new_overmind = null, new_rate = 2, placed = 0)
. = ..()
blob_cores += src
START_PROCESSING(SSobj, src)
update_icon() //so it atleast appears
+1 -1
View File
@@ -9,7 +9,7 @@
var/resource_delay = 0
var/resource_cooldown = 4 SECONDS
/obj/structure/blob/resource/Initialize(newloc, new_overmind)
/obj/structure/blob/resource/Initialize(mapload, new_overmind)
if(overmind)
overmind.resource_blobs += src
return ..()
+2 -2
View File
@@ -31,7 +31,7 @@ var/list/overminds = list()
/mob/observer/blob/get_default_language()
return default_language
/mob/observer/blob/Initialize(newloc, pre_placed = 0, starting_points = 60, desired_blob_type = null)
/mob/observer/blob/Initialize(mapload, pre_placed = 0, starting_points = 60, desired_blob_type = null)
blob_points = starting_points
if(pre_placed) //we already have a core!
placed = 1
@@ -54,7 +54,7 @@ var/list/overminds = list()
if(languages.len)
default_language = languages[1]
return ..(newloc)
return ..()
/mob/observer/blob/Destroy()
for(var/obj/structure/blob/B as anything in GLOB.all_blobs)