From: Perttu Ahola Date: Mon, 15 Aug 2011 08:56:16 +0000 (+0300) Subject: modified mapgen to generate less lava X-Git-Tag: 0.2.20110922~43^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b85608e306c4b0bf74f5f132cdd61257eb7e9c1;p=oweals%2Fminetest.git modified mapgen to generate less lava --- diff --git a/src/mapgen.cpp b/src/mapgen.cpp index 4285378a0..aac2fc228 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -1818,7 +1818,7 @@ void make_block(BlockMakeData *data) vmanip.m_data[i] = MapNode(CONTENT_GRAVEL); } 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); for(s16 x1=-1; x1<=1; x1++)