summaryrefslogtreecommitdiff
path: root/autocrafter.lua
diff options
context:
space:
mode:
authorhdastwb <hdastwb@hdastwb.heliohost.org>2013-07-19 01:36:55 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-07-19 19:16:26 -0400
commitec416df7945f85bdb6fc50369b7049e52d96e791 (patch)
tree93b42d89c37900f9f64bc456806ad9e61d3bd0a7 /autocrafter.lua
parent3862070bfd590a45272a267101baa37686e12a6d (diff)
downloadpipeworks-ec416df7945f85bdb6fc50369b7049e52d96e791.tar
pipeworks-ec416df7945f85bdb6fc50369b7049e52d96e791.tar.gz
pipeworks-ec416df7945f85bdb6fc50369b7049e52d96e791.tar.bz2
pipeworks-ec416df7945f85bdb6fc50369b7049e52d96e791.tar.xz
pipeworks-ec416df7945f85bdb6fc50369b7049e52d96e791.zip
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
Diffstat (limited to 'autocrafter.lua')
-rw-r--r--autocrafter.lua3
1 files changed, 2 insertions, 1 deletions
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",