1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Tune caves

This commit is contained in:
Perttu Ahola 2012-02-03 19:08:42 +02:00
parent 66bf7b0b01
commit 4c876ac62e

View File

@ -1461,12 +1461,10 @@ void make_block(BlockMakeData *data)
u32 bruises_count = volume_nodes * stone_surface_max_y / 40000000;
if(stone_surface_max_y < WATER_LEVEL - 20)
bruises_count = 0;
/*u32 caves_count = 0;
u32 bruises_count = 0;*/
for(u32 jj=0; jj<caves_count+bruises_count; jj++)
{
s16 min_tunnel_diameter = 2;
s16 max_tunnel_diameter = 5;
s16 max_tunnel_diameter = myrand_range(4,5);
u16 tunnel_routepoints = 20;
v3f main_direction(0,0,0);