Adjust tree and meteor odds.

This commit is contained in:
Duane 2016-07-20 05:14:01 -05:00
parent 8e7e1f2d46
commit 212511b754
3 changed files with 4 additions and 2 deletions

View file

@ -288,7 +288,7 @@ fun_caves.treegen = function(minp, maxp, data, p2data, area, node)
end
local tree_n = minetest.get_perlin(tree_noise_1):get2d({x=math.floor((minp.x + 32) / 160) * 80, y=math.floor((minp.z + 32) / 160) * 80})
if not tree_n or minp.y < -112 or minp.y > 208 or (not fun_caves.DEBUG and tree_n < 1) then
if not tree_n or minp.y < -112 or minp.y > 208 or (not fun_caves.DEBUG and tree_n < 1.5) then
return
end