From e9eb6c1ecf52ac82ae8e93b9dc7e5d4533475a8a Mon Sep 17 00:00:00 2001 From: Valentin Anger Date: Sun, 7 Jan 2018 15:05:17 +0100 Subject: [PATCH] "Minor code fixes" --- sparkcore/textures/bar_red.png | Bin 0 -> 158 bytes sparkfurnace/metalfurnace.lua | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 sparkcore/textures/bar_red.png diff --git a/sparkcore/textures/bar_red.png b/sparkcore/textures/bar_red.png new file mode 100644 index 0000000000000000000000000000000000000000..1c44b383427c9a04c26612112706d32ac49877c1 GIT binary patch literal 158 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{F!3HF+&llYeq&N#aB8wRqxP?KOkzv*x37{Z* ziKnkC`vV?1UL9?t&$UKCA=%83h!W@g+}zZ>5+Ij>!MP|ku_QG`p**uBL&4qCHy}kX vl^rN9;_2cT!f`$M$N2*r=65y%ffWlwPb%Zxt8okOf;4)%`njxgN@xNAFvKX? literal 0 HcmV?d00001 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 +})