mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Prefer C++ in case of conflict and pass title rather than internal name
This commit is contained in:
parent
c887425ac4
commit
ea0ae5b62b
8 changed files with 93 additions and 20 deletions
|
@ -109,8 +109,8 @@ 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_mapgen_descriptions()` -> map of `[mapgen_name] = mapgen_description` as listed
|
||||
in `mapgen.conf`.
|
||||
* `core.get_lua_mapgen_descriptions_and_title()` -> map of `[mapgen_name] = {desc = <mapgen_description>, title = <title>}` 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)
|
||||
* `param`=true: returns path to a newly created temporary file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue