mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Mapgen selection and init code
This commit is contained in:
parent
aba2b6638e
commit
f9bad58d77
14 changed files with 211 additions and 59 deletions
|
@ -109,6 +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_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