mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
/**
|
|
* testNiceProcess
|
|
* This process is an example of a simple update loop process that is
|
|
* relatively fast.
|
|
*/
|
|
|
|
/datum/controller/process/testNiceProcess/setup()
|
|
name = "Nice Process"
|
|
schedule_interval = 10 // every second
|
|
|
|
/datum/controller/process/testNiceProcess/doWork()
|
|
sleep(rand(1,5)) // Just to pretend we're doing something
|
|
|