From e38f6f0983feb5725feab8f966d2385b7c7ae23d Mon Sep 17 00:00:00 2001
From: RealBadAngel <mk@realbadangel.pl>
Date: Tue, 23 Jul 2013 08:38:39 +0200
Subject: [PATCH] Merge pull request #62 from hdastwb/connect_sides

---
 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 @@
 			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 @@
 			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 @@
 			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 @@
 			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 @@
 			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 @@
 				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 @@
 					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()

--
Gitblit v1.8.0