Modification de Courant (flow)
Attention : vous n’êtes pas connecté(e). Votre adresse IP sera visible de tout le monde si vous faites des modifications. Si vous vous connectez ou créez un compte, vos modifications seront attribuées à votre propre nom d’utilisateur(rice) et vous aurez d’autres avantages.
Cette modification va être annulée.
Veuillez vérifier les différences ci-dessous, puis publier l’annulation si c’est bien ce que vous voulez faire.
Version actuelle | Votre texte | ||
Ligne 34 : | Ligne 34 : | ||
− | ▒7▒ | + | ▒7▒ ▒Slimseig |
Avant ▒7▒ ▒ | Avant ▒7▒ ▒ | ||
▒777▒ | ▒777▒ | ||
Ligne 115 : | Ligne 115 : | ||
L'eau est bloquée par la plupart des blocs solides., ceci inclus les murs, les bâtiments et les [[Vanne (floodgate)|vannes]], [[Porte (door)|portes]], et [[Trappe (Floor Hatch)|trappes]] fermées. Les [[Grilles (grates)|grilles murales]], les barres verticales, et les [[Fortification (fortification)|fortifications]] laissent passer les fluides. | L'eau est bloquée par la plupart des blocs solides., ceci inclus les murs, les bâtiments et les [[Vanne (floodgate)|vannes]], [[Porte (door)|portes]], et [[Trappe (Floor Hatch)|trappes]] fermées. Les [[Grilles (grates)|grilles murales]], les barres verticales, et les [[Fortification (fortification)|fortifications]] laissent passer les fluides. | ||
− | == | + | ==Evaporation== |
+ | Fluids that remain at a depth of 1/7 for long enough will evaporate. Evaporated fluids are simply removed from the game. In '''hot''' or '''scorching''' environments, [[murky pool]]s can evaporate at greater depths. | ||
− | + | ==Bugs== | |
+ | *Items pushed by flowing water may disappear {{Bug|895}} | ||
+ | *Flowing water seems to cause contaminants to multiply {{Bug|296}} | ||
+ | ▒ ▒ Support ▒ ▒ Spreads ▒232▒ | ||
+ | ▒▒7▒▒ ▒▒▒▒▒ ▒▒▒▒▒ | ||
+ | ▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒ | ||
+ | When done in an u-bend example the pushing above original fluid level can be easily appreciated, although it breaks the laws of regular fluid physics: | ||
+ | Start Step 1 Step 2 | ||
+ | ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ | ||
+ | ▒ I ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ | ||
+ | ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ | ||
+ | ▒ ▒ ▒ ▒ ▒ 7 ▒ ▒ ▒ ▒ ▒ | ||
+ | ▒ ▒ ▒ Collapse ▒ 7 ▒ ▒ Fluid ▒ ▒ ▒ | ||
+ | ▒ ▒ ▒ -----------> ▒ ▒ ▒ -----------> ▒545▒ ▒ | ||
+ | ▒▒7▒▒7▒ Support ▒▒▒▒▒7▒ Spreads ▒▒▒▒▒7▒ | ||
+ | ▒▒7777▒ ▒▒▒777▒ ▒▒▒777▒ | ||
+ | ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ | ||
+ | This is the basic principle that the '''[[magma piston]]''' exploit, if you want to prevent a future fix or simply want to simulate regular physics fluid behaviour, you can do something like this: | ||
+ | z-level Start Step 1 Step 2 | ||
+ | z+0 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ | ||
+ | z-1 ▒ | ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ | ||
+ | z-2 ▒ ▒ ▒ ▒ ▒ ▒ 7 7 ▒ ▒ ▒ ▒ ▒ | ||
+ | z-3 ▒ ▒ ▒ ▒ ▒ Collapse ▒ 7 7 ▒ ▒ Fluid ▒ ▒ ▒ | ||
+ | z-4 ▒ ▒?▒ -----------> ▒ ▒?▒ -----------> ▒55455▒?▒ | ||
+ | z-5 ▒▒777▒▒7▒ Support ▒▒▒7▒▒▒7▒ Spreads ▒▒▒7▒▒▒7▒ | ||
+ | z-6 ▒▒777777▒ ▒▒▒7▒777▒ ▒▒▒7▒777▒ | ||
+ | z-7 ▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ | ||
+ | |||
+ | z-3 Top View z-5 Top View z-3 Top View (Step 1) z-4 Top View (Step 2) | ||
+ | ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ | ||
+ | ▒ ▒ ▒▒▒▒▒▒▒ ▒ ▒ ▒44544▒ | ||
+ | Axis ▒ ▒▒▒ ▒▒▒ ▒▒777▒▒▒▒ ▒ 777 ▒▒▒ ▒45554▒▒▒ Axis | ||
+ | --------▒ ▒ ▒ ▒ ▒--------------▒▒777▒▒7▒--------------▒ 7 7 ▒?▒---------------▒55455▒?▒-------- | ||
+ | Cut ▒ ▒▒▒ ▒▒▒ ▒▒777▒▒▒▒ ▒ 777 ▒▒▒ ▒45554▒▒▒ Cut | ||
+ | ▒ ▒ ▒▒▒▒▒▒▒ ▒ ▒ ▒44544▒ | ||
+ | ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒ | ||
+ | This example involves dropping a giant ''(minimum size 3x3x1)'' donut/cylinder/tube of natural walls onto the fluid pool, given that it will teleport a donut/cylinder/tube of fluid in the same way ''(step 1)'' but after it spreads ''(step 2)'' it'll seem that the fluid actually went through the opening in the middle of the donut/cylinder/tube like a real fluid should behave, of course one exception it won't be pushed through the right tube like it should, you'll probably want to close the tile marked with a question mark "?" so it can give the impression of real fluid mechanics. | ||
+ | |||
+ | ==Natural Flow== | ||
+ | Many water sources such as [[river]]s and [[brook]]s are constantly flowing with '''natural flow'''. This is different from other flow effects in that it is always considered to be flowing water. This remains true even when the water flows into a complete dead end channel or even when blocked off with a floodgate. Any channels that link up to a naturally flowing source will soon become naturally flowing water as long as they remain on the same z-level. Diagonal steps have no effect on natural flow although they can be used to change [[pressure]]. | ||
+ | |||
+ | Trying to move natural flow up or down to a different z-level may have unpredictable results but in most cases this will break the natural flow effect resulting in still water that can only be made to flow by artificial means. | ||
+ | |||
+ | Naturally flowing water, depending on its environment, flows in a specific direction - when SHOW_FLOW_AMOUNTS is disabled, water which flows directly into a wall will flash white while other water remains blue. This flow direction is important to note, since it affects the operation of [[water wheel]]s: water which flows directly north or south will not power an east/west-aligned water wheel, and the opposite is also true. Diagonally flowing water, however, works for everything. | ||
+ | |||
+ | ==Fluid Depth== | ||
+ | {{Main|Water depth}} | ||
+ | Fluids can have a depth anywhere from 1 to 7. To see the depth of a tile of fluid you can look at it with {{k|k}} which will reveal the depth in the text at the right. Alternatively you can enable SHOW_FLOW_AMOUNTS which will replace the {{Tile|≈|1:0:1}} and {{Tile|~|1:0:1}} tiles with a numerical representation of the depth at all times. Turning on SHOW_FLOW_AMOUNTS does come with the drawback that you will no longer be able to see if a tile is flowing or not. | ||
+ | |||
+ | ==Obstructions== | ||
+ | Water can be stopped by most solid tiles. These include [[wall]]s and [[building]]s as well as closed [[floodgate]]s, [[door]]s, and [[hatch]]es. Exceptions are vertical [[grate]]s, vertical [[bars]], and [[fortification]]s, which will allow fluids to pass freely. | ||
+ | |||
+ | ==Evaporation== | ||
+ | Fluids that remain at a depth of 1/7 for long enough will evaporate. Evaporated fluids are simply removed from the game. In '''hot''' or '''scorching''' environments, [[murky pool]]s can evaporate at greater depths. | ||
==Bugs== | ==Bugs== | ||
− | + | *Items pushed by flowing water may disappear {{Bug|895}} | |
− | * | + | *Flowing water seems to cause contaminants to multiply {{Bug|296}} |
− | * |