(item_percent)..":gui_furnace_arrow_fg.png^[transformR270]"..
"list[context;dst;4.75,0.96;2,2;]"..
"list[current_player;main;0,4.5;9,1;]".. --hotbar
- "list[current_player;main;0,6;9,3;8]".. --inventory
+ "list[current_player;main;0,6;9,3;9]".. --inventory
"listring[context;dst]"..
"listring[current_player;main]"..
"image[3.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
"list[context;dst;4.75,0.96;2,2;]"..
"list[current_player;main;0,4.5;9,1;]"..
- "list[current_player;main;0,6;9,3;8]"..
+ "list[current_player;main;0,6;9,3;9]"..
"listring[context;dst]"..
"listring[current_player;main]"..
"listring[context;src]"..
end,
on_metadata_inventory_move = function(pos)
- minetest.get_node_timer(pos):start(1.0)
+ local timer = minetest.get_node_timer(pos)
+ if timer:is_started() == false then
+ timer:start(1.0)
+ end
end,
on_metadata_inventory_put = function(pos)
-- start timer function, it will sort out whether furnace can burn or not.
- minetest.get_node_timer(pos):start(1.0)
+ local timer = minetest.get_node_timer(pos)
+ if timer:is_started() == false then
+ timer:start(1.0)
+ end
end,
--[[
on_blast = function(pos)