furnacemonitor renamed to slmodules, this mod is intented
to include more smartline devices in the future so it is
more reasonable to keep them together.
Migration lbm action included to automatically convert
all old furnacemonitor nodes to new module name.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Both programmers support new 'func' tab in SaferLua Controller.
Empty data fields are really zero-length now instead of set to "--".
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
fuel_countdown_to_halt() function has been ported from Compactor
to remaining BiogasMachines consuming fuel - variable replaced
with direct metadata function call.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Call to keep_running() function from Tubelib2 API now always
uses default value of 1 regardless of machine type and actual
number of processed items. This has been ported from Compactor
to other BiogasMachines.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Biogasmachines descriptions changed in README.md.
Modpack version set to 2.0.
Tasks in TODO file updated as well.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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>
JetFurnace code has been derived from new gasfurnace so all new logic
and bugfixes are also implemented here.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Both Freezer and Gasifier transit from standby to blocked through running
state. Although Biogas Furnace is capable of direct standby->blocked
transition, adapt its behaviour to other Biogas machines.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Processing logic adapted from updated gasfurnace code (minus fuel).
Fixed checking for space in output tray for items with extra leftover
material (coal).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
More universal approach ported from freezer to check for output space.
Loop is used instead of fixed indices.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Processing logic ported from updated gasfurnace code.
Fixed checking for space in output tray for water in buckets.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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 checks reorganized, desired_state
metadata introduced, improved state transition logic)
Fixed:
* proper checking for space in output tray for items with vessels
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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
* on_punch diagnostics removed
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Changing hint bar recipe updates help image in source inventory as well
(ported from compactor).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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>
Unified_Inventory recipe registration code splitted: type is registered
before adding default recipes via API; recipe registration moved to
API function so it gets called every time function successfully runs
(ported from compactor.lua).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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>
During code replication from base freezer.lua to other Biogas Machines
in on_punch() callback a unnecessary call to biogasmachines.is_pipe_with_water()
function has been overlooked and left over. This commit removes that call
for gasifier and furnaces.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Crafting recipe for Memory Copier can contain silver instead of gold
if moreores mod is installed.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Memory Copier description can now be changed via formspec the same
way books are titled. Setting empty label resets name to default text.
TODO and README.md updated. Modpack version changed to 0.92.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Backported from Jet Furnace. When no fuel, device waits for some time
(the same value as for standby) before it shuts down automatically.
This timeout allows fuel to reach device in more complicated Tubelib
machineries.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Jet Furnace that is 2 times faster than standard version in both item cooking
time and Biogas consumption. Additionally it supports stack pulling from output
tray (can be paired with High Perf Pusher) and longer auto-poweroff delay
(to allow fuel to reach device before it automatically shuts down).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Recycler and Torch moved out of biogasmachines to future plans,
Gas Jet Furnace added. Indicator added.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Biogas Furnace is Tubelib-compatible version of standard furnace that
uses Biogas as fuel. All default furnace cooking recipes apply.
See gasfurnace.lua for details and differences.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>