summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-06-03 12:58:50 +0100
committerparamat <mat.gregory@virginmedia.com>2016-06-05 16:37:02 +0100
commitd24f3841740b471eff384c8bd6e8bbfdfd03a3e2 (patch)
treede6aad2e1173a9bdf3e67d730f5c65bc25cffa06 /doc/lua_api.txt
parent7841f1c5098d73b7538623cf898ca1e32ac6773d (diff)
downloadminetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.tar.gz
minetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.tar.bz2
minetest-d24f3841740b471eff384c8bd6e8bbfdfd03a3e2.zip
Biome API: Add per-biome riverbed material and depth
Mgvalleys: Remove riverbed sand placement from base terrain generation Riverbed material placement moved to MapgenBasic::generateBiomes() Document fields and add note that the biome API is still unstable
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f348f5103..30f4d87df 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3723,6 +3723,9 @@ Definition tables
### Biome definition (`register_biome`)
+**Note**
+The biome API is still in an experimental phase and subject to change.
+
{
name = "tundra",
node_dust = "default:snow",
@@ -3742,6 +3745,9 @@ Definition tables
-- ^ Node that replaces all seawater nodes not in the defined surface layer.
node_river_water = "default:ice",
-- ^ Node that replaces river water in mapgens that use default:river_water.
+ node_riverbed = "default:gravel",
+ depth_riverbed = 2,
+ -- ^ Node placed under river water and thickness of this layer.
y_min = 1,
y_max = 31000,
-- ^ Lower and upper limits for biome.