1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-23 16:30:19 +01:00

add no generate DARKAGE in nether -19600

This commit is contained in:
crabman77 2015-03-19 00:15:01 +01:00
parent 3be8905b12
commit 9b89200536

View File

@ -212,6 +212,7 @@ local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume,
end end
minetest.register_on_generated(function(minp, maxp, seed) minetest.register_on_generated(function(minp, maxp, seed)
if minp.y < -19600 then return end
print("DARKAGE: Generate stratus"); print("DARKAGE: Generate stratus");
generate_claylike("darkage:mud", minp, maxp, seed+1, 4, 0, 2, 0) generate_claylike("darkage:mud", minp, maxp, seed+1, 4, 0, 2, 0)
generate_claylike("darkage:silt", minp, maxp, seed+2, 4, -1, 1, 1) generate_claylike("darkage:silt", minp, maxp, seed+2, 4, -1, 1, 1)