mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 23:00:49 +02:00
Made pipes able to carry water!
It was just a minor logic error resulting from moving the water flowing code into it's own file when I originally imported it. Many thanks to Mauvebic for writing it!
This commit is contained in:
8
init.lua
8
init.lua
@ -135,8 +135,8 @@ end
|
||||
|
||||
-- now define the nodes!
|
||||
|
||||
local empty_nodenames = {}
|
||||
local full_nodenames = {}
|
||||
pipes_empty_nodenames = {}
|
||||
pipes_full_nodenames = {}
|
||||
|
||||
for xm = 0, 1 do
|
||||
for xp = 0, 1 do
|
||||
@ -310,8 +310,8 @@ for zp = 0, 1 do
|
||||
pipe_scanforobjects(pos)
|
||||
end
|
||||
})
|
||||
table.insert(empty_nodenames,"pipeworks:pipe_"..pname.."_empty") -- for the abms
|
||||
table.insert(full_nodenames,"pipeworks:pipe_"..pname.."_loaded") -- for bacon
|
||||
table.insert(pipes_empty_nodenames,"pipeworks:pipe_"..pname.."_empty") -- for the abms
|
||||
table.insert(pipes_full_nodenames,"pipeworks:pipe_"..pname.."_loaded") -- for bacon
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user