First stage of integrating Mauvebic's water flowing code. This is experimental

and doesn't move water yet - but at least it doesn't break anything :-)
This commit is contained in:
Vanessa Ezekowitz
2013-01-04 00:15:23 -05:00
parent 70d8e92aff
commit 6419ecb117
4 changed files with 162 additions and 40 deletions

View File

@ -178,6 +178,14 @@ function pipes_scansurroundings(pos)
(string.find(nym.name, "pipeworks:pump") ~= nil) then
pym=1
end
-- ...extra devices specified via the function's parameters
-- ...except that this part is not implemented yet
--
-- if (string.find(nym.name, "aero:outlet") ~= nil) then
-- pxm, pxp, pym, and/or pyp = 1 depending on the needed rules
-- end
end
function pipe_look_for_stackable_tanks(pos)