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

sevu noreply at github.com
Fri Jun 14 02:45:23 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c25c22098ec4fc84ddfa402f78929c7c6f285902
      https://github.com/wesnoth/wesnoth/commit/c25c22098ec4fc84ddfa402f78929c7c6f285902
  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: 0263189ea1911a3f716eacf8c37aeb73f023505e
      https://github.com/wesnoth/wesnoth/commit/0263189ea1911a3f716eacf8c37aeb73f023505e
  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: 036d5e0732ffcd8cdb9dbf29a3c1e3c67c12aed0
      https://github.com/wesnoth/wesnoth/commit/036d5e0732ffcd8cdb9dbf29a3c1e3c67c12aed0
  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: e258bea9bd05a4276b09b49798d706b1c20e879e
      https://github.com/wesnoth/wesnoth/commit/e258bea9bd05a4276b09b49798d706b1c20e879e
  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: 48e2493359cb196752498385a74895111fac10d9
      https://github.com/wesnoth/wesnoth/commit/48e2493359cb196752498385a74895111fac10d9
  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: 9042ced2a4229f8bee1dec054c4ddf377197b537
      https://github.com/wesnoth/wesnoth/commit/9042ced2a4229f8bee1dec054c4ddf377197b537
  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: f11020db51c907fa6111bac1719338fda9818f42
      https://github.com/wesnoth/wesnoth/commit/f11020db51c907fa6111bac1719338fda9818f42
  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: 25a56333034e499d5be6544f9c48a77cfa3deaed
      https://github.com/wesnoth/wesnoth/commit/25a56333034e499d5be6544f9c48a77cfa3deaed
  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: b2b9a9002288cede84942d5ed221416a4c016861
      https://github.com/wesnoth/wesnoth/commit/b2b9a9002288cede84942d5ed221416a4c016861
  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: e5ba221c7a6570c5457e3ab030b57832fc157cd2
      https://github.com/wesnoth/wesnoth/commit/e5ba221c7a6570c5457e3ab030b57832fc157cd2
  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: 213ba8585c23d4c685e0fcd51ddb918df6351e10
      https://github.com/wesnoth/wesnoth/commit/213ba8585c23d4c685e0fcd51ddb918df6351e10
  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: 238f07c779ef5f84b3c956dd9309e8880b356b4b
      https://github.com/wesnoth/wesnoth/commit/238f07c779ef5f84b3c956dd9309e8880b356b4b
  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: 69b293ce91d5ee135a369f4767205ed83a6d9981
      https://github.com/wesnoth/wesnoth/commit/69b293ce91d5ee135a369f4767205ed83a6d9981
  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: 2683563fb3bac39311620ed79aa4922dca4337b9
      https://github.com/wesnoth/wesnoth/commit/2683563fb3bac39311620ed79aa4922dca4337b9
  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: acc17f310cdb320cede00cb709356a0082c4123d
      https://github.com/wesnoth/wesnoth/commit/acc17f310cdb320cede00cb709356a0082c4123d
  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: 04d32e5d96a6668aace843b23e9db657a7d08b89
      https://github.com/wesnoth/wesnoth/commit/04d32e5d96a6668aace843b23e9db657a7d08b89
  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: 3925acd82fb4fc566dd1b4b379094baf0ac9ca20
      https://github.com/wesnoth/wesnoth/commit/3925acd82fb4fc566dd1b4b379094baf0ac9ca20
  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: bdbb9664fc6edd2747c5c6172ff3672916a444ec
      https://github.com/wesnoth/wesnoth/commit/bdbb9664fc6edd2747c5c6172ff3672916a444ec
  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: 8eaeecfd2531af8a957b7bbcafe5cfbe6f3ed30a
      https://github.com/wesnoth/wesnoth/commit/8eaeecfd2531af8a957b7bbcafe5cfbe6f3ed30a
  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/cf102bd1618c...8eaeecfd2531



More information about the Commits mailing list