[Commits] [wesnoth/wesnoth] 2ba7ad: move feedung event to lua

GitHub noreply at github.com
Fri May 20 12:43:02 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2ba7ad5c439c5ed5414654262e17608b1cc4c332
      https://github.com/wesnoth/wesnoth/commit/2ba7ad5c439c5ed5414654262e17608b1cc4c332
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/core/macros/abilities.cfg
    A data/lua/feeding.lua
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  move feedung event to lua

this has 2 advantages:
1) It decreased savefile size since the event is no longer sotred in
each savefile.
2) The ABILITY_FEEDING no longer assumes its used from within
[abilities]


  Commit: 5de1d9b0462e2935d1301f64854f1005afbe1af5
      https://github.com/wesnoth/wesnoth/commit/5de1d9b0462e2935d1301f64854f1005afbe1af5
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/lua/wml/random_placement.lua

  Log Message:
  -----------
  optimise [random_placement]

the cases distance=0 and distance = -1 now dont loop thougth all
possible locations anymore when removing a used location.


  Commit: a74fd01d2e1142217a6064f3e2f57e424cdc3d77
      https://github.com/wesnoth/wesnoth/commit/a74fd01d2e1142217a6064f3e2f57e424cdc3d77
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/02_Hostile_Mountains.cfg
    M data/campaigns/Legend_of_Wesmere/utils/low-macros.cfg

  Log Message:
  -----------
  cleanup olurf [side] wml in LoW scenario2

those informations are already in the {OLURF} macro, (all recuits given
by recuits= are already contained in olurfs extra_recuits)


  Commit: 970439eb185ee19073b4dd085e1db5ba5d42ca53
      https://github.com/wesnoth/wesnoth/commit/970439eb185ee19073b4dd085e1db5ba5d42ca53
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/11_Battle_of_the_Book.cfg

  Log Message:
  -----------
  more gold in LoW MP scenario 11


  Commit: 2ec12a65930bf5b1401c3b8a8d79c7ac898e5841
      https://github.com/wesnoth/wesnoth/commit/2ec12a65930bf5b1401c3b8a8d79c7ac898e5841
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/10_Cliffs_of_Thoria.cfg

  Log Message:
  -----------
  LoW scenario10: add fog for other human sides aswell


  Commit: 7e82419890bdb957712acdd1d78ab2c14db40ba5
      https://github.com/wesnoth/wesnoth/commit/7e82419890bdb957712acdd1d78ab2c14db40ba5
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    R data/campaigns/Legend_of_Wesmere/utils/debug.cfg

  Log Message:
  -----------
  remove debug.cfg from LoW

such events are unrelated to LoW and should rather be added via a
private [modification].


  Commit: 786d1ce66f656f6dad6fd8af84968d164f086341
      https://github.com/wesnoth/wesnoth/commit/786d1ce66f656f6dad6fd8af84968d164f086341
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/01_The_Uprooting.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/02_Hostile_Mountains.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/03_Kalian_under_Attack.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/04_The_Elvish_Treasury.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/05_The_Saurian_Treasury.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/06_Acquaintance_in_Need.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/07_Elves_Last_Stand.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/09_Bounty_Hunters.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/10_Cliffs_of_Thoria.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/11_Battle_of_the_Book.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter4/14_Human_Alliance.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter4/17_Breaking_the_Siege.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter5/19_Costly_Revenge.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter5/21_Elvish_Assassins.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter5/22_Northern_Battle.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter5/23_End_of_War.cfg
    M data/campaigns/Legend_of_Wesmere/utils/characters.cfg

  Log Message:
  -----------
  more LoW cleanups

this removes additional attributes that are already given by the
chracters macros, or that just the same as the default values.
this also removes useless extra_recruit= attributes which have no effect
since this data is overwritten by the units form carryover.


  Commit: 2ff38262e6e3a1a83c7b7d8f9c25d218a853a8a3
      https://github.com/wesnoth/wesnoth/commit/2ff38262e6e3a1a83c7b7d8f9c25d218a853a8a3
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua

  Log Message:
  -----------
  remove some empty lines in LoW wml-tags.lua

my editors auto indention doesn't like them.


  Commit: 392a0bd8f8bc76ebd5abaf9687ed636f1f09a72b
      https://github.com/wesnoth/wesnoth/commit/392a0bd8f8bc76ebd5abaf9687ed636f1f09a72b
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/03_Kalian_under_Attack.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/04_The_Elvish_Treasury.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter2/08_Council_of_Hard_Choices.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/09_Bounty_Hunters.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/12_Revelations.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter4/13_News_from_the_Front.cfg
    M data/campaigns/Legend_of_Wesmere/utils/low-macros.cfg

  Log Message:
  -----------
  move LoW persistent carryover code to lua


  Commit: 267cd23ea5a0923c636da14966be05eab8fc04ce
      https://github.com/wesnoth/wesnoth/commit/267cd23ea5a0923c636da14966be05eab8fc04ce
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M data/campaigns/Legend_of_Wesmere/utils/low-macros.cfg

  Log Message:
  -----------
  fix LoW RANDOM_PLACEMENT macro

previously it was possible that $random was
$random_placement_locations.length which would then be not a valid index
to random_placement_locations


Compare: https://github.com/wesnoth/wesnoth/compare/eaa7dac9c2c4...267cd23ea5a0


More information about the Commits mailing list