mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-10 01:13:57 +01:00
todo: new flow logic: spigot/fountainheads to place flowing water on turn-off; make decorative gratings do something useful
This commit is contained in:
parent
fa4817136c
commit
edbb3aace9
@ -8,3 +8,15 @@ In non-finite mode, spigots and fountainheads will vanish water sources in their
|
|||||||
This is annoying though not game-breaking in non-finite mode, where water sources can at least be easily replenished.
|
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".
|
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.
|
It is debateable whether existing water sources should be marked for removal when the device turns on again.
|
||||||
|
|
||||||
|
-- Make spigots and fountainheads deactivate by placing a flowing water node
|
||||||
|
Currently, in non-finite mode, the spigots and fountainheads react to pressure dropping below threshold by deleting the water source they placed.
|
||||||
|
VanessaE would like this changed so that these nodes replace the water source with a flowing water source, such that it drains away at the same rate as surrounding water.
|
||||||
|
This should be a simple case of modifying the cleanup handler that is installed for these nodes by the helper that they use, to place flowing water instead of air in the situations where it would normally do so.
|
||||||
|
|
||||||
|
-- Decorative grating functionality
|
||||||
|
The decorative grating block currently is just that - purely decorative, it serves no purpose.
|
||||||
|
VanessaE would like this to function as an output with the following properties:
|
||||||
|
* While on, tries to randomly place a water source in an adjacent node every ABM interval, preferring to place it downwards first.
|
||||||
|
* Even with multiple water source nodes placed, only drains 1 unit pressure per ABM interval in non-finite mode. Finite mode will cause it to drain 1 unit per water source node placed and simply stop placing sources when below threshold pressure, like spigots and fountainheads already do.
|
||||||
|
* When turning off in non-finite mode, for all neighbour nodes, replace the water sources with flowing water as discussed above, but *only* if those neighbouring sources do not have any water source neighbours of their own in turn - this will prevent the block from creating a "hole" in a uniform pool of water sources.
|
||||||
|
Loading…
Reference in New Issue
Block a user