[Commits] [wesnoth/wesnoth] b06432: New features for [role]

GitHub noreply at github.com
Sat Jul 30 02:53:59 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b064328102594473965a2b884d5795d551bc163c
      https://github.com/wesnoth/wesnoth/commit/b064328102594473965a2b884d5795d551bc163c
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  New features for [role]

Add search_recall_list=only to search the recall list, but not the map
This is intended as a more clear way of doing 'x,y=recall,recall' and omitting search_recall_list. Note that search_recall_list=no with x,y=recall,recall produces a useless [role] which only runs the [else] block(s).

Add reassign attribute
Optional attribute, default 'yes'. If 'no' then do not re-assign the role if a unit already has the role. If 'no' and no unit has the role, the role is still assigned.

Refactor auto_recall as a sub-tag
Instead of a yes|no attribute, if there is an [auto_recall] sub-tag then recall the unit from the recall list. This acts as a [recall] tag without any StandardUnitFilterto which we add id=$unit.id and issue the recall.


  Commit: a72c68547fd0941274e329e0b0fcbf26a30d5572
      https://github.com/wesnoth/wesnoth/commit/a72c68547fd0941274e329e0b0fcbf26a30d5572
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Add a comment to the C++

Might as well warn the programmer about this just in case someone adds or removes a recall-specific attribute.


  Commit: 585412a222393d7487af4462a575fcf03776fe26
      https://github.com/wesnoth/wesnoth/commit/585412a222393d7487af4462a575fcf03776fe26
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M data/campaigns/An_Orcish_Incursion/utils/macros.cfg

  Log Message:
  -----------
  AOI Update macros for new auto_recall sub-tag


  Commit: 346d8ceac5bb101d25b81360db75b51fc067379f
      https://github.com/wesnoth/wesnoth/commit/346d8ceac5bb101d25b81360db75b51fc067379f
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M data/campaigns/Liberty/scenarios/04_Unlawful_Orders.cfg

  Log Message:
  -----------
  L S04 Update for new auto_recall sub-tag


  Commit: 2a3a3fdd7ba824a619a8756924d8a6fca9fa0cb9
      https://github.com/wesnoth/wesnoth/commit/2a3a3fdd7ba824a619a8756924d8a6fca9fa0cb9
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M changelog

  Log Message:
  -----------
  Update changelog


  Commit: e8d148bec4c2749d8ab094411405b5f48e9fc3f1
      https://github.com/wesnoth/wesnoth/commit/e8d148bec4c2749d8ab094411405b5f48e9fc3f1
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M changelog
    M data/campaigns/An_Orcish_Incursion/utils/macros.cfg
    M data/campaigns/Liberty/scenarios/04_Unlawful_Orders.cfg
    M data/lua/wml-tags.lua
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Merge pull request #698 from GregoryLundberg/GL_role

New features for [role]


Compare: https://github.com/wesnoth/wesnoth/compare/07d365b9b541...e8d148bec4c2


More information about the Commits mailing list