From 66e20a9231b9fea823f9b683e495c57ef9a4ad41 Mon Sep 17 00:00:00 2001 From: sfence <sfence.software@gmail.com> Date: Fri, 04 Nov 2022 19:23:44 +0100 Subject: [PATCH] Add register_cable_tier API function (#612) --- technic/machines/other/coal_alloy_furnace.lua | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/technic/machines/other/coal_alloy_furnace.lua b/technic/machines/other/coal_alloy_furnace.lua index 58af679..c2de151 100644 --- a/technic/machines/other/coal_alloy_furnace.lua +++ b/technic/machines/other/coal_alloy_furnace.lua @@ -70,20 +70,19 @@ }) minetest.register_abm({ + label = "Machines: run coal alloy furnace", nodenames = {"technic:coal_alloy_furnace", "technic:coal_alloy_furnace_active"}, interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() - + if inv:get_size("src") == 1 then -- Old furnace -> convert it inv:set_size("src", 2) inv:set_stack("src", 2, inv:get_stack("src2", 1)) inv:set_size("src2", 0) end - - local recipe = nil for i, name in pairs({ "fuel_totaltime", -- Gitblit v1.8.0