mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-11 15:15:32 +01:00
optimizes transfer (#18943)
* 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>
This commit is contained in:
@@ -11,7 +11,7 @@ PROCESSING_SUBSYSTEM_DEF(bellies)
|
||||
/datum/controller/subsystem/processing/bellies/Recover()
|
||||
log_runtime("[name] subsystem Recover().")
|
||||
if(SSbellies.current_thing)
|
||||
log_runtime("current_thing was: (\ref[SSbellies.current_thing])[SSbellies.current_thing]([SSbellies.current_thing.type]) - currentrun: [SSbellies.currentrun.len] vs total: [SSbellies.processing.len]")
|
||||
log_runtime("current_thing was: (\ref[SSbellies.current_thing])[SSbellies.current_thing]([SSbellies.current_thing.type]) - currentrun: [length(SSbellies.currentrun)] vs total: [length(SSbellies.processing)]")
|
||||
var/list/old_processing = SSbellies.processing.Copy()
|
||||
for(var/datum/D in old_processing)
|
||||
if(!isbelly(D))
|
||||
|
||||
@@ -9,7 +9,7 @@ PROCESSING_SUBSYSTEM_DEF(fastprocess)
|
||||
/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: [SSfastprocess.currentrun.len] vs total: [SSfastprocess.processing.len]")
|
||||
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))
|
||||
|
||||
@@ -7,7 +7,7 @@ PROCESSING_SUBSYSTEM_DEF(obj)
|
||||
/datum/controller/subsystem/processing/obj/Recover()
|
||||
log_runtime("[name] subsystem Recover().")
|
||||
if(SSobj.current_thing)
|
||||
log_runtime("current_thing was: (\ref[SSobj.current_thing])[SSobj.current_thing]([SSobj.current_thing.type]) - currentrun: [SSobj.currentrun.len] vs total: [SSobj.processing.len]")
|
||||
log_runtime("current_thing was: (\ref[SSobj.current_thing])[SSobj.current_thing]([SSobj.current_thing.type]) - currentrun: [length(SSobj.currentrun)] vs total: [length(SSobj.processing)]")
|
||||
var/list/old_processing = SSobj.processing.Copy()
|
||||
for(var/datum/D in old_processing)
|
||||
if(!isobj(D))
|
||||
|
||||
@@ -18,7 +18,7 @@ SUBSYSTEM_DEF(processing)
|
||||
/datum/controller/subsystem/processing/Recover()
|
||||
log_runtime("[name] subsystem Recover().")
|
||||
if(SSprocessing.current_thing)
|
||||
log_runtime("current_thing was: (\ref[SSprocessing.current_thing])[SSprocessing.current_thing]([SSprocessing.current_thing.type]) - currentrun: [SSprocessing.currentrun.len] vs total: [SSprocessing.processing.len]")
|
||||
log_runtime("current_thing was: (\ref[SSprocessing.current_thing])[SSprocessing.current_thing]([SSprocessing.current_thing.type]) - currentrun: [length(SSprocessing.currentrun)] vs total: [length(SSprocessing.processing)]")
|
||||
var/list/old_processing = SSprocessing.processing.Copy()
|
||||
for(var/datum/D in old_processing)
|
||||
if(CHECK_BITFIELD(D.datum_flags, DF_ISPROCESSING))
|
||||
|
||||
@@ -11,7 +11,7 @@ PROCESSING_SUBSYSTEM_DEF(projectiles)
|
||||
/datum/controller/subsystem/processing/projectiles/Recover()
|
||||
log_runtime("[name] subsystem Recover().")
|
||||
if(SSprojectiles.current_thing)
|
||||
log_runtime("current_thing was: (\ref[SSprojectiles.current_thing])[SSprojectiles.current_thing]([SSprojectiles.current_thing.type]) - currentrun: [SSprojectiles.currentrun.len] vs total: [SSprojectiles.processing.len]")
|
||||
log_runtime("current_thing was: (\ref[SSprojectiles.current_thing])[SSprojectiles.current_thing]([SSprojectiles.current_thing.type]) - currentrun: [length(SSprojectiles.currentrun)] vs total: [length(SSprojectiles.processing)]")
|
||||
var/list/old_processing = SSprojectiles.processing.Copy()
|
||||
for(var/datum/D in old_processing)
|
||||
if(CHECK_BITFIELD(D.datum_flags, DF_ISPROCESSING))
|
||||
|
||||
@@ -6,7 +6,7 @@ PROCESSING_SUBSYSTEM_DEF(turfs)
|
||||
/datum/controller/subsystem/processing/turfs/Recover()
|
||||
log_runtime("[name] subsystem Recover().")
|
||||
if(SSturfs.current_thing)
|
||||
log_runtime("current_thing was: (\ref[SSturfs.current_thing])[SSturfs.current_thing]([SSturfs.current_thing.type]) - currentrun: [SSturfs.currentrun.len] vs total: [SSturfs.processing.len]")
|
||||
log_runtime("current_thing was: (\ref[SSturfs.current_thing])[SSturfs.current_thing]([SSturfs.current_thing.type]) - currentrun: [length(SSturfs.currentrun)] vs total: [length(SSturfs.processing)]")
|
||||
var/list/old_processing = SSturfs.processing.Copy()
|
||||
for(var/datum/D in old_processing)
|
||||
if(!isturf(D))
|
||||
|
||||
Reference in New Issue
Block a user