summaryrefslogtreecommitdiff
path: root/technic_chests/chest_commons.lua
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-07-22 23:38:39 -0700
committerRealBadAngel <mk@realbadangel.pl>2013-07-22 23:38:39 -0700
commite38f6f0983feb5725feab8f966d2385b7c7ae23d (patch)
treef7388204026ef79f61033304214a55a1bc9086dc /technic_chests/chest_commons.lua
parentb7649c75fc6bc2618db6944d6cc74ce419e4c57c (diff)
parent2e4d983be7592af81b49f95895acf064b8ec38a2 (diff)
Merge pull request #62 from hdastwb/connect_sides
add tube routing support
Diffstat (limited to 'technic_chests/chest_commons.lua')
-rw-r--r--technic_chests/chest_commons.lua6
1 files changed, 4 insertions, 2 deletions
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()