diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-05-10 18:28:57 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-05-10 18:28:57 -0400 |
commit | d4dddc41ec199ffc73f1ad10f900b42c3164a46f (patch) | |
tree | e2d61bc3a91a9042499279ed09179c3f1cd2f67c /flowing_logic.lua | |
parent | 509fac3845cc06b5b1673d9516fd998265058298 (diff) |
add flow sensor. Sends mesecons signal when water is flowing through it.
Diffstat (limited to 'flowing_logic.lua')
-rw-r--r-- | flowing_logic.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua index e633983..a375aeb 100644 --- a/flowing_logic.lua +++ b/flowing_logic.lua @@ -104,11 +104,13 @@ table.insert(pipes_empty_nodenames,"pipeworks:valve_on_empty") table.insert(pipes_empty_nodenames,"pipeworks:valve_off_empty") table.insert(pipes_empty_nodenames,"pipeworks:valve_on_loaded") table.insert(pipes_empty_nodenames,"pipeworks:entry_panel_empty") +table.insert(pipes_empty_nodenames,"pipeworks:flow_sensor_empty") table.insert(pipes_full_nodenames,"pipeworks:valve_on_empty") table.insert(pipes_full_nodenames,"pipeworks:valve_off_empty") table.insert(pipes_full_nodenames,"pipeworks:valve_on_loaded") table.insert(pipes_full_nodenames,"pipeworks:entry_panel_loaded") +table.insert(pipes_full_nodenames,"pipeworks:flow_sensor_loaded") minetest.register_abm({ nodenames = pipes_empty_nodenames, |