mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-21 03:02:57 +00:00
* limits belly contetns to 200 items * there too * this too * don't strip blacklisted things * . * sometime later * no remains if belly is full * this * just warn for now * . * . * . * . * . * - * . * . * linter * faster * . * . * optimize * fix that * 20 should be ok * nom atom * . --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
17 lines
682 B
Plaintext
17 lines
682 B
Plaintext
//Fires five times every second.
|
|
|
|
PROCESSING_SUBSYSTEM_DEF(fastprocess)
|
|
name = "Fast Processing"
|
|
wait = 2
|
|
stat_tag = "FP"
|
|
flags = SS_NO_INIT
|
|
|
|
/datum/controller/subsystem/processing/fastprocess/Recover()
|
|
log_runtime("[name] subsystem Recover().")
|
|
if(SSfastprocess.current_thing)
|
|
log_runtime("current_thing was: (\ref[SSfastprocess.current_thing])[SSfastprocess.current_thing]([SSfastprocess.current_thing.type]) - currentrun: [length(SSfastprocess.currentrun)] vs total: [length(SSfastprocess.processing)]")
|
|
var/list/old_processing = SSfastprocess.processing.Copy()
|
|
for(var/datum/D in old_processing)
|
|
if(CHECK_BITFIELD(D.datum_flags, DF_ISPROCESSING))
|
|
processing |= D
|