From ec416df7945f85bdb6fc50369b7049e52d96e791 Mon Sep 17 00:00:00 2001 From: hdastwb Date: Fri, 19 Jul 2013 01:36:55 -0400 Subject: added support for 6d facedir for all tube components, changed autoplace.lua to follow tubes.connect_sides rather than having each component coded individually, and added support for placing deployers and node breakers facing vertically --- autocrafter.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autocrafter.lua') diff --git a/autocrafter.lua b/autocrafter.lua index 77a0160..8cca0a5 100644 --- a/autocrafter.lua +++ b/autocrafter.lua @@ -52,7 +52,8 @@ minetest.register_node("pipeworks:autocrafter",{ local inv=meta:get_inventory() return inv:room_for_item("src",stack) end, - input_inventory="dst"}, + input_inventory="dst", + connect_sides={left=1, right=1, front=1, back=1, top=1, bottom=1}}, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec", -- cgit v1.2.3