summaryrefslogtreecommitdiff
path: root/todo/new_flow_logic.txt
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-10-09 06:38:54 -0400
committerGitHub <noreply@github.com>2017-10-09 06:38:54 -0400
commita028aef9c9d82fa43e872b0802b02dbcf0fbb62c (patch)
tree173534203c946a9914dddc393361fb36ec7a8e01 /todo/new_flow_logic.txt
parent879b4489b21946306004506bea51b32f6d9de6a2 (diff)
parent467907602bec6f3a7adfa3058257732a8b903214 (diff)
downloadpipeworks-a028aef9c9d82fa43e872b0802b02dbcf0fbb62c.tar
pipeworks-a028aef9c9d82fa43e872b0802b02dbcf0fbb62c.tar.gz
pipeworks-a028aef9c9d82fa43e872b0802b02dbcf0fbb62c.tar.bz2
pipeworks-a028aef9c9d82fa43e872b0802b02dbcf0fbb62c.tar.xz
pipeworks-a028aef9c9d82fa43e872b0802b02dbcf0fbb62c.zip
Merge pull request #204 from thetaepsilon-gamedev/master
More pressure_logic work
Diffstat (limited to 'todo/new_flow_logic.txt')
-rw-r--r--todo/new_flow_logic.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/todo/new_flow_logic.txt b/todo/new_flow_logic.txt
new file mode 100644
index 0000000..5d83c55
--- /dev/null
+++ b/todo/new_flow_logic.txt
@@ -0,0 +1,10 @@
+-- Directionality code
+Currently, only "simple" flowable nodes exist, and they will always equalise pressure with all six neighbours.
+A more sophisticated behaviour for this would be flowable node registration with some kind of custom callback, such that water can only flow into or out of these nodes in certain directions.
+This would enable devices such as the airtight panels, sensor tubes and valves to have correct flow behaviour.
+
+-- (may not be possible) stop removing water nodes that were not placed by outputs when off
+In non-finite mode, spigots and fountainheads will vanish water sources in their output positions, even if those output nodes did not place them there.
+This is annoying though not game-breaking in non-finite mode, where water sources can at least be easily replenished.
+Fixing this would require some kind of metadata marker on water nodes placed by spigots and fountains, such that only water sources placed while the device is "on" are removed when it is "off".
+It is debateable whether existing water sources should be marked for removal when the device turns on again.