[wesnoth-commits] [wesnoth/wesnoth] dec377: ANL: use unsynced help menu

sevu noreply at github.com
Fri Jun 14 02:41:55 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dec3771218b6a945a58841cf557488c188275886
      https://github.com/wesnoth/wesnoth/commit/dec3771218b6a945a58841cf557488c188275886
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_help.cfg

  Log Message:
  -----------
  ANL: use unsynced help menu


  Commit: f1a12438d19b02478c6fdee33abd9d0b370aa6f1
      https://github.com/wesnoth/wesnoth/commit/f1a12438d19b02478c6fdee33abd9d0b370aa6f1
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_help.cfg

  Log Message:
  -----------
  ANL: simplified help

- looks better without image
- no options where they are not needed


  Commit: 32120a020dc0a26afc40c6e6f5f7baa2769ba825
      https://github.com/wesnoth/wesnoth/commit/32120a020dc0a26afc40c6e6f5f7baa2769ba825
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg
    A data/multiplayer/scenarios/ANL_utils/ANL_objectives.cfg

  Log Message:
  -----------
  ANL: new objectives screen


  Commit: 44535d992a73227ed10787cf373926c3b5b038e1
      https://github.com/wesnoth/wesnoth/commit/44535d992a73227ed10787cf373926c3b5b038e1
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_help.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_leader_options.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_research_options.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_worker_options.cfg

  Log Message:
  -----------
  ANL: code cleanup


  Commit: f8b3846db8012240516a87f244ab28200c369ff2
      https://github.com/wesnoth/wesnoth/commit/f8b3846db8012240516a87f244ab28200c369ff2
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_general_macros.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg

  Log Message:
  -----------
  ANL: disable swamp trick

- by building a house between the swamp and the guardian the restriction
  could have been bypassed. And because attacking a unit next to the swamp
   has higher priority compared to capturing the house it's not very dangerous
- also use the same macro for guardians and leaders movement restrictions


  Commit: bf7ee4e8fc9785e921cb6caf0cd69a253b868597
      https://github.com/wesnoth/wesnoth/commit/bf7ee4e8fc9785e921cb6caf0cd69a253b868597
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg

  Log Message:
  -----------
  ANL: leaders take advantage of player's castles / villages


  Commit: 9dfc6422972d5943a4f4251526bcc5739a3589ae
      https://github.com/wesnoth/wesnoth/commit/9dfc6422972d5943a4f4251526bcc5739a3589ae
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg

  Log Message:
  -----------
  ANL: avoid unnecessary unstoring


  Commit: d96e025dab72451d78b5804023c76ce4964b67eb
      https://github.com/wesnoth/wesnoth/commit/d96e025dab72451d78b5804023c76ce4964b67eb
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/maps/4p_A_New_Land.map

  Log Message:
  -----------
  ANL: remove bottleneck from map (spider-area)

It's not the intention that players hide there for 20 turns without
putting up a fight.


  Commit: a629a9b1dd1f3c5bce9885e98aff11780a609991
      https://github.com/wesnoth/wesnoth/commit/a629a9b1dd1f3c5bce9885e98aff11780a609991
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg

  Log Message:
  -----------
  ANL: refactor income change

This opens up the possibility to change the income


  Commit: fc9c54a21cc5ce51b119481ea548c25cb0794429
      https://github.com/wesnoth/wesnoth/commit/fc9c54a21cc5ce51b119481ea548c25cb0794429
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg

  Log Message:
  -----------
  ANL: income lock no longer required


  Commit: 6a6479ec86aea8bd5dea42eaeb289ffbcd399a04
      https://github.com/wesnoth/wesnoth/commit/6a6479ec86aea8bd5dea42eaeb289ffbcd399a04
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg

  Log Message:
  -----------
  ANL: use loyal guardians and adjust income in return

Killing a guardian (the guards or a spider) punished the player,
because the AI then doesn't need to pay upkeep anymore for that unit.

That has been changed, and as the AI has thus less cost, the income needs
adjustments too:

The following has been taken into account:
- the guardian units had upkeep costs of 7g
- the AI has 3-4 villages, each worthy 1g of village_support
  * before turn 7, the AI can't recruit Lv 1 units. From turn 9 it recruits
    exclusively Lv 1 units.
  * This means in the early game the AI payed just 4g upkeep for the
    guardians and when it managed to recruit 3 Lv 1 units it was equal to 7g
- in the late game the AI may need more money in general, as Lv 2 units are
  expensive. The fact that the AI gets 50g in turn 17 means that the income
  is too low to buy the units normally.

The general idea is to have with this change same amount of money in the
early game and the same or more in the late game.

To address the above:
- 4g less income
- the Lv 3 spider is usually killed in each game, often before turn 7. It's
  seen as compensation for the village_gold
- The income of the AI is increased in relation to the turns. From turn 15 on:
  Each turn one of the AIs gets +1g income – in average +1g income each 4 turns.


  Commit: 8ba4aa1664367d110afdda97d643e382a65fc973
      https://github.com/wesnoth/wesnoth/commit/8ba4aa1664367d110afdda97d643e382a65fc973
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg

  Log Message:
  -----------
  ANL: use seperate side for spiders

not necessary, side effects:
 - it's obvious that they don't cost upkeep
 - no vision sharing of the caves with the enemies
 - can also attack the enemies though that probably won't happen


  Commit: 481667c1c6868aba9b050d60b572a8ce88b80ab4
      https://github.com/wesnoth/wesnoth/commit/481667c1c6868aba9b050d60b572a8ce88b80ab4
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg

  Log Message:
  -----------
  ANL: use core macros within anl macros


  Commit: d4439a7a674e733d968b7b5d8ef6af342280189a
      https://github.com/wesnoth/wesnoth/commit/d4439a7a674e733d968b7b5d8ef6af342280189a
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_special_macros.cfg

  Log Message:
  -----------
  ANL: use loyal trait to mark the lack of upkeep

Then spiders got an extra side
The Lvl 0 ones never pay upkeep and got their own macro
The Lvl 2 Guards got the loyal trait

That way it's clearly communicated that all these units don't pay
upkeep, without being obstrusive about the fact.


  Commit: 1a168b68956705a869343e9083ba361f7bd25c24
      https://github.com/wesnoth/wesnoth/commit/1a168b68956705a869343e9083ba361f7bd25c24
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_worker_options.cfg

  Log Message:
  -----------
  ANL: refactor variable

- store only what is needed
- free variable


  Commit: 851beddb4f4c109abb647c2764f5342f328d2b56
      https://github.com/wesnoth/wesnoth/commit/851beddb4f4c109abb647c2764f5342f328d2b56
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_research_options.cfg

  Log Message:
  -----------
  ANL: research options – check if choosen option is a change

Don't consume MP if the same option was choosen.
Also removed unneccessary code by using 1.13 additions.


  Commit: 91996fe520586fe246b3bffefcf508e627b86186
      https://github.com/wesnoth/wesnoth/commit/91996fe520586fe246b3bffefcf508e627b86186
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_help.cfg
    M data/multiplayer/scenarios/ANL_utils/ANL_leader_options.cfg

  Log Message:
  -----------
  ANL: applying refactoring changes to other files

Changes from the research refactoring can also be applied here:
- only storing sides gold instead of the whole side
- removing helper variable for loop


  Commit: 93d79345e9dafc59d9a69eac4aff7b22635ec9b2
      https://github.com/wesnoth/wesnoth/commit/93d79345e9dafc59d9a69eac4aff7b22635ec9b2
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_leader_options.cfg

  Log Message:
  -----------
  ANL: disable diplomacy actions towards yourself


  Commit: 5f77a9c4dd77b456d4cae111b21cf25794374efe
      https://github.com/wesnoth/wesnoth/commit/5f77a9c4dd77b456d4cae111b21cf25794374efe
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M data/multiplayer/scenarios/ANL_utils/ANL_leader_options.cfg

  Log Message:
  -----------
  ANL: clear more variables on exit


Compare: https://github.com/wesnoth/wesnoth/compare/1dda3b86d2f2...5f77a9c4dd77



More information about the Commits mailing list