Difference between revisions of "Liquid"

From Minetest Wiki
Jump to navigation Jump to search
(Ajout du Template Languages)
(→‎Liquid forms: Explain how liquids may be renewed)
Line 8: Line 8:
  
 
=== Liquid source ===
 
=== Liquid source ===
Liquid sources have the shape of a cube. A liquid source will generate flowing liquids around it from time to time. Liquid sources are usually subject to [[gravity]].
+
Liquid sources have the shape of a cube. A liquid source will generate flowing liquids around it from time to time, and, for renewable liquids, it also generates liquid sources (see below).
  
 
=== Flowing liquid ===
 
=== Flowing liquid ===
Flowing liquids take a “sloped” form and never the shape of a cube. Flowing liquids spread around the map until they drain. Flowing liquids are subject to gravity.
+
Flowing liquids take a “sloped” form and never the shape of a cube. Flowing liquids spread around the map until they drain. A flowing liquid can not sustain itself and always comes from a liquid source, either directly or indirectly. Without a liquid source, a flowing liquid will eventually drain out and disappear.
  
=== Liquid properties ===
+
== Liquid properties ==
 
All liquids share the following properties:
 
All liquids share the following properties:
 
* ''All properties of [[blocks]]''
 
* ''All properties of [[blocks]]''
Line 20: Line 20:
 
* Renewability: Renewable liquids have the property that new sources can be created when two or more sources are next to each other.
 
* Renewability: Renewable liquids have the property that new sources can be created when two or more sources are next to each other.
 
* Drowning damage: If set, it will a) reduce your [[Player#Breath|breath]] (“bubbles”) while you are inside and b) will cause damage to you every 2 seconds if you ran out of breath while inside
 
* Drowning damage: If set, it will a) reduce your [[Player#Breath|breath]] (“bubbles”) while you are inside and b) will cause damage to you every 2 seconds if you ran out of breath while inside
 +
 +
== Creation of liquid sources ==
 +
Renewable liquid create new liquid sources at open spaces. A new liquid source is created when:
 +
 +
* Two renewable liquid blocks of the same type touch each other diagonally
 +
* These blocks are also on the same height
 +
* One of the two “corners” is open space which allows liquids to flow in
 +
 +
When those criteria are met, the open space is filled with a new liquid source of the same type.
 +
 +
<gallery widths="400px" heights="256px">
 +
Liquid_renewing_part1.png|2 liquid sources (S) touch each other diagonally, but are seperated by solid blocks.
 +
Liquid_renewing_part2.png|The solid block at the top “corner” has been removed and a completely new liquid source block fills the empty space shortly after.
 +
Non-renewable liquid.png|For comparison, a non-renewable liquid just flows (F) instead.
 +
</gallery>
  
 
== Liquids in [[Games/Minetest Game|Minetest Game]] ==
 
== Liquids in [[Games/Minetest Game|Minetest Game]] ==

Revision as of 04:55, 21 November 2016

Languages Language: English • Deutsch • français
Mbox important.png This article is incomplete.
Please help expand this article to include more useful information.

Liquids are special dynamic blocks in Minetest.

Liquid forms

Liquids usually come in two forms: In source form and in flowing form.

Liquid source

Liquid sources have the shape of a cube. A liquid source will generate flowing liquids around it from time to time, and, for renewable liquids, it also generates liquid sources (see below).

Flowing liquid

Flowing liquids take a “sloped” form and never the shape of a cube. Flowing liquids spread around the map until they drain. A flowing liquid can not sustain itself and always comes from a liquid source, either directly or indirectly. Without a liquid source, a flowing liquid will eventually drain out and disappear.

Liquid properties

All liquids share the following properties:

  • All properties of blocks
  • Viscosity: How fast players can move through it and how fast new flowing liquids are generated, move and fall
  • Flowing range: How many flowing liquids are created at maximum per liquid source, it determines how far the liquid will “spread”. This is a number ranging from 0 to 8. If 0, no flowing liquids are generated at all. Usually, liquids have a flowing range of 8
  • Renewability: Renewable liquids have the property that new sources can be created when two or more sources are next to each other.
  • Drowning damage: If set, it will a) reduce your breath (“bubbles”) while you are inside and b) will cause damage to you every 2 seconds if you ran out of breath while inside

Creation of liquid sources

Renewable liquid create new liquid sources at open spaces. A new liquid source is created when:

  • Two renewable liquid blocks of the same type touch each other diagonally
  • These blocks are also on the same height
  • One of the two “corners” is open space which allows liquids to flow in

When those criteria are met, the open space is filled with a new liquid source of the same type.

Liquids in Minetest Game

The only liquids in Minetest Game are:

See also

Category:Liquid pointers