4 Commits

Author SHA1 Message Date
Michal Cieslakiewicz
ab24a65114 biogasmachines: compactor: Tubelib v2 adaptation, logic improvements.
Code updated to make machine fully compatible with Tubelib2 framework.

Major changes:

* supports Tubelib2 by using NodeStates class and new metadata
* BLOCKED state introduced when no space left in output tray
* set to FAULT when Biogas tank is empty
* on_punch diagnostics removed
* processing logic updated (fuel and ice checks reorganized,
  desired_state metadata introduced, improved state transition logic)

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-01-31 22:51:27 +01:00
Michal Cieslakiewicz
083910a8a3 biogasmachines: compactor crafting recipe changed.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-12-15 09:51:21 +01:00
Michal Cieslakiewicz
9a94184d5e biogasmachines: compactor logic improved.
Standby/resume logic fixed when one of working trays is empty
while machine is power-cycled.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-12-14 23:38:34 +01:00
Michal Cieslakiewicz
e72ffe28ad biogasmachines: compactor machine added.
Compactor machine compresses material using Biogas as fuel
and Ice cubes as coolant. Recipes are added using public
API function.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-12-14 21:26:29 +01:00