26001 Commits

Author SHA1 Message Date
Steve Cotton
358f564301 Add unit tests for movement and vision costs
Includes changing the terrain costs, and aliased terrains.

Can be cleanly cherry-picked to 1.14.
2019-07-22 17:18:20 +02:00
nemaara
3818582149 TSG: fix storytext typo 2019-07-20 15:57:57 -04:00
loonycyborg
4ed39d7ee7 pot-update and regenerate doc files
as requested in issue #4173
2019-07-18 16:10:13 +03:00
Pentarctagon
95286cb49f Command line --preprocess missing some macros.
Command line --preprocess doesn't process macros in data/core/units.cfg.

Fixes #4152.
2019-07-16 19:15:29 -05:00
Steve Cotton
66f0924c8b SoF S2: Dialogue fixes (no dwarves outside, repeated comment about side entrances)
If all the dwarves are inside when the gate closes, don't say there were some lost outside.

Make the dialogue about the north and south side entrances only trigger once.
2019-07-15 20:51:07 +02:00
nemaara
ab4f8aa4f4 DiD S4: reduce difficulty on easier modes 2019-07-14 23:05:52 -04:00
Steve Cotton
bd130fc8e3 Tutorial S2: Warn about orcs crossing the river when they cross
Closes issue 2a of #1584

Previously the warning was always given on turn 7. It will still trigger even
if the player has units ready to defend that crossing, because I think it's
better to show the message and let the player think "I'm already ready" than to
have it pop up once some fighting has already happened; and it seems easier to
test this logic than to test logic for not showing the message if the crossing
is currently guarded.

Also add a first_time_only=no to the check_income event, so that it can trigger
on turn 7 if it doesn't trigger on turn 6.
2019-07-14 17:00:30 +02:00
Pentarctagon
0bd3682b66 Fixes incorrect handling of Xue transitions.
The transitions from the Xue terrain to the Xoc / Xos / Xoi / Xom terrains were displayed incorrectly.

Fixes #4154.
2019-07-13 05:14:44 +11:00
mattsc
e148d25d2a ExpAI grab villages CA: fix enemy distance rating under fog
ai_helper.get_closest_enemy() returns math.huge for the enemy distance if no enemy is visible to the AI. This fixes #4157.
2019-07-10 08:07:11 -07:00
sigurdfdragon
6e27a3ffbd WoV: Update to match the 1.0.1 version on the 1.14 add-on server
Changes:
S01: Objectives clarified.
S02: Objectives clarified.
S02: Up turn limit & enemy income so leveling objective is easier.
S03: Replace hard-coding of recruit with dynamic storing.
S05: Lower difficulty.
S06: Use all 6 permutations for temple contents.
S08: Fix OOS in replay of the scenario.
Misc: A few dialog, grammar and punctuation fixes.
2019-07-09 23:03:54 -04:00
josteph
6220f7106e statistics_dialog: Show the actual (empirical) CTH. 2019-07-09 16:51:05 +00:00
josteph
84c6467c56 statistics_dialog: Rename column id and struct member after last commit 2019-07-09 16:45:13 +00:00
josteph
a3efd28010 statistics_dialog: Change the hits table format to "+2% (1703.2 + 42) | 93.6"
This is a mix of "Option B" and "Option C" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:42:05 +00:00
josteph
7b78a8c019 statistics_dialog: Change the hits table format to "1703.2 + 42 | 93.6"
This is "Option B" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:33:48 +00:00
Nils Kneuper
9623e79e20 updated Portuguese (Brazil) translation 2019-07-06 14:20:16 +02:00
sigurdfdragon
6e2fbc7b1a Schema: Fix travis error by allowing additional keys in two situations
1. Allow carryover_percentage & carryover_add with
victory_when_enemies_defeated=no. Code from newfrenchy83

2. Allow use of current_time in [time_area].
2019-07-02 23:19:38 -04:00
doofus-01
d53ff6568c adding spider soulless variation 2019-07-01 15:10:54 +11:00
doofus-01
945e3a0a7b new spider variation for WC 2019-07-01 15:10:54 +11:00
nemaara
e1ca7b11c6 TSG S5: add narrator warning when siding with bandits 2019-06-28 22:26:17 -04:00
Charles Dang
ff9b8d7734 Tutorial S1: fixed typo
[ci skip]
2019-06-25 10:13:32 +11:00
sigurdfdragon
670488d53e DM S08: Move location of key to fix travis schema validation error 2019-06-23 23:15:45 -04:00
Severin Glöckner
d3e8dee9cb Mudcrawler: fit portrait better in help 2019-06-24 02:57:27 +02:00
Severin Glöckner
65b113fb7a ANL: less message spam 2019-06-24 02:57:21 +02:00
Severin Glöckner
4e75b21127 ANL: activate experimental AI 2019-06-24 02:57:15 +02:00
Severin Glöckner
3abbfc3a88 Fire Dragon: remove workaround
This works fine for the help, but has a drawback if animations are turned off.
2019-06-24 02:56:48 +02:00
Severin Glöckner
5b37d330cb TSG: use colors for the narrator,
highligthing game explanations and storytelling with different colors.

