diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-09-23 12:21:54 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-09-23 15:41:56 -0400 |
commit | 75cfac34e69aabb07c5f8b288c98c1e1164685bf (patch) | |
tree | 27a8a7259378df14d278ecc1c44752b3d4c824d3 /pipes.lua | |
parent | d5fe93345694f2d24f3f9006df5d05be5f9fe298 (diff) | |
download | pipeworks-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 'pipes.lua')
-rw-r--r-- | pipes.lua | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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" |