diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2022-09-12 19:24:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 19:24:54 +0200 |
commit | bc3dccca5c66019dfbd218f39f086f7384f97d88 (patch) | |
tree | d61879776c3a0a79ef985f5fc431b3c3568b32af /doc/menu_lua_api.txt | |
parent | fe13f9dfd12c0a7f08355b83e34e7dec1bfdd86d (diff) | |
download | minetest-bc3dccca5c66019dfbd218f39f086f7384f97d88.tar.xz |
Mainmenu: Properly sort mods and games (#12758)
This also removes trivial and unused pkgmgr functions
Fixes a bug caused by sorting in 2133fc8
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r-- | doc/menu_lua_api.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index a7722be6e..7c820b0cd 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -247,9 +247,9 @@ Package - content which is downloadable from the content db, may or may not be i * returns path to global gamepath * core.get_texturepath() (possible in async calls) * returns path to default textures -* core.get_game(index) +* core.get_games() -> table of all games (possible in async calls) * `name` in return value is deprecated, use `title` instead. - * returns: + * returns a table (ipairs) with values: { id = <id>, @@ -261,8 +261,6 @@ Package - content which is downloadable from the content db, may or may not be i DEPRECATED: addon_mods_paths = {[1] = <path>,}, } - -* core.get_games() -> table of all games in upper format (possible in async calls) * core.get_content_info(path) * returns @@ -323,7 +321,7 @@ core.get_worlds() -> list of worlds (possible in async calls) gameid = <gameid of world>, }, } -core.create_world(worldname, gameid) +core.create_world(worldname, gameid, init_settings) core.delete_world(index) |