diff options
author | rubenwardy <rw@rubenwardy.com> | 2022-05-07 16:45:17 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-07-14 22:12:54 +0100 |
commit | 9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137 (patch) | |
tree | 677a2009671dead812879bee5f9e154670e98e2f /doc | |
parent | 06de82fd86678e0a1c260c67792c5cd192863edd (diff) | |
download | minetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.tar.gz minetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.tar.bz2 minetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.zip |
Add check_mod_configuration to main menu
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu_lua_api.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 63e229135..4d495f21e 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -276,7 +276,18 @@ Package - content which is downloadable from the content db, may or may not be i depends = {"mod", "names"}, -- mods only optional_depends = {"mod", "names"}, -- mods only } +* core.check_mod_configuration(world_path, mod_paths) + * Checks whether configuration is valid. + * `world_path`: path to the world + * `mod_paths`: list of enabled mod paths + * returns: + { + is_consistent = true, -- true is consistent, false otherwise + unsatisfied_mods = {}, -- list of mod specs + satisfied_mods = {}, -- list of mod specs + error_message = "", -- message or nil + } Logging ------- |