From b68a66ef4ac159705a734df967e3fe29a87aeaaf Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 8 Jun 2013 01:00:49 -0400 Subject: Add vertical version of airtight pipe entry if automatically rotates to connect to the thing you point at, if a connection is possible. --- autoplace.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'autoplace.lua') diff --git a/autoplace.lua b/autoplace.lua index ddfdb76..c58a58b 100644 --- a/autoplace.lua +++ b/autoplace.lua @@ -209,6 +209,17 @@ function pipes_scansurroundings(pos) pzp=1 end + if (string.find(nym.name, "pipeworks:entry_panel") ~= nil) + and nym.param2 == 13 then + pym=1 + end + + if (string.find(nyp.name, "pipeworks:entry_panel") ~= nil) + and nyp.param2 == 13 then + pyp=1 + end + + -- ...pumps, grates... if (string.find(nym.name, "pipeworks:grating") ~= nil) or -- cgit v1.2.3