summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-01-04 23:10:55 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-05 00:10:55 +0100
commit549cfd9db80c858bdc8d23a237ea57ccf5f68400 (patch)
treef027da5fdacc905d5f5941aa645e68e5994adb51 /doc
parentff2ceed381f0f9c7da5e147cdb9abf0118804ed6 (diff)
downloadminetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.tar.gz
minetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.tar.bz2
minetest-549cfd9db80c858bdc8d23a237ea57ccf5f68400.zip
Biomes: Add vertical biome blend (#6853)
Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 54a5e7b57..432f33ae1 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4989,18 +4989,18 @@ Definition tables
y_min = 1,
y_max = 31000,
-- ^ Lower and upper limits for biome.
+ vertical_blend = 8,
+ -- ^ Vertical distance in nodes above 'y_max' over which the biome will
+ -- ^ blend with the biome above.
+ -- ^ Set to 0 for no vertical blend. Defaults to 0.
heat_point = 0,
humidity_point = 50,
- -- ^ Characteristic average temperature and humidity for the biome.
- -- ^ These values create 'biome points' on a voronoi diagram that has heat
- -- ^ and humidity as axes. The resulting voronoi cells determine which
- -- ^ heat/humidity points belong to which biome, and therefore determine
- -- ^ the area and location of each biome in the world.
- -- ^ The biome points need to be carefully and evenly spaced on the voronoi
- -- ^ diagram to result in roughly equal size biomes.
+ -- ^ Characteristic temperature and humidity for the biome.
+ -- ^ These values create 'biome points' on a voronoi diagram with heat and
+ -- ^ humidity as axes. The resulting voronoi cells determine the
+ -- ^ distribution of the biomes.
-- ^ Heat and humidity have average values of 50, vary mostly between
- -- ^ 0 and 100 but also often exceed these values.
- -- ^ Heat is not in degrees Celsius, both values are abstract.
+ -- ^ 0 and 100 but can exceed these values.
}
### Decoration definition (`register_decoration`)