mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Tune caves
This commit is contained in:
parent
66bf7b0b01
commit
4c876ac62e
1 changed files with 1 additions and 3 deletions
|
@ -1461,12 +1461,10 @@ void make_block(BlockMakeData *data)
|
||||||
u32 bruises_count = volume_nodes * stone_surface_max_y / 40000000;
|
u32 bruises_count = volume_nodes * stone_surface_max_y / 40000000;
|
||||||
if(stone_surface_max_y < WATER_LEVEL - 20)
|
if(stone_surface_max_y < WATER_LEVEL - 20)
|
||||||
bruises_count = 0;
|
bruises_count = 0;
|
||||||
/*u32 caves_count = 0;
|
|
||||||
u32 bruises_count = 0;*/
|
|
||||||
for(u32 jj=0; jj<caves_count+bruises_count; jj++)
|
for(u32 jj=0; jj<caves_count+bruises_count; jj++)
|
||||||
{
|
{
|
||||||
s16 min_tunnel_diameter = 2;
|
s16 min_tunnel_diameter = 2;
|
||||||
s16 max_tunnel_diameter = 5;
|
s16 max_tunnel_diameter = myrand_range(4,5);
|
||||||
u16 tunnel_routepoints = 20;
|
u16 tunnel_routepoints = 20;
|
||||||
|
|
||||||
v3f main_direction(0,0,0);
|
v3f main_direction(0,0,0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue