This commit is contained in:
silicons
2021-02-22 02:50:58 -07:00
parent 2878c443e0
commit 10369a482c
97 changed files with 366 additions and 399 deletions

View File

@@ -18,8 +18,8 @@ var/list/blobs = list()
var/mob/observer/blob/overmind = null
var/base_name = "blob" // The name that gets appended along with the blob_type's name.
/obj/structure/blob/New(var/newloc, var/new_overmind)
..(newloc)
/obj/structure/blob/Initialize(mapload, new_overmind)
. = ..()
if(new_overmind)
overmind = new_overmind
update_icon()
@@ -29,7 +29,6 @@ var/list/blobs = list()
blobs += src
consume_tile()
/obj/structure/blob/Destroy()
playsound(src.loc, 'sound/effects/splat.ogg', 50, 1) //Expand() is no longer broken, no check necessary.
blobs -= src

View File

@@ -81,8 +81,8 @@ var/list/blob_cores = list()
/obj/structure/blob/core/classic
desired_blob_type = /datum/blob_type/classic
/obj/structure/blob/core/New(var/newloc, var/client/new_overmind = null, new_rate = 2, placed = 0)
..(newloc)
/obj/structure/blob/core/Initialize(mapload, client/new_overmind, new_rate = 2, placed = FALSE)
. = ..()
blob_cores += src
START_PROCESSING(SSobj, src)
update_icon() //so it atleast appears

View File

@@ -9,8 +9,8 @@ var/list/blob_nodes = list()
health_regen = 3
point_return = 50
/obj/structure/blob/node/New(var/newloc)
..()
/obj/structure/blob/node/Initialize(mapload)
. = ..()
blob_nodes += src
START_PROCESSING(SSobj, src)
update_icon()

View File

@@ -9,8 +9,8 @@
var/resource_delay = 0
var/resource_cooldown = 4 SECONDS
/obj/structure/blob/resource/New(var/newloc, var/new_overmind)
..(newloc, new_overmind)
/obj/structure/blob/resource/Initialize(mapload, new_overmind)
. = ..()
if(overmind)
overmind.resource_blobs += src