mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 13:42:44 +00:00
More blob work. Blob core chunk added.
This commit is contained in:
@@ -102,6 +102,9 @@ var/list/blob_cores = list()
|
||||
point_rate = new_rate
|
||||
|
||||
/obj/structure/blob/core/Destroy()
|
||||
var/turf/T = get_turf(src)
|
||||
new /obj/item/weapon/blobcore_chunk(T, overmind.blob_type)
|
||||
|
||||
blob_cores -= src
|
||||
if(overmind)
|
||||
overmind.blob_core = null
|
||||
@@ -139,6 +142,8 @@ var/list/blob_cores = list()
|
||||
if(prob(5))
|
||||
B.change_to(/obj/structure/blob/shield/core, overmind)
|
||||
|
||||
overmind.blob_type.on_core_process(src)
|
||||
|
||||
/obj/structure/blob/core/proc/create_overmind(client/new_overmind, override_delay)
|
||||
if(overmind_get_delay > world.time && !override_delay)
|
||||
return
|
||||
@@ -192,4 +197,4 @@ var/list/blob_cores = list()
|
||||
if(initial(BT.difficulty) > difficulty_threshold)
|
||||
continue
|
||||
valid_types += BT
|
||||
return pick(valid_types)
|
||||
return pick(valid_types)
|
||||
|
||||
Reference in New Issue
Block a user