Commit graph

26230 commits

Author SHA1 Message Date
josteph
d154cf14a6 Auction X: Don't shuffle the center side 2019-10-08 21:02:34 +00: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 80a2ace28c)
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
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
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
Steve Cotton
caf1c8eebd Tutorial S02: Make the grunt cross the bridge without bait (#4425)
Not a code-revert, but a behavior-revert of the switch of this unit
to use the guardian AI. 26327a5bdc.

If he somehow doesn't get across the bridge, warn the player
that something has broken.

(cherry picked from commit 656a44664d)
2019-10-05 20:18:35 +02:00
Celtic Minstrel
d090f91bce Alter the special notes syntax in EffectWML so that the note macros can be reused in that context 2019-10-04 23:49:05 -04:00
Steve Cotton
a8c96ba1f4 NR S06a: Fix the filter for Tallin complaining that they're sitting in the caves (#4371)
Now it only triggers if five or less units are outside.

(cherry picked from commit 0be05d06d5)
2019-10-03 15:53:44 +02:00
Severin Glöckner
b593e82cd2 schema: Use same definition as in actionwml 2019-10-02 05:59:58 +02:00
Severin Glöckner
9c099d5d07 remove TODOs regaring overlays 2019-10-02 03:50:39 +02:00
Severin Glöckner
664871bd14 add map_file to schema 2019-10-02 03:50:08 +02:00
Severin Glöckner
6da85e9042 switch from map_data to map_file in SP 2019-10-02 02:54:25 +02:00
josteph
9384d3b6b6 tips: New tip about terrains. 2019-10-01 18:26:39 +00:00
Severin Glöckner
a70bb58a21 TSG 5: add color to narrator message. 2019-10-01 16:36:51 +02:00
Severin Glöckner
ea039d6050 TSG 4: avoid endless loop in debug mode
There are no adjacent hexes if she isn't there.
2019-10-01 16:32:33 +02:00
doofus-01
7b56aba4ac adjusting bat cropping for help pages 2019-10-01 15:16:22 +02:00
josteph
e35fb7b90e fixup! tips: Add a tip about allied healing
Use a typographical apostrophe.
2019-10-01 13:13:14 +00:00
Nils Kneuper
3bf54fd9b7 updated Chinese (Simplified) translation 2019-10-01 14:00:58 +02:00
Wedge009
50ebd92e58 Dialogue correction
https://forums.wesnoth.org/viewtopic.php?p=647742#p647742
[ci skip]
2019-10-01 18:02:11 +10:00
josteph
dfe7347718 help: Break the new saveload and whylost topics into paragraphs for translation. 2019-09-30 22:49:33 +00:00
josteph
c939d13711 tips: Add a tip about allied healing 2019-09-30 20:32:30 +00:00
josteph
55b04875a6 Clarify advanced preference description
Players aren't expected to know what "the list of encountered unit" is.
2019-09-29 18:22:27 +00:00
Wedge009
46739fcfaa Add translation notes.
[ci skip]
2019-09-30 04:07:05 +10:00
Steve Cotton
53bea37b61 THoT: fix bigmap for the removed Troll Bridge 2019-09-28 15:47:22 +02:00
Elvish_Hunter
a830561dd0 Ported wmlparser to Python 3 2019-09-28 11:50:30 +02:00
Elvish_Hunter
5654b4c929 Removed broken wmlvalidator Python script 2019-09-28 10:59:45 +02:00
Charles Dang
5aaf179728 GUI2/Unit Preview Pane: tweaked attack display spacing
[ci skip]
2019-09-28 14:40:59 +11:00
Steve Cotton
f6c48953f6
Overlay deprecated terrains in the editor with a magenta "D" (#4374)
The image is a fully opaque letter, but leaving many completely transparent
pixels to see the underlying hex. When replacing the old mushroom overlay, it's
helpful to be able to easily recognise the base terrain.
2019-09-27 22:55:11 +02:00
Steve Cotton
96ffd65b68 PblWML schema: add the "dependencies" attribute
There's also a "translate" attribute which is missing in the schema,
this commit deliberately omits it as it was for WesCamp.

The commit comment in e6d1595f8 is wrong - the validator does complain
about the error fixed in that commit, I'd missed the --use-schema option.
2019-09-27 18:36:26 +02:00
Steve Cotton
e6d1595f86 Fix missing [/tag] in ServerPBL schema
The schema validator doesn't complain about this, but wmlxgettext does.
2019-09-27 17:47:46 +02:00
Steve Cotton
be177abcf8 TRoW: Replace ^Uf mushrooms with ^Tf mushrooms
For the units that these scenarios have, the stats are almost identical. Burin
and the troll-hole's spiders get a 10% defense boost on the new terrain.
2019-09-27 14:40:43 +02:00
Steve Cotton
6126fc3f47 TRoW S04a S04b: Move Sir Ladoc / Sir Ruddry to the victory event
This means that they join even when debugging with the :next_level command.

The enemies_defeated event could be replaced by victory_when_enemies_defeated
and the appropriate carryover amounts, but that should probably be done as a
single commit updating the entire campaign.
2019-09-27 13:05:02 +02:00
nemaara
4b8d7adf25 HttT: modify dates (fixes #4320) 2019-09-27 03:21:16 -04:00
nemaara
d2c86c71f0 HttT S18: change enemy side names (fixes #4261) 2019-09-27 02:59:59 -04:00
nemaara
de0fda74d0 SotBE S7: change objective wording 2019-09-27 02:55:48 -04:00
nemaara
d16b65c9a9 TSG: change Halidel's relation to Deoran (fixes #4321) 2019-09-27 02:47:42 -04:00
nemaara
6f235466cb
Merge pull request #4319 from clockback/master
Resolving date inconsistency
2019-09-26 16:36:01 -04:00
josteph
942302f6e3 fixup! unit_recall: Add tooltip 2019-09-26 16:14:45 +00:00
josteph
26a710d6fb unit_recall: Move the image path back to the cfg file 2019-09-26 16:07:44 +00:00
josteph
581899b77e unit_recall: Add tooltip 2019-09-26 16:07:44 +00:00
josteph
a7fc184ccd unit_recall: Show unrecallable units grayed out.
Part of issue #1282.
2019-09-26 16:07:44 +00:00
josteph
21823d9332 Lua: Fix wesnoth.deprecate_api for the case of deprecating a table that had a metamethod other than __index/__newindex 2019-09-26 12:17:05 +00:00
josteph
56131f14c4 lua: Fix a bug when calling wesnoth.deprecate_api on a table that had a metatable.
The old metatable was used as the metatable of the new element's
metatable, which doesn't make any sense at all.

Fixes #4079
2019-09-26 12:17:05 +00:00
Severin Glöckner
1f66baca84 Copy NOTE_SHOCK over to EI 2019-09-26 01:08:46 +02:00
pentarctagon
745c6b3dea
The NOTE_SHOCK macro doesn't exist in EI anymore. 2019-09-25 15:40:25 -05:00
Severin Glöckner
5a51c56985 MP 5p Wildlands: more tweaks
- use faction=custom
- no upkeep for side 5
- fix operator precedence in objectives

[ci skip]
2019-09-25 18:36:07 +02:00
Severin Glöckner
425802413b UtBS: add special note
[ci skip]
2019-09-23 22:00:44 +02:00
Severin Glöckner
f3022f69e4 wmllint: WoV is no add-on anymore
[ci skip]
2019-09-23 21:36:15 +02:00
Severin Glöckner
9ebb45d50b ThoT: let AI patter match recruit list on easy
[ci skip]
2019-09-23 21:18:37 +02:00