1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

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

This commit is contained in:
hdastwb
2013-07-19 01:36:55 -04:00
committed by Vanessa Ezekowitz
parent 3862070bfd
commit ec416df794
7 changed files with 530 additions and 333 deletions

View File

@ -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",