1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-24 16:38:49 -05:00

modified mapgen to generate less lava

This commit is contained in:
Perttu Ahola 2011-08-15 11:56:16 +03:00
parent 8ab77f4153
commit 4b85608e30

View File

@ -1818,7 +1818,7 @@ void make_block(BlockMakeData *data)
vmanip.m_data[i] = MapNode(CONTENT_GRAVEL); vmanip.m_data[i] = MapNode(CONTENT_GRAVEL);
} }
else if(noisebuf_ground_crumbleness.get(x,y,z) < else if(noisebuf_ground_crumbleness.get(x,y,z) <
-2.3 + MYMIN(0.1 * sqrt(MYMAX(0, -y)), 1.5)) -3.0 + MYMIN(0.1 * sqrt(MYMAX(0, -y)), 1.5))
{ {
vmanip.m_data[i] = MapNode(CONTENT_LAVASOURCE); vmanip.m_data[i] = MapNode(CONTENT_LAVASOURCE);
for(s16 x1=-1; x1<=1; x1++) for(s16 x1=-1; x1<=1; x1++)