From fadb973205f3ad378db409c32f0ecd93b7df73ee Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 3 Nov 2017 23:05:36 -0400 Subject: update boost_cart, currency, mesecons, pipeworks, and technic --- pipeworks/autoplace_pipes.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pipeworks/autoplace_pipes.lua') diff --git a/pipeworks/autoplace_pipes.lua b/pipeworks/autoplace_pipes.lua index a3f0b65..ec4b27e 100644 --- a/pipeworks/autoplace_pipes.lua +++ b/pipeworks/autoplace_pipes.lua @@ -159,6 +159,18 @@ function pipeworks.scan_pipe_surroundings(pos) pzp = f or pzp end +-- ...straight-only pipe... + + local match,a,b,c,d,e,f = pipeworks.get_axis_dir(nodetable, "pipeworks:straight_pipe") + if match then + pxm = a or pxm + pxp = b or pxp + pym = c or pym + pyp = d or pyp + pzm = e or pzm + pzp = f or pzp + end + -- ... other nodes local def_left = minetest.registered_nodes[nxp.name] -- the node that {pos} is to the left of (not the -- cgit v1.2.3