mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user