From 2e4d983be7592af81b49f95895acf064b8ec38a2 Mon Sep 17 00:00:00 2001 From: hdastwb Date: Sun, 21 Jul 2013 17:15:03 -0400 Subject: [PATCH] added connect_sides to appropriate tube tables --- technic/machines/mv/alloy_furnace.lua | 2 ++ technic/machines/mv/electric_furnace.lua | 2 ++ technic/machines/mv/grinder.lua | 2 ++ technic_chests/chest_commons.lua | 6 ++++-- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/technic/machines/mv/alloy_furnace.lua b/technic/machines/mv/alloy_furnace.lua index cadcb67..b7a837f 100644 --- a/technic/machines/mv/alloy_furnace.lua +++ b/technic/machines/mv/alloy_furnace.lua @@ -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(), diff --git a/technic/machines/mv/electric_furnace.lua b/technic/machines/mv/electric_furnace.lua index 7f205b5..a125d4b 100644 --- a/technic/machines/mv/electric_furnace.lua +++ b/technic/machines/mv/electric_furnace.lua @@ -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(), diff --git a/technic/machines/mv/grinder.lua b/technic/machines/mv/grinder.lua index a8ba7ac..e993794 100644 --- a/technic/machines/mv/grinder.lua +++ b/technic/machines/mv/grinder.lua @@ -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(), diff --git a/technic_chests/chest_commons.lua b/technic_chests/chest_commons.lua index 7786496..e6438bf 100644 --- a/technic_chests/chest_commons.lua +++ b/technic_chests/chest_commons.lua @@ -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() -- 2.30.2