Skip to content

Commit 9e00584

Browse files
authoredJul 20, 2019
Improve documentation of mapgen aliases (#8693)
1 parent 76824ba commit 9e00584

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
 

‎doc/lua_api.txt

+10-9
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ of the game's nodes are to be used for core mapgen generation. For example:
286286

287287
minetest.register_alias("mapgen_stone", "default:stone")
288288

289-
### Aliases needed for all mapgens except Mapgen V6
289+
### Aliases for non-V6 mapgens
290+
291+
#### Essential aliases
290292

291293
* mapgen_stone
292294
* mapgen_water_source
@@ -296,17 +298,20 @@ of the game's nodes are to be used for core mapgen generation. For example:
296298
it is necessary to have a river liquid node with a short `liquid_range` and
297299
`liquid_renewable = false` to avoid flooding.
298300

299-
#### Deprecated aliases
301+
#### Optional aliases
300302

301303
* mapgen_lava_source
304+
305+
Fallback lava node used if cave liquids are not defined in biome definitions.
306+
Deprecated for non-V6 mapgens, define cave liquids in biome definitions instead.
307+
302308
* mapgen_cobble
303309

304-
Use biome-defined cave liquids and dungeon nodes instead.
310+
Fallback node used if dungeon nodes are not defined in biome definitions.
311+
Deprecated for non-V6 mapgens, define dungeon nodes in biome definitions instead.
305312

306313
### Aliases needed for Mapgen V6
307314

308-
#### Terrain and biomes
309-
310315
* mapgen_stone
311316
* mapgen_water_source
312317
* mapgen_lava_source
@@ -321,8 +326,6 @@ Use biome-defined cave liquids and dungeon nodes instead.
321326
* mapgen_snow
322327
* mapgen_ice
323328

324-
#### Flora
325-
326329
* mapgen_tree
327330
* mapgen_leaves
328331
* mapgen_apple
@@ -332,8 +335,6 @@ Use biome-defined cave liquids and dungeon nodes instead.
332335
* mapgen_pine_tree
333336
* mapgen_pine_needles
334337

335-
#### Dungeons
336-
337338
* mapgen_cobble
338339
* mapgen_stair_cobble
339340
* mapgen_mossycobble

0 commit comments

Comments
 (0)
Please sign in to comment.