From ca89e63b27a2548a7615fcf4943c22f88818f6eb Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 29 Dec 2014 21:23:51 -0500 Subject: Add core.get_mapgen_names() to Main Menu API (and use it) Also rewrite mapgen registration for static initialization --- doc/menu_lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/menu_lua_api.txt') diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index b67d6ca00..45db89fb0 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -143,6 +143,8 @@ core.get_game(index) addon_mods_paths = {[1] = ,}, } 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) Favorites: core.get_favorites(location) -> list of favorites (possible in async calls) -- cgit v1.2.3