diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-01-04 01:34:25 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-01-04 01:34:25 -0500 |
commit | 0a1f90c391dcc4907665e1211c666310d36a740b (patch) | |
tree | a4b7456f0e7bcc8f456342d23e5d454794ee62c9 /flowing_logic.lua | |
parent | 88bc800ccb6c9445a76cf06f8ba73e3caeceb2de (diff) |
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 'flowing_logic.lua')
-rw-r--r-- | flowing_logic.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua index 95162a3..d58d124 100644 --- a/flowing_logic.lua +++ b/flowing_logic.lua @@ -86,22 +86,22 @@ local spigot_check = function(pos,node) end minetest.register_abm({ - nodenames = empty_nodenames, - interval = 15, + nodenames = pipes_empty_nodenames, + interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) check4inflows(pos,node) end }) minetest.register_abm({ - nodenames = full_nodenames, - interval = 10, + nodenames = pipes_full_nodenames, + interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) checksources(pos,node) end }) minetest.register_abm({ nodenames = {'pipeworks:outlet','pipeworks:spigot'}, - interval = 10, + interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) if node.name == 'pipeworks:outlet' then update_outlet(pos) |