Replaces GoonPS scheduled_tasks and obj processing with SMC processing subsystems and timer

This commit is contained in:
Neerti
2019-03-26 23:58:26 -04:00
committed by Novacat
parent 1578c5c3c9
commit 86174593bf
154 changed files with 2639 additions and 1084 deletions
@@ -16,13 +16,13 @@
if(H.isSynthetic() && H.get_FBP_type() != FBP_CYBORG) //If this on an FBP, it's just an extra inefficient attachment to whatever their brain is.
robotic_brain = TRUE
if(my_brain && my_brain.can_assist())
processing_objects.Add(src)
START_PROCESSING(SSobj, src)
/obj/item/weapon/implant/neural/Destroy()
if(my_brain)
if(my_brain.owner)
to_chat(my_brain.owner, "<span class='critical'>You feel a pressure in your mind as something is ripped away.</span>")
processing_objects.Remove(src)
STOP_PROCESSING(SSobj, src)
my_brain = null
return ..()
@@ -92,7 +92,7 @@ Implant Specifics:<BR>"}
/obj/item/weapon/implant/neural/meltdown()
..()
processing_objects.Remove(src)
STOP_PROCESSING(SSobj, src)
var/mob/living/carbon/human/H = null
if(my_brain && my_brain.owner)
if(ishuman(my_brain.owner))