mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Krausus
This commit is contained in:
@@ -10,16 +10,13 @@
|
||||
var/point_rate = 2
|
||||
var/is_offspring = null
|
||||
var/selecting = 0
|
||||
var/grab_overmind = 1
|
||||
|
||||
/obj/effect/blob/core/New(loc, var/h = 200, var/client/new_overmind = null, var/new_rate = 2, offspring, is_event)
|
||||
/obj/effect/blob/core/New(loc, var/h = 200, var/client/new_overmind = null, var/new_rate = 2, offspring)
|
||||
blob_cores += src
|
||||
processing_objects.Add(src)
|
||||
poi_list |= src
|
||||
adjustcolors(color) //so it atleast appears
|
||||
if(is_event)
|
||||
grab_overmind = 0
|
||||
if(!overmind && grab_overmind)
|
||||
if(!overmind)
|
||||
create_overmind(new_overmind)
|
||||
if(overmind)
|
||||
adjustcolors(overmind.blob_reagent_datum.color)
|
||||
@@ -64,7 +61,7 @@
|
||||
return // Don't regen, we handle it in Life()
|
||||
|
||||
/obj/effect/blob/core/Life()
|
||||
if(!overmind && grab_overmind)
|
||||
if(!overmind)
|
||||
create_overmind()
|
||||
else
|
||||
if(resource_delay <= world.time)
|
||||
@@ -94,7 +91,7 @@
|
||||
|
||||
|
||||
/obj/effect/blob/core/proc/create_overmind(var/client/new_overmind, var/override_delay)
|
||||
if(overmind_get_delay > world.time && !override_delay && !new_overmind)
|
||||
if(overmind_get_delay > world.time && !override_delay)
|
||||
return
|
||||
|
||||
overmind_get_delay = world.time + 3000 // 5 minutes
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
var/mob/C
|
||||
if(candidates.len)
|
||||
C = pick(candidates)
|
||||
Blob = new /obj/effect/blob/core(T, 200, null, 2, 0, 1)
|
||||
Blob.create_overmind(C.client, 1)
|
||||
Blob = new /obj/effect/blob/core(T, 200, C.client, 2, 0)
|
||||
for(var/i = 1; i < rand(3, 6), i++)
|
||||
Blob.process()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user