addtimer()

This commit is contained in:
Kyep
2018-09-28 23:59:58 -07:00
parent fd2cb10975
commit 8f2d73194f
2 changed files with 15 additions and 11 deletions

View File

@@ -120,4 +120,17 @@
B.mind.special_role = SPECIAL_ROLE_BLOB_OVERMIND
spawn(0)
if(is_offspring)
B.verbs -= /mob/camera/blob/verb/split_consciousness
B.verbs -= /mob/camera/blob/verb/split_consciousness
/obj/structure/blob/core/proc/lateblobtimer()
addtimer(CALLBACK(src, .proc/lateblobcheck), 50)
/obj/structure/blob/core/proc/lateblobcheck()
if(overmind)
overmind.add_points(60)
if(overmind.mind)
overmind.mind.special_role = SPECIAL_ROLE_BLOB_OVERMIND
else
log_debug("/obj/structure/blob/core/proc/lateblobcheck: Blob core lacks a overmind.mind.")
else
log_debug("/obj/structure/blob/core/proc/lateblobcheck: Blob core lacks an overmind.")