diff options
Diffstat (limited to 'homedecor')
-rw-r--r-- | homedecor/doors_and_gates.lua | 4 | ||||
-rw-r--r-- | homedecor/handlers/furnaces.lua | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/homedecor/doors_and_gates.lua b/homedecor/doors_and_gates.lua index 3787e2b..1e6ae0a 100644 --- a/homedecor/doors_and_gates.lua +++ b/homedecor/doors_and_gates.lua @@ -392,7 +392,7 @@ for i in ipairs(gates_list) do end, mesecons = { effector = { - action_on = function(pos,node) homedecor.flip_gate(pos,node,player,gate, "closed") end + action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end } } } @@ -420,7 +420,7 @@ for i in ipairs(gates_list) do return itemstack end def.mesecons.effector = { - action_off = function(pos,node) homedecor.flip_gate(pos,node,player,gate, "open") end + action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end } minetest.register_node("homedecor:gate_"..gate.."_open", def) diff --git a/homedecor/handlers/furnaces.lua b/homedecor/handlers/furnaces.lua index aaa2fef..d436b49 100644 --- a/homedecor/handlers/furnaces.lua +++ b/homedecor/handlers/furnaces.lua @@ -30,7 +30,11 @@ local function make_formspec(furnacedef, percent) "list[current_name;fuel;2,3;1,1;]".. "list[current_name;src;2,1;1,1;]".. "list[current_name;dst;5,1;"..w..","..h..";]".. - "list[current_player;main;0,5;8,4;]" + "list[current_player;main;0,5;8,4;]".. + "listring[current_name;dst]".. + "listring[current_player;main]".. + "listring[current_name;src]".. + "listring[current_player;main]" end --[[ |