Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created February 19, 2014 17:39
Show Gist options
  • Save PilzAdam/9097207 to your computer and use it in GitHub Desktop.
Save PilzAdam/9097207 to your computer and use it in GitHub Desktop.
minetest.register_on_mapgen_init(function(params)
minetest.set_mapgen_params({
mgname = "v7",
seed = params.seed,
water_level = 1,
flags = {
trees = false,
caves = true,
flat = false,
dungeons = false,
light = true,
},
})
end)
-- Result in map_meta.txt: mg_flags = trees, caves, dungeons, noflat, light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment