added connect_sides to appropriate tube tables

This commit is contained in:
hdastwb 2013-07-21 17:15:03 -04:00
parent e43e6cc1b0
commit 2e4d983be7
4 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_stone_defaults(),
@ -82,6 +83,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_stone_defaults(),

View File

@ -41,6 +41,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_stone_defaults(),
@ -87,6 +88,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_stone_defaults(),

View File

@ -41,6 +41,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
@ -86,6 +87,7 @@ minetest.register_node(
local inv=meta:get_inventory()
return inv:room_for_item("src",stack)
end,
connect_sides = {left=1, right=1, back=1, top=1, bottom=1},
},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),

View File

@ -11,8 +11,10 @@ tubes_properties = {insert_object=function(pos,node,stack,direction)
local inv=meta:get_inventory()
return inv:room_for_item("main",stack)
end,
input_inventory="main"}
input_inventory="main",
connect_sides = {left=1, right=1, front=1, back=1, top=1, bottom=1},
}
chest_can_dig = function(pos,player)
local meta = minetest.env:get_meta(pos);
local inv = meta:get_inventory()