summaryrefslogtreecommitdiff
path: root/new_flow_logic/flowable_node_registry.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-08 14:27:40 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-08 14:27:40 +0100
commite98e4e268b5faf898a0b8f580d7da2b46ead05c4 (patch)
treef4620750b4520fbde990025b18962caf919b6c6c /new_flow_logic/flowable_node_registry.lua
parent7e09da50c2896e8a4bcfc6f666d5a63694e682bd (diff)
downloadpipeworks-e98e4e268b5faf898a0b8f580d7da2b46ead05c4.tar
pipeworks-e98e4e268b5faf898a0b8f580d7da2b46ead05c4.tar.gz
pipeworks-e98e4e268b5faf898a0b8f580d7da2b46ead05c4.tar.bz2
pipeworks-e98e4e268b5faf898a0b8f580d7da2b46ead05c4.tar.xz
pipeworks-e98e4e268b5faf898a0b8f580d7da2b46ead05c4.zip
new flow logic: flowable node registry: add initial support for transition triggers
Diffstat (limited to 'new_flow_logic/flowable_node_registry.lua')
-rw-r--r--new_flow_logic/flowable_node_registry.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/new_flow_logic/flowable_node_registry.lua b/new_flow_logic/flowable_node_registry.lua
index b0634d0..7651928 100644
--- a/new_flow_logic/flowable_node_registry.lua
+++ b/new_flow_logic/flowable_node_registry.lua
@@ -27,6 +27,12 @@ pipeworks.flowables.outputs = {}
pipeworks.flowables.outputs.list = {}
-- not currently any nodenames arraylist for this one as it's not currently needed.
+-- nodes with registered node transitions
+-- nodes will be switched depending on pressure level
+pipeworks.flowables.transitions = {}
+pipeworks.flowables.transitions.list = {} -- master list
+pipeworks.flowables.transitions.simple = {} -- nodes that change based purely on pressure
+
-- checks if a given node can flow in a given direction.