[wesnoth-commits] [wesnoth/wesnoth] 3a3b75: WML: Support [filter_side] in [item]. (#3533)

GitHub noreply at github.com
Sat Sep 22 01:11:10 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3a3b752881f50ad34742c5962d40d96556adf1a1
      https://github.com/wesnoth/wesnoth/commit/3a3b752881f50ad34742c5962d40d96556adf1a1
  Author: jostephd <josteph at fastmail.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M changelog.md
    M data/lua/wml/items.lua
    M src/display.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  WML: Support [filter_side] in [item]. (#3533)

* WML: Support [filter_side] in [item].

If [filter_side] is present then "team_name" is ignored.

Fixes #1477.

* WML: Compare [item]team_name to [side]team_name using intersection.

Fixes problems with substrings and when one or the other is a
comma-separated list. See #3533

* WML: Rename [item][filter_side] to [item][filter_team]

* Add changelog entry



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list