X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fmenu_lua_api.txt;h=8ec8e35aa5550044482b872fe00d70f0d225ebfe;hb=60ab2d94f07953e74fc98a33d468328c2adac75b;hp=03fe5c74d666669143bb910d77a025d5feaf17a4;hpb=e8b687d7cafd7ff77572238cf98954527ab1056a;p=oweals%2Fminetest.git diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 03fe5c74d..8ec8e35aa 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -1,4 +1,4 @@ -Minetest Lua Mainmenu API Reference 5.0.0 +Minetest Lua Mainmenu API Reference 5.1.0 ========================================= Introduction @@ -65,6 +65,7 @@ core.get_video_drivers() ^ first element of returned list is guaranteed to be the NULL driver core.get_mapgen_names([include_hidden=false]) -> table of map generator algorithms registered in the core (possible in async calls) +core.get_cache_path() -> path of cache Formspec: core.update_formspec(formspec) @@ -146,17 +147,6 @@ Package - content which is downloadable from the content db, may or may not be i optional_depends = {"mod", "names"}, -- mods only } -* core.get_package_list() -> downloads package list from content db - * returns a list of: - - { - name = "basename", - title = "human readable title", - author = "username", - type = "", -- mod, game, txp - short_description = "description", - url = "", - } Favorites: core.get_favorites(location) -> list of favorites (possible in async calls)