73520 Commits

Author SHA1 Message Date
Severin Glöckner
d743a5b9f2 NR S7: debug mode safety
[ci skip]
2018-11-09 00:46:26 +01:00
Severin Glöckner
0e34455cfe NR S7a: revert 52c22b1, add alternative fix
[ci skip]
2018-11-09 00:46:26 +01:00
josteph
c6b2be5ca6 wmlparser3: Parse [+foo][/foo] as append to [foo]. 2018-11-08 22:57:39 +00:00
Severin Glöckner
552567dff2 Appdata: add contact e-mail address
This Address is not shown in the store. It's used to contact us in case of
issues or upstream changes regarding this file.
In the past it has been used for a mass email by hughsie, an developer for
appstream related things.

[ci skip]
2018-11-08 21:51:25 +01:00
Severin Glöckner
8690259355 German Translation: small change in SoF
[ci skip]
2018-11-08 21:39:58 +01:00
Severin Glöckner
366a802b0f Bring German translation in sync with 1.14
[ci skip]
2018-11-08 21:23:11 +01:00
mattsc
e7e9a6fe45
Merge pull request #3655 from mattsc/lua_ai_changes
Lua AI changes
2018-11-08 07:31:58 -08:00
mattsc
23d313949d Remove AI Controller from campaign scenarios (addresses #3668)
Ideally we would replace it with a more effective and intuitive version at some point, but currently we do not know how to set up AI behavior that both makes sense and is usable in a general setting (without consisting of unit-level control).
2018-11-08 07:15:40 -08:00
DisherProject
a4d963eaf5 NR S2: Filter units by id in micro_ai 2018-11-07 15:40:55 -06:00
DisherProject
aa59d1561c NR S13a: Improvement to the AIs
1) Rakshas's units will not idle around him anymore
2) Hamel will play more carefully, and his recruits will be
chosen according to the ToD (i.e. aggressive during the day,
defensive at night)
2018-11-07 15:40:55 -06:00
DisherProject
caeada5fd5 NR S7a: Store Ro'Sothian into a variable
... instead of killing him and creating him from scratch
every time
2018-11-07 15:40:55 -06:00
DisherProject
4c5e6bfd4c NR: Fix ignored gender on fake units' moves 2018-11-07 15:40:55 -06:00
DisherProject
5d6d51d623 NR: Put show_if tag inside objectives 2018-11-07 15:40:55 -06:00
DisherProject
52c22b12f7 NR S7: Fix some loyal heroes costing support
Loyal trait seems not to work with previous implementation.
This should be also more readable
2018-11-07 15:40:55 -06:00
DisherProject
b1a436cd28 NR S6a: Give the orc leaders their own portrait
Just because there is more than one Orcish Warlord speaking
2018-11-07 15:40:55 -06:00
DisherProject
7ffa224234 NR S5a_01: Fix some event filters
1) Now Tallin shows surprise when Thera dies too
3) Only Malifor will scream when hit
Also add a redraw
2018-11-07 15:40:55 -06:00
DisherProject
85bd82ef07 NR S4: Add a sound effect when Malifor flees 2018-11-07 15:40:55 -06:00
DisherProject
274608ab4e NR S4: Give the enemies starting villages 2018-11-07 15:40:55 -06:00
DisherProject
e1335672a2 NR S2: Have Hamel speak about Camerin if he's not shrouded 2018-11-07 15:40:55 -06:00
DisherProject
e2743d0fa5 NR S2: Avoid using filter_wml 2018-11-07 15:40:55 -06:00
newfrenchy83
5d6a6c0de1
Fix grammar in cth macro
Also fix whitespace errors from edab243b9d4e5bbac8b10e28fb0237e201392071 -- GL

Closes #3694
2018-11-07 15:32:22 -06:00
George
a5b22568de
EI S02: Dialogue improvement
Implemented long-standing TODO. The trolls are now hidden until sighted by the player. When interacting with the dwarfs, Gweddry will now respond according to whether the trolls have been sighted or not.

Closes #3689
2018-11-07 15:03:34 -06:00
mattsc
1856377d35 Lua AIs: distinguish between healing locations and villages
There are rating contributions for hexes which heal (not all of which are villages) and others for hexes that provide income (villages). Previously only villages were considered for both types of hexes.
2018-11-07 12:24:31 -08:00
mattsc
8bca955ad5 ai_helper: new function get_healing_locations() 2018-11-07 12:17:55 -08:00
josteph
ef302cda8b changelog: Document that 480df6b28ac50e3971856588f2ce4a0b333f9262 hasn't been forward ported from old master
This is simply to document the current state. If someone wants to
forward that revision, go right ahead, and I'll then revert this
changelog commit.

