[Commits] [wesnoth/wesnoth] a53090: wml cleanups, add terrain= attribute to [random_pl...

GitHub noreply at github.com
Sat Dec 10 13:07:15 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a53090d648bbbc49c2a1ae42f4ea5297b0424909
      https://github.com/wesnoth/wesnoth/commit/a53090d648bbbc49c2a1ae42f4ea5297b0424909
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M data/campaigns/Dead_Water/scenarios/01_Invasion.cfg
    M data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg
    M data/campaigns/Eastern_Invasion/scenarios/17a_The_Duel.cfg
    M data/campaigns/Heir_To_The_Throne/scenarios/12_Northern_Winter.cfg
    M data/campaigns/The_South_Guard/scenarios/06b_The_Long_March.cfg
    M data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg
    M data/campaigns/Under_the_Burning_Suns/scenarios_old/12_The_Final_Confrontation.cfg
    M data/campaigns/Under_the_Burning_Suns/utils/macros.cfg
    M data/lua/wml/random_placement.lua

  Log Message:
  -----------
  wml cleanups, add terrain= attribute to [random_placement] loc

replacing some [while] with [repeat] or [random_placement]

Adding  terrain= attribute to the variable generated by [random_placement] this mkaes it easier to use [random_placement] as a replacement for [store_locations] + [while] since [store_locations] also generates the [terrain] attribute:





More information about the Commits mailing list