mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-25 17:08:48 -05:00
* clay is rarer now
This commit is contained in:
parent
ba1460a582
commit
5f52a622b6
@ -3144,9 +3144,9 @@ void makeChunk(ChunkMakeData *data)
|
|||||||
// Determine whether to have clay in the sand here
|
// Determine whether to have clay in the sand here
|
||||||
double claynoise = noise2d_perlin(
|
double claynoise = noise2d_perlin(
|
||||||
0.5+(float)p2d.X/500, 0.5+(float)p2d.Y/500,
|
0.5+(float)p2d.X/500, 0.5+(float)p2d.Y/500,
|
||||||
data->seed+4321, 8, 0.95);
|
data->seed+4321, 6, 0.95);
|
||||||
|
|
||||||
bool have_clay = have_sand && (claynoise > 0.95);
|
bool have_clay = have_sand && (claynoise > 1.25);
|
||||||
|
|
||||||
// Find ground level
|
// Find ground level
|
||||||
s16 surface_y = find_ground_level_clever(data->vmanip, p2d);
|
s16 surface_y = find_ground_level_clever(data->vmanip, p2d);
|
||||||
|
Loading…
Reference in New Issue
Block a user