mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 19:25:18 +02:00
updated example map generator python script
This commit is contained in:
@@ -4711,6 +4711,9 @@ plan_b:
|
||||
/*
|
||||
Plan B: Get from map generator perlin noise function
|
||||
*/
|
||||
// This won't work if proper generation is disabled
|
||||
if(m_chunksize == 0)
|
||||
return WATER_LEVEL+2;
|
||||
double level = base_rock_level_2d(m_seed, p2d);
|
||||
return (s16)level;
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
NOTE: The goal is to increment this so that saved maps will be
|
||||
loadable by any version. Other compatibility is not
|
||||
maintained.
|
||||
Serialization format versions:
|
||||
Serialization format versions (for raw map data (blocks, nodes, sectors)):
|
||||
== Unsupported ==
|
||||
0: original networked test with 1-byte nodes
|
||||
1: update with 2-byte nodes
|
||||
|
Reference in New Issue
Block a user