75465 Commits

Author SHA1 Message Date
Charles Dang
28bf2cac0b Added a text typo template 2019-10-11 13:00:00 +11:00
josteph
471101b714 github: Add savefiles to the bug report template 2019-10-11 01:50:36 +00:00
Charles Dang
83612c0fc3 Added bug report template 2019-10-11 12:36:49 +11:00
Charles Dang
8342bf086f Moved CONTRIBUTING.md to .github/
[ci skip]
2019-10-11 12:22:22 +11:00
Charles Dang
e47087adca Correct labeler config file name
[ci skip]
2019-10-11 08:35:48 +11:00
josteph
bc40366d78 Add #4407 to changelog 2019-10-10 21:33:51 +00:00
josteph
eccfba6124 mp_create_game: Use "map_data" if already set in preference to "map_file".
https://github.com/wesnoth/wesnoth/pull/4407#issuecomment-537091937
2019-10-10 21:33:11 +00:00
josteph
9f506232bd mp_create_game: Don't generate a random map if "map_file" is set.
Not tested.
2019-10-10 21:33:11 +00:00
josteph
70d82817a0 mp_create_game: Show map preview if scenario has "map_file" and no "map_data"
See #4397
2019-10-10 21:33:11 +00:00
josteph
4c646d51d9 changelog: #4410 has been backported 2019-10-10 03:02:57 +00:00
josteph
2c2d1f8b2f Replays: Show visible units in "Damage versus" sidebar tooltip
Part of #4134
2019-10-10 02:32:26 +00:00
josteph
980fad6bf8 Add #4410 to changelog 2019-10-10 02:30:24 +00:00
josteph
3767097ba0 Status table: In replays with "View: Full Map", show all sides' gold status
Note that all sides' gold status is already shown whenever debug mode is
active.

Fixes part of #4134
2019-10-10 02:22:20 +00:00
josteph
94c0f6152c HttT S15: Change $unit's line since it doesn't know these caves. 2019-10-10 02:17:12 +00:00
josteph
16a4b3e77f HttT S15: Add a female_message.
$unit could be a female Footpad.
2019-10-10 02:17:12 +00:00
josteph
043d1fefd7 HttT S15: Tweak new dialog 2019-10-10 02:17:12 +00:00
jostephd
78d8fa3a05 HttT S19c: Avoid "Princess" as a direct address
Co-Authored-By: nemaara <nemaara@users.noreply.github.com>
2019-10-10 02:17:12 +00:00
jostephd
450252cf8d HttT S19c: Avoid "Princess" as a direct address
Co-Authored-By: nemaara <nemaara@users.noreply.github.com>
2019-10-10 02:17:12 +00:00
josteph
4365913e6a HttT S19c: Don't let lvl3 or lvl4 elves match the "We hear and obey" line.
A Sylph wouldn't say that to Konrad.
2019-10-10 02:17:12 +00:00
josteph
7b51357e46 HttT S19c: Give Konrad another line. 2019-10-10 02:17:12 +00:00
josteph
a838af438d HttT S19c: Change the dialog on finding Warven 2019-10-10 02:17:12 +00:00
josteph
92ad4c5d1e HttT S15: Remove the "Timber" line. It doesn't work. 2019-10-10 02:17:12 +00:00
josteph
d992b5bb29 HttT S15: Enhance the north corridor event 2019-10-10 02:17:12 +00:00
josteph
0132b871aa HttT: dialog tweaks 2019-10-10 02:17:12 +00:00
josteph
e495d795b5 Add :terrain to changelog 2019-10-10 02:14:42 +00:00
josteph
f1725ae810 Make :terrain synced. 2019-10-10 02:08:26 +00:00
josteph
d1dc32f8ef Add debug command :terrain.
Usage: :terrain <terrain type> [both|base|overlay]
2019-10-10 02:08:26 +00:00
Wedge009
495f60dfbf Synchronise defence percentage colouring for Help with that used for the side-bar.
Resolves #1531.
2019-10-09 13:03:55 +11:00
josteph
fe89b88162 changelog: Edit recent additions 2019-10-09 01:37:13 +00:00
josteph
091a5e302c Add previous commit to changelog. 2019-10-08 21:06:58 +00:00
josteph
d154cf14a6 Auction X: Don't shuffle the center side 2019-10-08 21:02:34 +00:00
mattsc
cbf99a6f00 Fred ExpAI recruiting: set initial conditions for first recruit
Without this, the AI always starts with whatever it considers the best unit without taking the level bonus into account. This mostly only matters when one sets high_level_fraction to a very large value (1 or larger) in order to force only high-level recruits. In other cases it makes no, or no significant, difference.
2019-10-08 13:24:13 -07:00
mattsc
a51dee6761 Exp AI recruiting: add randomness as an optional parameter
This was already an optional parameter for the Recruit Rushers Micro AI.
2019-10-08 12:47:31 -07:00
mattsc
6dc199d4f8 ExpAI recruiting: make high_level_fraction parameter configurable
This also sets its default value to zero, in order to have consistent default behavior with versions from before this parameter was introduced.

