summaryrefslogtreecommitdiff
path: root/pipes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-09-30 08:52:13 -0400
committerGitHub <noreply@github.com>2017-09-30 08:52:13 -0400
commit879b4489b21946306004506bea51b32f6d9de6a2 (patch)
tree6138f169a50eb2b8d1dd65fd75c0d568da4d4073 /pipes.lua
parent2adcd3e777c45d5988ce21d3130fa8f6c6483e53 (diff)
parent1666dfc2c7f26ac4cfe0ac01b4e164b7bae36681 (diff)
Merge pull request #202 from thetaepsilon-gamedev/master
start of new_flow_logic reimplementation
Diffstat (limited to 'pipes.lua')
-rw-r--r--pipes.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/pipes.lua b/pipes.lua
index 9771e3b..54dfbd7 100644
--- a/pipes.lua
+++ b/pipes.lua
@@ -191,6 +191,16 @@ 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")
+pipeworks.pipes_full_nodenames = pipes_full_nodenames
+pipeworks.pipes_empty_nodenames = pipes_empty_nodenames
+
+
+
+
+if not pipeworks.enable_new_flow_logic then
+-- sorry, no indents... it messes with the patchlogs too much
+
+
minetest.register_abm({
nodenames = pipes_empty_nodenames,
interval = 1,
@@ -227,3 +237,6 @@ minetest.register_abm({
end
})
+
+
+end