]> git.lizzy.rs Git - minetest.git/blobdiff - doc/menu_lua_api.txt
Set acceleration only once in falling node
[minetest.git] / doc / menu_lua_api.txt
index 76c329de69ec9b66ce2d8740bf90baad4127747f..c995b4c5595e153cec4542edeaf455a18bb086fe 100644 (file)
@@ -1,4 +1,4 @@
-Minetest Lua Mainmenu API Reference 0.4.12
+Minetest Lua Mainmenu API Reference 0.4.13
 ========================================
 
 Introduction
@@ -141,8 +141,8 @@ core.get_game(index)
        addon_mods_paths = {[1] = <path>,},
 }
 core.get_games() -> table of all games in upper format (possible in async calls)
-core.get_mapgen_names() -> table of all map generator algorithms registered in
-                           the core (possible in async calls)
+core.get_mapgen_names([include_hidden=false]) -> table of map generator algorithms
+    registered in the core (possible in async calls)
 
 Favorites:
 core.get_favorites(location) -> list of favorites (possible in async calls)
@@ -191,6 +191,8 @@ core.create_world(worldname, gameid)
 core.delete_world(index)
 
 Helpers:
+core.get_us_time()
+^ returns time with microsecond precision
 core.gettext(string) -> string
 ^ look up the translation of a string in the gettext message catalog
 fgettext_ne(string, ...)