[wesnoth-commits] [wesnoth/wesnoth] be24c4: Lua API: Deprecate helper.set_wml_action_metatable

Celtic Minstrel noreply at github.com
Tue Jul 6 13:39:11 UTC 2021


  Branch: refs/heads/celmin
  Home:   https://github.com/wesnoth/wesnoth
  Commit: be24c49d617e37ff3cc407035cb94ca0810b053b
      https://github.com/wesnoth/wesnoth/commit/be24c49d617e37ff3cc407035cb94ca0810b053b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M data/lua/core/wml.lua
    M data/lua/helper.lua

  Log Message:
  -----------
  Lua API: Deprecate helper.set_wml_action_metatable

wml.fire now supports the same syntax - both of the following work:

- wml.fire("message", {message = "Hello World"})
- wml.fire.message{message = "Hello World"}


  Commit: 7d05577a8e98a972e727a225403d34abd39dfaa8
      https://github.com/wesnoth/wesnoth/commit/7d05577a8e98a972e727a225403d34abd39dfaa8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M data/lua/helper.lua

  Log Message:
  -----------
  Lua API: Deprecate the helper.lua module itself


  Commit: 3aea034acf8f40ef81010fe6419001894126d84e
      https://github.com/wesnoth/wesnoth/commit/3aea034acf8f40ef81010fe6419001894126d84e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M data/ai/lua/ai_helper.lua
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/ca_high_xp_attack.lua
    M data/ai/lua/ca_move_to_any_enemy.lua
    M data/ai/lua/retreat.lua
    M data/ai/micro_ais/cas/ca_assassin_move.lua
    M data/ai/micro_ais/cas/ca_big_animals.lua
    M data/ai/micro_ais/cas/ca_bottleneck_move.lua
    M data/ai/micro_ais/cas/ca_coward.lua
    M data/ai/micro_ais/cas/ca_fast_combat_leader.lua
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_herding_f_herding_area.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_move.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/micro_ais/cas/ca_messenger_attack.lua
    M data/ai/micro_ais/cas/ca_recruit_random.lua
    M data/ai/micro_ais/cas/ca_stationed_guardian.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_attack.lua
    M data/ai/micro_ais/cas/ca_zone_guardian.lua
    M data/ai/micro_ais/engines/priority_target_engine.lua
    M data/campaigns/Delfadors_Memoirs/utils/sides.cfg
    M data/campaigns/Eastern_Invasion/lua/bandits.lua
    M data/campaigns/Secrets_of_the_Ancients/utils/zombie_recruit_dialog.lua
    M data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua
    M data/campaigns/The_Hammer_of_Thursagan/lua/spawns.lua
    M data/campaigns/The_Hammer_of_Thursagan/scenarios/05_Fear.cfg
    M data/campaigns/World_Conquest/lua/game_mechanics/artifacts.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/bonus.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/effects.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/heroes.lua
    M data/campaigns/World_Conquest/lua/map/main.lua
    M data/campaigns/World_Conquest/lua/map/scenario_utils/side_definitions.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/animate_unit.lua
    M data/lua/wml/harm_unit.lua
    M data/lua/wml/kill.lua
    M data/lua/wml/store_reachable_locations.lua
    M data/test/scenarios/test_require.cfg

  Log Message:
  -----------
  Lua: Update all mainline references to the helper module


  Commit: 018961efcc462a910d448b7abc877833513d3e01
      https://github.com/wesnoth/wesnoth/commit/018961efcc462a910d448b7abc877833513d3e01
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Lua API: Fix campaign end text being untranslatable

Fixes #5928


  Commit: d16801f1af4008ccdaa6fa979623733291e00795
      https://github.com/wesnoth/wesnoth/commit/d16801f1af4008ccdaa6fa979623733291e00795
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M data/lua/core/map.lua
    M data/lua/core/sides.lua

  Log Message:
  -----------
  fix whitespace


Compare: https://github.com/wesnoth/wesnoth/compare/44e1d426a909...d16801f1af40



More information about the Commits mailing list