Corrected mistakes in Readme

master
Gael-de-Sailly 2014-09-27 20:16:45 +02:00
parent 91e3555bb0
commit a284ef5c26
1 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,10 @@ Arguments :
* **octaves** *(number)* : A high value result of more details but is slower
* **persist** *(number)* : Depth of the details evoked previously
Return :
* **noise** *(table)* : An array of values starting at index 1
Equivalent in 2D : FlatArea:noise
## VoxelAreas
@ -274,7 +278,7 @@ Return :
* **pos** *(position)* : The position at which the player appears
## Params formspec
You can define mapgen.params_formspec, if any, it is shown after choosing the mapgen and before generating map. The sent fields are stored in mapgen.params.
You can define mapgen.params_formspec, if any, it is shown after choosing the mapgen and before generating map. The sent fields are stored in metadata. To get the field which has been sent from a given widget, do `mapgen.get_map_meta("name_of_the_widget")`.
----------