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:
@ -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
|
||||
|
Reference in New Issue
Block a user