See #3603
2018-11-07 00:03:50 +00:00
Joseph Gelfand
0aee38d087
Scale images before blitting the green + on top
Closes #3654
2018-11-06 15:33:15 -06:00
newfrenchy83
edab243b9d
Fix rare bug in FORCE_CHANCE_TO_HIT
If in attack end in FORCE_CHANCE_TO_HIT macro, unit or second unit doesn't exist anymore because rare case where unit disapear before attack end event was calledthen we have an error message like "Invalid WML found: [unstore_unit]: variable 'second_unit' doesn't exist" because presence of unit not condition of execution of event.
2018-11-06 15:15:40 -06:00
Steve Cotton
5fa2ba279e
Tutorial S2: Don't allow the orc to recruit wolves on turn 1
If the wolves are recruited on the first turn then Galdrad's turn 3 hint about
getting to the island before them is too difficult for a tutorial, and his hint
about holding the village on turn 4 hint may be a turn too late.

Some have to be recruited on turn 2 to fit the turn 3 hint about them, so rig
the AI's recruitment to do that.
2018-11-06 15:07:49 -06:00
George
82308c7a2c
SoF S01a Add snow to map
Implemented long-standing TODO, adding some snow to the map by hand.

Closes #3676
2018-11-06 15:03:29 -06:00
newfrenchy83
73a331b952
Fix bug in teleport animation
temp_unit.set_location necessary else pre and post teleport animation is played at the same place(arrival).

Closes #3684
2018-11-06 14:55:17 -06:00
newfrenchy83
d0575affb4 Fix mingw cross-compile 2018-11-06 14:35:30 -06:00
mattsc
c1343227e2 Generic recruit engine: cache pathfinding data
This results in a significant speed-up starting from the second recruit each turn.
2018-11-06 09:44:03 -08:00
mattsc
e379cf7333 Generic recruit engine: replace slow location filters 2018-11-06 09:38:33 -08:00
mattsc
0c57ae16e4 Lua AIs: do not use hard-coded values for modifiable parameters 2018-11-05 20:22:11 -08:00
mattsc
e3b2cbfc25 ExpAI recruiting: consider all villages not owned by allies
Instead of only the unowned villages.
2018-11-05 07:19:23 -08:00
mattsc
5e0df80ad0 ExpAI retreating: take healthy trait into account 2018-11-05 07:02:46 -08:00
mattsc
dcf951434e Micro AIs: support named locations for [micro_ai] tag keys 2018-11-05 07:02:33 -08:00
pentarctagon
a26dcf8577 Add the last few items to the changelog from 1.14. 2018-11-05 02:42:13 -06:00
Celtic Minstrel
f13bd92fb1 Rename classes to remove class_ prefix 2018-11-04 19:11:12 -05:00
Celtic Minstrel
a32e279b7c Split tag.hpp into three files 2018-11-04 19:05:21 -05:00
Celtic Minstrel
df4413ae66 Schema: Move list types into a separate config file 2018-11-04 18:37:51 -05:00
sigurdfdragon
eb1febb878 DM S12: Remove TODO
No point in a todo for one scenario when it could be done for half
the campaign.
2018-11-04 11:10:23 -05:00
Celtic Minstrel
8ef0c1734d Add several command-line options to invoke the schema validator 2018-11-03 17:09:25 -04:00
Celtic Minstrel
52c4dc0e3d Add a validator subclass specialized for validating WML schemas against the WML schema schema 2018-11-03 17:09:25 -04:00
gfgtdf
d67276b25b fix possible oos when giving side to an oberver when a player left
fixes #3685
2018-11-03 19:48:44 +01:00
gfgtdf
469c8a3c8e fix mpserver errormessage 2018-11-03 19:48:44 +01:00
josteph
d00c540107 Update changelog for last commit 2018-11-03 18:17:31 +00:00
josteph
801e1c6234 WML: {REMOVE_LABEL} now takes an optional EXTRA_WML argument. 2018-11-03 18:16:43 +00:00
jostephd
8a4fd24b2b HttT S6: Point out exactly where the ford is. (#3677)
Also scroll to it, in case the viewport is elsewhere.
2018-11-03 18:11:38 +00:00
Iris Morelle
c0fd17628e Fix [change_theme] not updating themed map borders correctly in some cases
(cherry picked from commit 6158b80c94005f4a9c0d31d2d54dba4eae96a082)
2018-11-03 07:58:31 +00:00