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:
10
pipes.lua
10
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"
|
||||
|
Reference in New Issue
Block a user