From 75cfac34e69aabb07c5f8b288c98c1e1164685bf Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Mon, 23 Sep 2019 12:21:54 -0400 Subject: add signs_lib placement rules only works on signs_lib commit dcdee222 or later. --- devices.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'devices.lua') diff --git a/devices.lua b/devices.lua index 340fc4d..3d23210 100644 --- a/devices.lua +++ b/devices.lua @@ -706,7 +706,9 @@ minetest.register_node(nodename_sp_empty, { end, selection_box = sp_cbox, collision_box = sp_cbox, - on_rotate = pipeworks.fix_after_rotation + on_rotate = pipeworks.fix_after_rotation, + check_for_pole = pipeworks.check_for_vert_pipe, + check_for_horiz_pole = pipeworks.check_for_horiz_pipe }) local nodename_sp_loaded = "pipeworks:straight_pipe_loaded" @@ -727,7 +729,9 @@ minetest.register_node(nodename_sp_loaded, { selection_box = sp_cbox, collision_box = sp_cbox, drop = "pipeworks:straight_pipe_empty", - on_rotate = pipeworks.fix_after_rotation + on_rotate = pipeworks.fix_after_rotation, + check_for_pole = pipeworks.check_for_vert_pipe, + check_for_horiz_pole = pipeworks.check_for_horiz_pipe }) new_flow_logic_register.directional_horizonal_rotate(nodename_sp_empty, true) -- cgit v1.2.3