[wesnoth-commits] [wesnoth/wesnoth] e6b504: Add addons to wesnoth.game_config
Celtic Minstrel
noreply at github.com
Mon Jun 7 04:08:46 UTC 2021
Branch: refs/heads/lua_addon_info
Home: https://github.com/wesnoth/wesnoth
Commit: e6b5049331fa61595acd60cb2d99c18e97cd22bd
https://github.com/wesnoth/wesnoth/commit/e6b5049331fa61595acd60cb2d99c18e97cd22bd
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