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

@ -116,7 +116,10 @@ local register_one_tube = function(name, tname, dropname, desc, plain, noctrs, e
end
minetest.swap_node(pos, {name = "pipeworks:broken_tube_1"})
pipeworks.scan_for_tube_objects(pos)
end
end,
check_for_pole = pipeworks.check_for_vert_tube,
check_for_horiz_pole = pipeworks.check_for_horiz_tube,
tubenumber = tonumber(tname)
}
if style == "6d" then
nodedef.paramtype2 = "facedir"