mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Replaces GoonPS scheduled_tasks and obj processing with SMC processing subsystems and timer
This commit is contained in:
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user