Flat map generator
Deprecated, use the mapgen "flat" in the world creation dialog.
This is how a flat map looks like.
Why? Well, it's for people which want to have a flat map for sure.
Since version 2, you can define the used nodes and create bedrock-like nodes at the bottom.
Define the used nodes: (init.lua)
- Code: Select all
-- Default, grass cover, dirt in between, stone under it
flatgen.cover = "default:dirt_with_grass"
flatgen.under = "default:dirt"
flatgen.ground = "default:stone"
--[[ Templates:
- Sand everywhere
flatgen.cover = "default:sand"
flatgen.under = "default:sand"
flatgen.ground = "default:sand"
- Desert sand, sand, sandstone
flatgen.cover = "default:desert_sand"
flatgen.under = "default:sand"
flatgen.ground = "default:sandstone"
- Wool, wool, obsidian
flatgen.cover = "wool:white"
flatgen.under = "wool:white"
flatgen.ground = "default:obsidian"
]]
Other settings:
- Code: Select all
flatgen.cover_y = 1 -- Y position of the cover node [1]
flatgen.depth = 3 -- Depth of the "under" node [3]
flatgen.limit_y = true -- False = map generation stops at 100m under cover_y
License: WTFPL
Depends: none (Depends on the wanted terrain nodes)
Download: master.zip (GitHub), Browse code