This has originally been done for the German translation in 1.14.5 by Chewan.
2019-06-23 15:42:21 +02:00
Severin Glöckner
575d68842c German translation: updated images for the help
To keep the frame consistent, the original picture got extended by 1px
2019-06-23 15:42:05 +02:00
Severin Glöckner
28f2ed5cd3 HttT maps – more use of new terrain
S6: don't use Dwarvish Castles, because dwarves are far away
S16: use Troll Encampment
S19: so many castles – turn some into Undead Encampments
S20: add a second keep to the allied castle for player
2019-06-23 15:41:26 +02:00
Severin Glöckner
6e0a633aa0 HttT 20: use elvish name of the river
The river is mentioned by one elf talking to another.
S18 explained both the human end elvish name to the player.
2019-06-23 15:41:17 +02:00
Severin Glöckner
2e57d9b170 ANL: alternative solution for Guard Problem
This avoids not only luring them on weak terrain,
but also luring them out of the way.
2019-06-23 15:41:05 +02:00
Severin Glöckner
dead6d723c Revert "ANL: also protect Guardians from losing defense by luring out"
This reverts commit b943ecb178042804fdc3d00ca281adc8ff9aadeb.
2019-06-23 15:40:41 +02:00
doofus-01
138dfe8179
adding zombie rider portrait (#4132)
#4095 for master
2019-06-22 10:27:53 -07:00
nemaara
371a1bacd0 AToTB S3: modify illumination tip 2019-06-20 13:48:08 -04:00
Charles Dang
9f8ad8ef4a UtBS S9: fixed typo
[ci skip]
2019-06-20 17:24:51 +11:00
sigurdfdragon
63699b4eaa DM S07: Have skeleton summoning use necromancer undead recruiting sound
Fixes #4127
2019-06-19 22:38:16 -04:00
sigurdfdragon
6f9b283d27 SotA S08: Remove incorrect wmllint unwho
Not part of the 1.15 due to some character macro changes.
2019-06-18 23:14:02 -04:00
Severin Glöckner
7a96934c71 AoI map adjustments
S4: Troll Encampments + embelishments
S6: Undead Encampment instead of Ruined Castle
2019-06-18 00:30:49 +02:00
Severin Glöckner
b943ecb178 ANL: also protect Guardians from losing defense by luring out 2019-06-18 00:30:49 +02:00
Severin Glöckner
0ca9dc540f ANL: get name from player instead of leader 2019-06-18 00:30:49 +02:00
Severin Glöckner
90a34c64db NR: using different Keep types 2019-06-18 00:30:17 +02:00
Severin Glöckner
2cd2c630d5 NR 10: more resistent event
works only with id, not with speaker
2019-06-18 00:30:17 +02:00
Severin Glöckner
775f91ec9e NR 10: use 4 different Troll portraits
HttT: build house on sand. For safety and a long future.
2019-06-18 00:30:16 +02:00
Severin Glöckner
4d6a69c8de HttT typo: apply 1340c00 for variation 2019-06-18 00:30:16 +02:00
sigurdfdragon
ca51077d31 DM: Use wmllint who & unwho for characters 2019-06-16 23:10:01 -04:00
sigurdfdragon
a421d238ad DM S01: Improve feel of cutscene
Change map and unit position so nobody walks on top of anyone during moves
Minor key cleanup
2019-06-16 23:10:00 -04:00
sigurdfdragon
8820d3f523 DM: Give traits to some villians 2019-06-16 23:07:43 -04:00
sigurdfdragon
17f3e6daa1 DM S16: Remove unneeded keys & tags 2019-06-16 23:07:42 -04:00
sigurdfdragon
48c3fb5114 DM S08: Make it clear there is no carryover to next scenario 2019-06-16 23:07:42 -04:00
sigurdfdragon
20c0c3fa5a DM S13: Set elf ally side to elvish flag 2019-06-16 23:07:42 -04:00
sigurdfdragon
8c01923ffc DM S12: Remove errant castle overlay 2019-06-16 23:07:42 -04:00