This eliminates issues and warnings for transparent textures when running
minetest version 5.4 or newer.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This fix brings machine back into player inventory when dug instead
of destroying it completely. Thanks to Joe7575 and TechWolf.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Apparently in recent versions of TechPack API after_dig_node() method
has been functionally replaced by on_dig_node(), so all Biogas Machines
caused server to crash during removal. This commit fixes that problem.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Version 5.0.0 apparently modified inventory box so height value
0.9 for color background area in active tray was too big. Changed
to 0.88 which looks ok now.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Remove "Tubelib" string from infotext, we all know that these are
Tubelib devices. Keep this information in node description though
so searching in updated inventory managers shows these as Tubelib
items.
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>
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>
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>
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>