380 Commits

Author SHA1 Message Date
joeylmaalouf
1f1770362e Menu: re-order and re-rank campaigns (including new ranks) (fixes #1222)
(cherry-picked from commit a3a9b723115ae0cd5a5cf51ec1fd46af833b1ea3)
2018-10-07 03:25:07 +00:00
mattsc
fc6d71b023 Lua AIs: use ai_helper.robust_move_and_attack()
ai_helper.robust_move_and_attack() does the stop_unit_moves automatically if the unit is at the destination hex.

(cherry-picked from commit fdc3249496e7c2418a8ab8c7ec19b85bba3f79fb)
2018-10-07 03:24:53 +00:00
mattsc
98b8023072 AToTB S2: rename custom AI file
For consistency with the other mainline campaigns

(cherry-picked from commit 1040dbe5c9e58ce2ac592b126e0b4b9b033f722c)
2018-10-07 03:24:43 +00:00
mattsc
37e83f1262 Lua AIs: use math.huge to initialize extrema variables
(cherry-picked from commit cb423b2fbd40fdf5e14549a301fee06237bf4626)
2018-10-07 03:24:40 +00:00
Nils Kneuper
4b87d25a54 updated Chinese (Simplified) translation
(cherry-picked from commit cb43b894eeff5fc1327a612a817bdc275762e629)
2018-10-07 03:21:42 +00:00
Nils Kneuper
d97b0c2e31 remove executable flag from italian translation images
(cherry-picked from commit f9b9d5018f5b15451bd5a8761d6849a6500fed56)
2018-10-07 03:21:00 +00:00
Nils Kneuper
cbfb9dfaba updated Italian translation (images)
(cherry-picked from commit 4918a6234e208d60817e49571c72dcefaaabba9e)
2018-10-07 03:20:59 +00:00
mattsc
8a7ec7a1cb AToTB Chase: add custom AI controlling Muff Toras
(cherry-picked from commit bbb151fa713129cc9a1f4ef23c154da72c50ea6e)
2018-10-07 03:20:27 +00:00
Wedge009
1a3a28c59c Re-attempting e4730ef1 (Minor corrections to Dunefolk and Two Brothers text) as per advice from @ivanovic.
[ci skip]
2018-03-04 00:41:35 +11:00
josteph
408163e598 AToTB S03: Tweak hint to not assume the AI will make mistakes 2017-11-12 22:31:37 -05:00
Charles Dang
37b52b2fea AToTB: tweak positioning of campaign icon
[ci skip]

Centers it more with respect to the others.
2017-10-31 09:56:47 +11:00
sigurdfdragon
e2b7b77adf AToTB: Add a hint on easy difficulty for each objective in the campaign
Also replaces previous hint for S01 with a more direct hint
2017-10-28 19:50:39 -04:00
sigurdfdragon
45ae47e5ca AToTB: Add hint macro
An expanded version of the one in AOI
2017-10-28 19:50:39 -04:00
sigurdfdragon
7474c7f599 AToTB: Facing improvements 2017-10-28 15:12:59 -04:00
sigurdfdragon
d024900cd0 AToTB S02: Keep unit alive to fit dialog and prevent scream at scene end 2017-10-12 21:03:40 -04:00
Jeffrey 'Sigurd' Westcoat
9e8f9b7c54 AToTB S01: Grammer Fix (#1931)
Suggested here: https://forums.wesnoth.org/viewtopic.php?f=40&t=10334&start=45#p586212
2017-09-02 22:21:37 +03:00
sigurdfdragon
d80d851e3f AToTB S1: Provide a hint for players 2017-08-26 12:13:32 +11:00
Celtic Minstrel
25a0d099a9 Enable sorting campaign list in chronological or lexicographical order 2017-08-14 12:36:07 -04:00
sigurdfdragon
a273a8df25 Reorder beginner campaigns to be more friendly to new players 2017-08-08 01:20:40 +11:00
ln-zookeeper
74a7e43182 TB S3: Used old wooden floor for parts of the castle interior 2017-03-18 21:42:06 +02:00
gfgtdf
d98525d951 replace true/false with yes/no in mainline 2016-12-09 02:55:59 +01:00
Bär Halberkamp
ce05a573cf Run wmlindent 2016-09-15 18:04:37 +02:00
Celtic Minstrel
a3609e428b TB: Minor formatting fixup 2016-09-15 11:19:40 -04:00
Bär Halberkamp
1acd76e9fe Run wmlindent on data/campaigns 2016-09-15 16:55:24 +02:00
Gregory A Lundberg
6279145c15 AToTB S02 Improve AI
This tells the AI for side 3 to ignore villages as candidate actions. This finishes the changes making side 3 move toward the player (side 1) without distraction.
2016-08-22 01:31:10 -05:00
Gregory A Lundberg
8fc3e3100f AToTB Get choose_level working 2016-08-19 18:40:34 -05:00
Gregory A Lundberg
8b984cfa6b AToTB S03 Logical guards
The second wave of guards should react according to the situation. That means, when they arrive, if Arvith is still fighting the first wave, they should join the fight rather than ask for the password.
2016-08-19 18:37:39 -05:00
Gregory A Lundberg
9696307a09 AToTB S03 Improve shroud
Precisely define the shroud removed upon correctly giving the first password.
2016-08-19 18:37:39 -05:00
Gregory A Lundberg
5a9a394d95 AToTB S02 Agressive kidnappers
This combines two changes.

First, it uses the sighted event instead of a moveto tripwire to find the kidnappers.

Second, instead of passively waiting for a target to come into range, the kidnappers behave as more normal AI, but ignoring keeps and devalueing villages.

This is done by moving the kidnappers to their own side, which remains hidden until they are discovered.
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
bb21a7ae2b AToTB S02 Wait to kill Brena
Let Brena hang around until he's paid the gold. While we're at it, no need to delete units which are not there!
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
80afcee8db AToTB S02 Capture new villages
For EASY, four villages are added to the map. Capture those villages which would have been in range if they were originally on the map.
2016-08-19 18:37:38 -05:00
Gregory A Lundberg
d45f174259 AToTB S03 Fix bug: Inconsistent objectives
The objectives and conversation presume the player will first find Baran, then kill Rotharik for the key, and finally release Baran from the cell.

If the player kills Rotharik first, the objectives jump around and the conversation makes no sense.

Let's fix the mess.

While we're at it, instead of always extending 6 turns, let's just ensure there are at least 6 turns left if all Arvith need do is run over to Baran's cage.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
77e714e4ed AToTB S03 Fix bug: Rotharik may be dead
No returning from the dead just to speak a line.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
a82e556607 AToTB S03 Fix bug: Capture villages
The guards are distracted by the villages. They should be owned by their side, anyway.
2016-08-19 18:37:37 -05:00
Gregory A Lundberg
6c33ecbd94 AToTB S03 Fix bug: Delay guards
Use correct variable name.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
75986550ad AToTB S02 Fix bug: Missing units
Recruiting the revenants fails because the location is invalid.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
33c2e1037b AToTB S02 Fix bug: Speaker may be dead
This is basically the Mercenary from S01, so let's use him, instead. If he's died by the closing scene, recruit a replacement.
2016-08-19 18:37:36 -05:00
Gregory A Lundberg
7a3d2e37f7 AToTB S02 Fix bug: Inconsitent objectives
If you find the kidnappers the objective changes to killing them; but if you then kill Nil-Galion, the objective changes back to finding the kidnappers.

Clean up the mess.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
fbedc205b0 AToTB S01 Fix bug: Mercenary may be dead
The role was assigned too soon, and did not provide for advancements. If none can be found, recruit a Horseman to speak the line.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
27bda635e7 AToTB S01 Fix bug: No unit for role
Include all possible advancements, but exclude Arvith, and recruit a replacement if no unit found.
2016-08-19 18:37:35 -05:00
Gregory A Lundberg
423f082ebc AToTB S01 Fix bug: Missing advancements
The comments should still apply when the target has advanced.
2016-08-19 18:37:34 -05:00
Gregory A Lundberg
b9a18aee48 AToTB Standardize Baran's last breath
Technically, it is impossible for Baran to die in S03, but handle it anyway, just in case, for story purposes.
2016-08-19 18:35:44 -05:00
Gregory A Lundberg
f351f35703 AToTB Standardize Baran
Use a macro to ensure consistent definition.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
955b8477d2 AToTB Standardize Arvith's last breath
Use a consistent message instead of sometimes 'all' and sometimes 'everything'. Do it with a macro.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
21320f7c1c AToTB Standardize on EASY
Use consistent #ifdef tests. Standardize on EASY, the other difficulty is simply 'not EASY'.
2016-08-19 18:35:43 -05:00
Gregory A Lundberg
8199098d74 AToTB Remove variable artifacts 2016-08-19 18:35:43 -05:00
Gregory A Lundberg
010f943a40 [option]message= deprecated, use label=
According to the Wiki, since 1.13.2 message= is an alias for label=.

Using message= provokes a warning about it being deprecated.

This replaces message= with label= in the entire mainline (where it had not already been changed).
2016-07-03 13:41:44 -05:00
Celtic Minstrel
7c9e24aa29 Remove several deprecated recruitment-related aspects
- number_of_possible_recruits_to_force_recruit
- recruitment_ignore_bad_combat
- recruitment_ignore_bad_movement
2016-03-22 07:22:22 -07:00
Charles Dang
b655ec8f9b AToTB S1: spruced up map 2016-02-28 12:48:20 +11:00
ln-zookeeper
b338a894b7 Added some missing unrenamable=yes keys and removed unnecessary ones 2016-02-24 14:31:37 +02:00