Adjust dungeon spawns.
This commit is contained in:
parent
3fe63e8fd8
commit
2ae0d2f2a1
2 changed files with 31 additions and 30 deletions
2
abms.lua
2
abms.lua
|
@ -404,7 +404,7 @@ minetest.register_abm({
|
|||
end
|
||||
end
|
||||
|
||||
local target_level = math.max(2, math.ceil(pos.y / -2000))
|
||||
local target_level = math.max(2, math.ceil((pos.y - 3 ^ math.random(9)) / -2000))
|
||||
|
||||
local desc
|
||||
for i = 1, 100 do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue