diff --git a/sparkcore/textures/bar_red.png b/sparkcore/textures/bar_red.png new file mode 100644 index 0000000..1c44b38 Binary files /dev/null and b/sparkcore/textures/bar_red.png differ diff --git a/sparkfurnace/metalfurnace.lua b/sparkfurnace/metalfurnace.lua index 9b7e543..8cbbe9e 100644 --- a/sparkfurnace/metalfurnace.lua +++ b/sparkfurnace/metalfurnace.lua @@ -54,7 +54,7 @@ local function update_formspec(pos) energy, minetest.get_item_group(minetest.get_node(pos).name, "sparktech_energy_max") , 0) - for item=1, 2 do -- Later this should only be done when a player looks into the block + for item=1, 2 do local cooked local aftercooked local progress = meta:get_int("progress_" .. item) @@ -100,7 +100,7 @@ local function mytime(pos, elapsed) -- minetest.debug(dump(pos) .. " : " .. dump(item)) end - update_formspec(pos) + update_formspec(pos) -- Later this should only be done when a player looks into the block if counter == 2 then newcycle = false -- this meens that both finished cooking and the other inventory is full @@ -173,4 +173,4 @@ minetest.register_craft({ recipe = { { 'group:steelplate', 'group:steelplate', 'group:steelplate' }, { 'group:steelplate', 'default:copper_ingot', 'group:steelplate' }, { 'group:steelplate', 'group:steelplate', 'group:steelplate' }} -}) \ No newline at end of file +})