Volcano taper wall, deeper rivers, more river sand

This commit is contained in:
paramat
2014-04-02 02:44:33 +01:00
parent 6a49a77032
commit 5ea4bd4918
3 changed files with 25 additions and 20 deletions

View File

@ -3,7 +3,7 @@ function watershed_appletree(x, y, z, area, data)
local c_apple = minetest.get_content_id("default:apple")
local c_wsappleaf = minetest.get_content_id("watershed:appleleaf")
for j = -2, 4 do
if j >= 1 then
if j == 3 then
for i = -2, 2 do
for k = -2, 2 do
local vil = area:index(x + i, y + j + 1, z + k)
@ -14,6 +14,15 @@ function watershed_appletree(x, y, z, area, data)
end
end
end
elseif j == 2 or j == 4 then
for i = -1, 1 do
for k = -1, 1 do
if math.random(5) ~= 2 then
local vil = area:index(x + i, y + j + 1, z + k)
data[vil] = c_wsappleaf
end
end
end
end
local vit = area:index(x, y + j, z)
data[vit] = c_tree
@ -314,7 +323,7 @@ if SINGLENODE then
persist = 0.4
}
for chunk = 1, 32 do
print ("[watershed] chunk "..chunk)
print ("[watershed] searching for spawn "..chunk)
local x0 = 80 * math.random(-24, 24) - 32
local z0 = 80 * math.random(-24, 24) - 32
local y0 = -32