1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

add signs_lib placement rules

only works on signs_lib commit dcdee222 or later.
This commit is contained in:
Vanessa Dannenberg
2019-09-23 12:21:54 -04:00
parent d5fe933456
commit 75cfac34e6
7 changed files with 266 additions and 5 deletions

View File

@ -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"