Reorganize nodes.lua for clarity.
This commit is contained in:
parent
f5ed9d1cb2
commit
a117583db6
9 changed files with 707 additions and 683 deletions
|
@ -121,7 +121,7 @@ local function generate(p_minp, p_maxp, seed)
|
|||
math.randomseed(minetest.get_perlin(seed_noise):get2d({x=minp.x, y=minp.z}))
|
||||
|
||||
local fortress = maxp.y / 3100
|
||||
if maxp.y < -250 and (DEBUG or math.random(200) == 1) then
|
||||
if maxp.y < -250 and (DEBUG or math.random(20) == 1) then
|
||||
fun_caves.fortress(node, data, area, minp, maxp, math.ceil(maxp.y / 3100))
|
||||
write = true
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue