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

This commit is contained in:
Neerti
2018-12-10 15:28:19 -05:00
committed by Novacat
parent 1578c5c3c9
commit 86174593bf
154 changed files with 2639 additions and 1084 deletions

View File

@@ -9,14 +9,14 @@
desc = "The top of this twisted chunk of metal is faintly stamped with a five pointed star. 'Property of US Army, Pascal B - 1957'."
/obj/item/poi/pascalb/New()
processing_objects += src
START_PROCESSING(SSobj, src)
return ..()
/obj/item/poi/pascalb/process()
radiation_repository.radiate(src, 5)
/obj/item/poi/pascalb/Destroy()
processing_objects -= src
STOP_PROCESSING(SSobj, src)
return ..()
/obj/structure/closet/crate/oldreactor
@@ -37,13 +37,13 @@
desc = "This broken hunk of machinery looks extremely dangerous."
/obj/item/poi/brokenoldreactor/New()
processing_objects += src
START_PROCESSING(SSobj, src)
return ..()
/obj/item/poi/brokenoldreactor/process()
radiation_repository.radiate(src, 25)
/obj/item/poi/brokenoldreactor/Destroy()
processing_objects -= src
STOP_PROCESSING(SSobj, src)
return ..()