It also provides a macro so that the ExpAI can be used with custom parameters in a scenario config, and adds high_level_fraction as an optional parameter to the Recruit Rushers Micro AI.
2019-10-08 12:45:59 -07:00
Steve Cotton
c5df7c4558 Tutorial S02: Show "recruit the right units" when the player has gold
It's confusing when it pops up on turn 12, regardless of the game state. My
leader is normally on the other side of the river from my keep, and I always
wonder "what about my play triggered that?"

Move the message to be part of the "I now have enough gold to recruit more
units" hint.

(cherry picked from commit 80a2ace28ca3728fea95cb5f53fb768ef00e64a3)
2019-10-08 19:39:11 +02:00
Steve Cotton
ed611f9438 Re-enable the editor help, and use it to document the keyboard modifiers (#4414)
... with the idea that these pages will either be improved or hidden again
before 1.16.0. I think the terrain-editor part will be good enough to stay in
1.16, but the scenario editor part needs to be updated by someone familiar with
it.

This puts the two tips that are currently in https://wiki.wesnoth.org/MapEditor
in to the in-game text.
2019-10-08 19:22:34 +02:00
gfgtdf
306df9fc74
Update changelog.md 2019-10-08 16:38:08 +02:00
mattsc
b8d1ef94f0 Experimental AI: make AI recruit higher level units
Because unit cost is penalized in the ExpAI, it recruits almost no higher level units. This adds a bonus for such units to be recruited at approximately the ratio defined in 'high_level_fraction'.
2019-10-08 07:15:47 -07:00
Steve Cotton
704aadd17c Changelog for #4359 2019-10-07 00:00:13 +02:00
Steve Cotton
b3ca78a57a Help for the ^Uf mushrooms terrains, including an editor-only hint
As the terrain is hidden in help, these hints can only be seen by
using the "Terrain Description" command on a ^Uf or ^Ufi mushroom
hex, and then switching to the overlay's own page.

A hint for players about how these mushrooms behave, and an editor-only
hint about replacing the ^Uf mushroom terrains with ^Tf.
2019-10-06 23:55:38 +02:00
Steve Cotton
5a1a8663a1 Allow translatable strings to display carets to the user (#4359)
Treat "editor^The overlays '^Uf' and '^Ufi' are deprecated because ..."
as a having translation hint "editor", and show "The overlays ..." to the
user. This disallows using carets inside the translation hint itself.

Code already reviewed in the discussion in #4359.
2019-10-06 23:55:38 +02:00
Charles Dang
a9254f4995
Revert to default PR trigger types
This allows them to trigger when synchronized and reopened too.
2019-10-07 03:13:17 +11:00
pentarctagon
c0843fe1a6 Fix the MP lobby reloaded indicator always saying the game isn't reloaded.
Currently, the value of `game["savegame"]` is one of `mp_game_settings::SAVED_GAME_MODE`.  However, the `to_bool()` function doesn't recognize any of those values as being true, so a game is always shown in the MP lobby as not being a reload, even if it actually is.
2019-10-06 17:31:20 +02:00
Steve Cotton
c8b1be9cd4 WoV translation: it hasn't been translated into en@shaw
I don't know what happened here, but c61b9b3b3f07e8c4f5ad055b5c79724c24c757ba
had WoV's en@shaw.po filled in with normal English. That's an error, this
commit removes all of those strings.
2019-10-06 12:06:33 +02:00
Charles Dang
b4fa646d45
Remove issue trigger
I don't think the labler action is meant to work with issues
2019-10-06 20:12:14 +11:00
Charles Dang
d7dabbaa51
Restrict labler to PRs being opened, enabled it for issues being opened 2019-10-06 18:15:10 +11:00
Charles Dang
8831f84d44
Added some rules for the labler 2019-10-06 18:11:28 +11:00
Charles Dang
cbd2d80306
Added labler action 2019-10-06 18:03:36 +11:00
Steve Cotton
39c5df7544
Simple Attack Micro AI Demo: Update dialogue for 1.14's AI improvements (#4431)
The default 1.14 already considers high-XP attacks.  Other than the dialogue,
the only change is to reduce the AI's default aggression, so there's more
contrast between what the Micro AI does compared to what the default AI does.

Switched to typographic quotation marks in the dialogue, and removed double
spaces between sentences.
2019-10-06 06:46:00 +02:00
mattsc
036bf8b6ae Experimental AI: fix poisoners ignoring [avoid] tag 2019-10-05 19:24:40 -07:00