Allow use of most mapgens. Add some dungeon variety.
This commit is contained in:
parent
1aebdf3b47
commit
3e3e0c17d6
11 changed files with 280 additions and 211 deletions
9
init.lua
9
init.lua
|
@ -19,6 +19,14 @@ else
|
|||
end
|
||||
|
||||
|
||||
-- whether to use biomes and heightmap
|
||||
fun_caves.use_bi_hi = false
|
||||
local mg_params = minetest.get_mapgen_params()
|
||||
if mg_params and mg_params.mgname ~= "v6" and mg_params.mgname ~= "v5" then
|
||||
fun_caves.use_bi_hi = true
|
||||
end
|
||||
|
||||
|
||||
minetest.register_on_mapgen_init(function(mgparams)
|
||||
minetest.set_mapgen_params({flags="nocaves,nodungeons"})
|
||||
end)
|
||||
|
@ -66,7 +74,6 @@ end
|
|||
--dofile(fun_caves.path .. "/recipe_list.lua")
|
||||
|
||||
dofile(fun_caves.path .. "/abms.lua")
|
||||
dofile(fun_caves.path .. "/unionfind.lua")
|
||||
dofile(fun_caves.path .. "/nodes.lua")
|
||||
dofile(fun_caves.path .. "/deco.lua")
|
||||
dofile(fun_caves.path .. "/fungal_tree.lua")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue