--[[
atlantis mod
]]--
local water_gen = function( minp, maxp )
if maxp.y < 70 then
for lx = minp.x, maxp.x do
for ly = minp.y, maxp.y do
for lz = minp.z, maxp.z do
local p = { x = lx, y = ly, z = lz }
local n = minetest.env:get_node( p )
if n.name == "air" then
minetest.env:add_node( p, { name = "default:water_source" } )
end
end
end
end
end
end
minetest.register_on_generated( water_gen )
Users browsing this forum: Google [Bot] and 3 guests