mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
docs and clean up
This commit is contained in:
parent
8765654e46
commit
10fef4fc20
2 changed files with 3 additions and 2 deletions
|
@ -438,7 +438,8 @@ A `Settings` file that provides meta information about the mapgen.
|
|||
internal ID used to track versions.
|
||||
* `textdomain`: Textdomain used to translate title and description. Defaults to mapgen.
|
||||
See [Translating content meta](#translating-content-meta).
|
||||
* `mapgen_flags`: List of flags to be used
|
||||
* `mg_flags`: List of mg_flags that are allowed
|
||||
* `lmg_flags`: List of custom flags, same format as mg_flags
|
||||
|
||||
|
||||
Aliases
|
||||
|
|
|
@ -109,7 +109,7 @@ of manually putting one, as different OSs use different delimiters. E.g.
|
|||
* `handle:stop()` or `core.sound_stop(handle)`
|
||||
* `core.get_mapgen_names([include_hidden=false])` -> table of map generator algorithms
|
||||
registered in the core (possible in async calls)
|
||||
* `core.get_lua_mapgens()` -> map of `[mapgen_name] = {desc = <mapgen_description>, title = <title>, mapgen_flags = <flags_table>}` as listed
|
||||
* `core.get_lua_mapgens()` -> map of `[mapgen_name] = {desc = <mapgen_description>, title = <title>, mg_flags = <allowed mg_flags table format: [key] = true>, lmg_flags = <custom flags in format of mg_flags>}` as listed
|
||||
in `mapgen.conf`, and `nil` if they don't exist.
|
||||
* `core.get_cache_path()` -> path of cache
|
||||
* `core.get_temp_path([param])` (possible in async calls)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue