[Commits] [wesnoth/wesnoth] 0c2529: Lua Cave Mapgen: Support [chamber]chance=

GitHub noreply at github.com
Fri Oct 21 05:52:39 UTC 2016


  Branch: refs/heads/lua_mapgen_stuff
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c2529e46e5101c6b54af21e27ecc94286eb1221
      https://github.com/wesnoth/wesnoth/commit/0c2529e46e5101c6b54af21e27ecc94286eb1221
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/lua/cave_map_generator.lua

  Log Message:
  -----------
  Lua Cave Mapgen: Support [chamber]chance=

The older cave generator supported it, so the new one should too.


  Commit: d376371faff363817b05adf59932a92c0f5d297e
      https://github.com/wesnoth/wesnoth/commit/d376371faff363817b05adf59932a92c0f5d297e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
    M data/campaigns/Sceptre_of_Fire/scenarios/4_Gathering_Materials.cfg
    M data/lua/cave_map_generator.lua
    M data/lua/mapgen_helper.lua

  Log Message:
  -----------
  Lua Cave Mapgen: Support random chance of flipping the map

This has a similar effect to the flipx_chance and flipy_chance in the old
cave generator, except only one flip will be applied.


  Commit: bcddcb6b779019ecc41b4dcd627fb50aaa93c8e7
      https://github.com/wesnoth/wesnoth/commit/bcddcb6b779019ecc41b4dcd627fb50aaa93c8e7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/lua/cave_map_generator.lua

  Log Message:
  -----------
  Lua Cave Mapgen: Support scenario generation

The syntax is mostly the same as the old cave generator - a [settings]
tag for general scenario data, and an [items] subtag of [chamber] for
chamber-specific data. However, the generator assumes that map locations
(from [item_location]) will be used and thus does not support
same_location_as_previous=yes in moveto events within [items].


Compare: https://github.com/wesnoth/wesnoth/compare/71327215577d...bcddcb6b7790


More information about the Commits mailing list