diff --git a/doc/lua_api.md b/doc/lua_api.md index fc7127973..814eb3ad2 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -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 diff --git a/doc/menu_lua_api.md b/doc/menu_lua_api.md index 4de77103c..fbfb8eefb 100644 --- a/doc/menu_lua_api.md +++ b/doc/menu_lua_api.md @@ -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 = , 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)