mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-19 22:51:40 +00:00
* Consistency Pass #1
Power cells of all types are now considered stock parts
Went through materials.dm and did some copy+paste work make material definitions consistent across the codebase (eg "steel" = 50 -> MAT_STEEL = 50)
* Machines are now instances in SSMachines
* Performance improvements by way of instancing all of SSmachines
* Fixes the powersink
* Revert "Consistency Pass #1"
This reverts commit cbeef1b5db.
* Update machines.dm
Styling changes
* Update machines.dm
* Update machines.dm
forgot to update the doc
17 lines
689 B
Plaintext
17 lines
689 B
Plaintext
//Fires five times every second.
|
|
|
|
PROCESSING_SUBSYSTEM_DEF(fastprocess)
|
|
name = "Fast Processing"
|
|
wait = 0.2 SECONDS
|
|
stat_tag = "FP"
|
|
var/list/machinery = list()
|
|
|
|
/datum/controller/subsystem/processing/fastprocess/Recover()
|
|
log_debug("[name] subsystem Recover().")
|
|
if(SSfastprocess.current_thing)
|
|
log_debug("current_thing was: (\ref[SSfastprocess.current_thing])[SSfastprocess.current_thing]([SSfastprocess.current_thing.type]) - currentrun: [SSfastprocess.currentrun.len] vs total: [SSfastprocess.processing.len]")
|
|
var/list/old_processing = SSfastprocess.processing.Copy()
|
|
for(var/datum/D in old_processing)
|
|
if(CHECK_BITFIELD(D.datum_flags, DF_ISPROCESSING))
|
|
processing |= D
|