Difference between revisions of "Liquid"

From Luanti Wiki
Jump to navigation Jump to search
(→‎Liquid properties: Flowing range)
(drowning damage)
Line 17: Line 17:
 
* 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
 
* 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.
 
* 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
  
 
== Liquids in the [[vanilla Minetest game]] ==
 
== Liquids in the [[vanilla Minetest game]] ==

Revision as of 18:24, 9 March 2016

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. Liquid sources are usually subject to gravity.

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.

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

Liquids in the vanilla Minetest game

The only liquids in the vanilla Minetest game are: