1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-07-04 09:10:35 +02:00

Add vertical version of airtight pipe entry

if automatically rotates to connect to the thing you point at, if a connection
is possible.
This commit is contained in:
Vanessa Ezekowitz
2013-06-08 01:00:49 -04:00
parent a6faa00bdf
commit b68a66ef4a
3 changed files with 102 additions and 1 deletions

View File

@ -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