[wesnoth-commits] [wesnoth/wesnoth] e92dde: Add addons to wesnoth.game_config
Celtic Minstrel
noreply at github.com
Mon Jun 7 05:47:48 UTC 2021
Branch: refs/heads/lua_addon_info
Home: https://github.com/wesnoth/wesnoth
Commit: e92dde9ceb037781c283f9c309a8992cccf26e0e
https://github.com/wesnoth/wesnoth/commit/e92dde9ceb037781c283f9c309a8992cccf26e0e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Add addons to wesnoth.game_config
This adds:
- wesnoth.game_config.eras
- wesnoth.game_config.campaigns
- wesnoth.game_config.modifications
- wesnoth.game_config.resources
Each is an ID to config mapping of the particular addon type.
wesnoth.game_config.eras previously existed as just an array of all era IDs, so this is an incompatible change. However, the old API was never documented, and the comment said it was specifically for @sigurdfd who approved this change.
More information about the Commits
mailing list