summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-04 01:34:25 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-04 01:34:25 -0500
commit0a1f90c391dcc4907665e1211c666310d36a740b (patch)
treea4b7456f0e7bcc8f456342d23e5d454794ee62c9 /init.lua
parent88bc800ccb6c9445a76cf06f8ba73e3caeceb2de (diff)
downloadpipeworks-0a1f90c391dcc4907665e1211c666310d36a740b.tar
pipeworks-0a1f90c391dcc4907665e1211c666310d36a740b.tar.gz
pipeworks-0a1f90c391dcc4907665e1211c666310d36a740b.tar.bz2
pipeworks-0a1f90c391dcc4907665e1211c666310d36a740b.tar.xz
pipeworks-0a1f90c391dcc4907665e1211c666310d36a740b.zip
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!
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index fe85f40..d7da236 100644
--- a/init.lua
+++ b/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