summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2020-05-20 22:16:14 +0100
committerGitHub <noreply@github.com>2020-05-20 22:16:14 +0100
commit42fcfb75e85523a2fa5d99a453c2fabc2c04c0f6 (patch)
tree5a76856ca96330263cce9fae1985172b671c8324 /doc
parentc47a680db7f3c2f241cc444a1257607492872412 (diff)
downloadminetest-42fcfb75e85523a2fa5d99a453c2fabc2c04c0f6.tar.gz
minetest-42fcfb75e85523a2fa5d99a453c2fabc2c04c0f6.tar.bz2
minetest-42fcfb75e85523a2fa5d99a453c2fabc2c04c0f6.zip
Allow more than 255 biomes, document new maximum (#9855)
Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 8b7c412ab..0101bd4cf 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7443,6 +7443,10 @@ Biome definition
Used by `minetest.register_biome`.
+The maximum number of biomes that can be used is 65535. However, using an
+excessive number of biomes will slow down map generation. Depending on desired
+performance and computing power the practical limit is much lower.
+
{
name = "tundra",