summaryrefslogtreecommitdiff
path: root/pipes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pipes.lua')
-rw-r--r--pipes.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/pipes.lua b/pipes.lua
index 04988ca..3201d79 100644
--- a/pipes.lua
+++ b/pipes.lua
@@ -82,7 +82,10 @@ for index, connects in ipairs(cconnects) do
after_dig_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
end,
- on_rotate = false
+ on_rotate = false,
+ check_for_pole = pipeworks.check_for_vert_pipe,
+ check_for_horiz_pole = pipeworks.check_for_horiz_pipe,
+ pipenumber = index
})
local pgroups = {snappy = 3, pipe = 1, not_in_creative_inventory = 1}
@@ -114,7 +117,10 @@ for index, connects in ipairs(cconnects) do
after_dig_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
end,
- on_rotate = false
+ on_rotate = false,
+ check_for_pole = pipeworks.check_for_vert_pipe,
+ check_for_horiz_pole = pipeworks.check_for_horiz_pipe,
+ pipenumber = index
})
local emptypipe = "pipeworks:pipe_"..index.."_empty"