mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-12 20:53:16 +01:00
Mapgen: Set biomes flag explicitly
parent
4524aee758
commit
dded403409
@ -1080,13 +1080,13 @@ end
|
|||||||
-- Apply mapgen-specific mapgen code
|
-- Apply mapgen-specific mapgen code
|
||||||
if mg_name == "v6" then
|
if mg_name == "v6" then
|
||||||
register_mgv6_decorations()
|
register_mgv6_decorations()
|
||||||
minetest.set_mapgen_setting("mg_flags", "caves,nodungeons,decorations,light", true)
|
minetest.set_mapgen_setting("mg_flags", "biomes,caves,nodungeons,decorations,light", true)
|
||||||
elseif superflat then
|
elseif superflat then
|
||||||
-- Enforce superflat-like mapgen: No hills, lakes or caves
|
-- Enforce superflat-like mapgen: No hills, lakes or caves
|
||||||
minetest.set_mapgen_setting("mg_flags", "nocaves,nodungeons,nodecorations,light", true)
|
minetest.set_mapgen_setting("mg_flags", "biomes,nocaves,nodungeons,nodecorations,light", true)
|
||||||
minetest.set_mapgen_setting("mgflat_spflags", "nolakes,nohills", true)
|
minetest.set_mapgen_setting("mgflat_spflags", "nolakes,nohills", true)
|
||||||
else
|
else
|
||||||
minetest.set_mapgen_setting("mg_flags", "caves,nodungeons,decorations,light", true)
|
minetest.set_mapgen_setting("mg_flags", "biomes,caves,nodungeons,decorations,light", true)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Helper function for converting a MC probability to MT, with
|
-- Helper function for converting a MC probability to MT, with
|
||||||
|
Loading…
Reference in New Issue
Block a user