mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
CavesRandomWalk: Make 'lava_depth' a mapgen parameter
As with 'large_cave_depth', lava depth was previously a fixed y value and therefore incompatible with the ability to shift terrain vertically. Add 'lava_depth' mapgen parameter to mgflat, mgfractal, mgv5, mgv7.
This commit is contained in:
parent
bc53c82bcf
commit
2652d8db19
14 changed files with 59 additions and 13 deletions
|
@ -36,6 +36,7 @@ struct MapgenFlatParams : public MapgenParams
|
|||
u32 spflags = 0;
|
||||
s16 ground_level = 8;
|
||||
s16 large_cave_depth = -33;
|
||||
s16 lava_depth = -256;
|
||||
float cave_width = 0.09f;
|
||||
float lake_threshold = -0.45f;
|
||||
float lake_steepness = 48.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue