diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-08-19 19:04:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 19:04:17 +0100 |
commit | 3cc25b700ac07db8670becb7dcab33cac75b59f3 (patch) | |
tree | 7d641a15ddf012001d4878a1c14a6efb4c578d54 /doc | |
parent | 1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2 (diff) | |
download | minetest-3cc25b700ac07db8670becb7dcab33cac75b59f3.tar.gz minetest-3cc25b700ac07db8670becb7dcab33cac75b59f3.tar.bz2 minetest-3cc25b700ac07db8670becb7dcab33cac75b59f3.zip |
Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ef70fe6f7..80d14bff5 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -279,7 +279,7 @@ of the game's nodes are to be used by the core mapgens. For example: minetest.register_alias("mapgen_stone", "default:stone") -### Aliases needed for all mapgens except Mapgen v6 +### Aliases needed for all mapgens except Mapgen V6 #### Base terrain @@ -289,28 +289,24 @@ of the game's nodes are to be used by the core mapgens. For example: #### Caves +Not required if cave liquid nodes are set in biome definitions. + * mapgen_lava_source #### Dungeons -Only needed for registered biomes where 'node_stone' is stone: +Not required if dungeon nodes are set in biome definitions. * mapgen_cobble * mapgen_stair_cobble * mapgen_mossycobble - -Only needed for registered biomes where 'node_stone' is desert stone: - * mapgen_desert_stone * mapgen_stair_desert_stone - -Only needed for registered biomes where 'node_stone' is sandstone: - * mapgen_sandstone * mapgen_sandstonebrick * mapgen_stair_sandstone_block -### Aliases needed for Mapgen v6 +### Aliases needed for Mapgen V6 #### Terrain and biomes @@ -346,6 +342,13 @@ Only needed for registered biomes where 'node_stone' is sandstone: * mapgen_mossycobble * mapgen_stair_desert_stone +### Setting the node used in Mapgen Singlenode + +By default the world is filled with air nodes. To set a different node use, for +example: + + minetest.register_alias("mapgen_singlenode", "default:stone") + |