summaryrefslogtreecommitdiff
path: root/routing_tubes.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-09-23 12:21:54 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-09-23 15:41:56 -0400
commit75cfac34e69aabb07c5f8b288c98c1e1164685bf (patch)
tree27a8a7259378df14d278ecc1c44752b3d4c824d3 /routing_tubes.lua
parentd5fe93345694f2d24f3f9006df5d05be5f9fe298 (diff)
downloadpipeworks-75cfac34e69aabb07c5f8b288c98c1e1164685bf.tar
pipeworks-75cfac34e69aabb07c5f8b288c98c1e1164685bf.tar.gz
pipeworks-75cfac34e69aabb07c5f8b288c98c1e1164685bf.tar.bz2
pipeworks-75cfac34e69aabb07c5f8b288c98c1e1164685bf.tar.xz
pipeworks-75cfac34e69aabb07c5f8b288c98c1e1164685bf.zip
add signs_lib placement rules
only works on signs_lib commit dcdee222 or later.
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r--routing_tubes.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua
index 45fcea8..3a69c0a 100644
--- a/routing_tubes.lua
+++ b/routing_tubes.lua
@@ -162,6 +162,8 @@ if pipeworks.enable_one_way_tube then
after_place_node = pipeworks.after_place,
after_dig_node = pipeworks.after_dig,
on_rotate = pipeworks.on_rotate,
+ check_for_pole = pipeworks.check_for_vert_tube,
+ check_for_horiz_pole = pipeworks.check_for_horiz_tube
})
minetest.register_craft({
output = "pipeworks:one_way_tube 2",