mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
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.
This commit is contained in:
@@ -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",
|
||||
|
||||
|
Reference in New Issue
Block a user