27397 Commits

Author SHA1 Message Date
nemaara
c8576a781d HttT: rebalance some scenarios 2020-12-13 04:49:14 -05:00
Charles Dang
8049551241 WC: removed spurious error message 2020-12-12 23:20:09 +11:00
nemaara
41f65f84b9 HttT S6: make caves easier to navigate 2020-12-11 18:38:50 -05:00
nemaara
f1344c8574 HttT: reduce difficulty in early scenarios 2020-12-11 18:35:37 -05:00
Charles Dang
a22622258e Updated schema 2020-12-12 03:53:48 +11:00
Charles Dang
7188781f91 GUI2: made link_aware a per-instance config option rather than per-definition
Back when link awareness was first added (https://github.com/wesnoth/wesnoth/pull/300), this key was added
globally to label definitions alongside link_color. This had the unintended side effect of making *all* labels
link aware, leading to issues such as being able to open a do-you-want-to-open prompt from an instance of the
same ad-infinitum.

This became an active issue after 213453e6cf78371360471ac4d110602aafecd9f3, since now that labels could capture
focus if link_aware was true - which it always was for most labels - labels in toggle panels would always
grab mouse_motion events and no longer allow their parent toggle panels to gain their hovered states. That
appears to be in keeping with the design of GUI2, and a further evaluation of that issue is needed at a later
time. However, the fact remains that almost every single label was marked as link-aware, even when in almost every
case that was not the desired behavior.

This change move the link_aware config option to individual label and scroll_label instances. The following uses
had this explicitly enabled:

- Addon license prompt
- Addon descriptions
- Campaign descriptions
- The Server Info popup
- The chatbox
2020-12-12 03:03:09 +11:00
nemaara
32c803017a TSG S5: reduce difficulty 2020-12-11 03:42:01 -05:00
nemaara
0059c67edf TSG S6a: reduce difficulty 2020-12-11 03:39:53 -05:00
nemaara
6d8b14855e TSG: reduce bandit branch difficulty 2020-12-11 03:38:05 -05:00
Steve Cotton
68eeb39e97 EI S03: Fix the chance-to-hit on the initial Dark Adept
The map was changed to use ruined castles in 1.14.12 (fb6d79c8) and 1.15.3
(704fa2ef), but the .cfg file was missed.
2020-12-10 11:36:51 +01:00
Iris Morelle
f49cb62c7c gui2/addon_license_prompt: Fix missing translation mark 2020-12-10 04:34:22 -03:00
Iris Morelle
4fa0ac6357 gui2/addon_license_prompt: Revert caption to just "Terms" 2020-12-10 04:31:02 -03:00
Iris Morelle
8c3918197c gui/addon_manager: Add dedicated license prompt dialog
This allows using full markup for the license text and making it
independently scrollable without messing up the dialog. It also enables
URL parsing in it.
2020-12-10 00:15:17 -03:00
newfrenchy83
70e4f7bb7e
Move documentation outside some macros
Fixes #5347
2020-12-07 22:26:06 -06:00
Elvish_Hunter
ab95662720 wmllint: warn about shroud terrain in map files
Just like _f (fog), _s (shroud) is allowed only inside mask files
2020-12-06 11:23:13 +01:00
Elvish_Hunter
5eadebeb3a wmllint: added four tags to the allowed children of [if]
They are [true], [false], [found_item] and [proceed_to_next_scenario]
2020-12-06 11:23:12 +01:00
Elvish_Hunter
7babdf3cec wmllint: added [elseif] and [wml_message] to the tags allowed inside [part] 2020-12-06 11:23:12 +01:00
Elvish_Hunter
351f7cafcc wmllint: added support for custom conditional tags with magic comments 2020-12-05 11:03:40 +01:00
Elvish_Hunter
785bd018e6 wmllint: prevent a crash if CLEAR_VARIABLE and its arguments aren't on the same line 2020-12-03 21:33:49 +01:00
Elvish_Hunter
845887dfa6 wmllint: prevent a crash if an [attack] tag without the corresponding [/attack] is found 2020-12-03 21:12:21 +01:00
Elvish_Hunter
a5207027fe wmllint: don't quit when finding a mask= key not referencing a .mask file
Fixes #5324
2020-12-03 21:01:15 +01:00
Elvish_Hunter
5e4ba6c01b wmllint: fix a crash if advances_to= is placed before id= in [unit_type]
This was supposed to be a part of the fix for #4102, but for some reason it never got committed.
2020-12-03 20:55:12 +01:00
mattsc
bf3cdeb179 AToTB S2: fix AI bug when Muff Toras has no move
This was caused by a change in the return value of ai_helper.find_best_move() when no move is found.

Fixes #5316
2020-12-02 17:35:26 -08:00
Severin Glöckner
a7320744d0 NR S2: weaken fallback events
One of them seems to be triggered occasionally
2020-12-03 01:18:41 +01:00
Severin Glöckner
7c4ce9dd0f NR: remove unused images
belonged to the alternative story branch
2020-12-02 16:19:48 +01:00
Severin Glöckner
d4e06c83e2 DiD: remove accidentally commited file 2020-12-02 16:15:04 +01:00
Severin Glöckner
db28a8657b DiD S9: increase health
Bats deal 3 damage.
Malin heals also 3 damage if he hits (unless the enemy has less than 6 health)
With 28 hp, Malin can take 9 more hits than he does,
compared to 6 previously on hard (and 8 previously on normal)

closes #5296
2020-12-02 14:10:21 +01:00
Pentarctagon
62aa0b252f
Run wmlindent. 2020-11-30 16:10:28 -06:00
Celtic Minstrel
9c102a64c6
Fix OBJECTIVE_FOOTNOTE 2020-11-30 13:41:09 -05:00
Severin Glöckner
0996a95c48 DiD S9: small fixes
Some units can be cut of in the 2nd round. That's not a problem, but with a
good portion of bad luck it could happen to MKBones, making the scenario
unwinnable. That's handled by map adjustments.

Also increasing HP by 3 for the lich start, might even be more.
Discussion in #5296
2020-11-30 03:32:04 +01:00
Severin Glöckner
e0b39e5dd2 DiD S9: simplify terrain matching codes
Uu^* matches Uu too
2020-11-30 03:32:00 +01:00
Steve Cotton
72863e578b Add a unit test for resistances (using the standard 6 damage types)
I'm working on a bugfix for the [resistance_defaults] tag, for which the
unit test is going to be out-of-tree until we support some method of testing
it without affecting other tests. The version here is the part of that which
can be in-tree, because it doesn't change the core unit's stats.
2020-11-29 22:30:14 +01:00
doofus-01
77e465490d
units - undead variation for sea serpent(ish) units (#5323)
* units - serpent walking corpse

* units - WC and Soulless serpent

* adding zombie serpent portrait

* units - set undead_variation to serpent for croc and serpents
2020-11-29 13:26:51 -08:00
Celtic Minstrel
ef14581956 Remove make targets for the old and obsolete wmlvalidator
This validator was already removed in another commit, so there's no point in these targets existing.
2020-11-29 12:53:54 -05:00
Celtic Minstrel
212b4fc3d1 Put back the documentation comments removed in 0e800d36a6b57ad28d5e2a1d46c3181bb92b597c
This time they're added in the wrong place so as not to break the schema validation; they can be moved to the correct place later once that actually works.
2020-11-29 12:44:31 -05:00
Severin Glöckner
71b0a785e4 UtBS S9: Fix ship moving over Hills
Thanks to knightmare and konrad
2020-11-29 14:57:26 +01:00
Severin Glöckner
883e71d523 NR S2: additional trigger field for door 2020-11-28 13:44:42 +01:00
Severin Glöckner
68d5e25ff7 NR S2_1: remove revealing hex
25,21 was visible from the other side of the wall.

This makes 25,21 part of the wall.
2020-11-27 21:26:21 +01:00
Whiskeyjack
e2d0833bbf NR S2_1: remove rails from castle hexes; fixes #5317 2020-11-27 13:37:35 -06:00
Pentarctagon
7567bb9d79
Run wmlindent. 2020-11-27 00:17:38 -06:00
doofus-01
d6dbc2bb01
animal zombie variations (#5286)
* units - move SotA zombie rats to core

* units - hackish movement anim for zombie gryphons

* units/monsters - better choices from available undead_variations

* units - falcon zombie (no soulless yet)

* units - adding zombie falcon portrait

* units - adding soulless falcon

* units - adding gorer portrait

* units - slight adjustment to zombie falcon

* units - adding zombie rat portrait

* units - zombie tusker

* units - tusker soulless

* units - wire in new undead variations to falcon and tusker

* units - fix some sprite shadows in the zombie tuskers
2020-11-26 19:19:16 -08:00
Steve Cotton
9b616e84de SotA S04: Run wmllint, which fixed some double-spaces in strings 2020-11-25 18:30:45 +01:00
Severin Glöckner
e07a9b9ac6 DiD S10: fix filter 2020-11-25 15:13:11 +01:00
Steve Cotton
f5394e19db SotA S10: Add some translation hints 2020-11-25 14:01:20 +01:00
Steve Cotton
47c9c60ea7 SotA: Fix some other translation hints
They need to be on the line above the string, instead of being a comment
following on the same line as the string.
2020-11-24 03:28:47 +01:00
Severin Glöckner
de4934bcd0 Sota: add translation hints 2020-11-24 02:31:13 +01:00
Pentarctagon
d4b8f71771
Fix indentation. 2020-11-23 00:17:31 -06:00
Pentarctagon
0e800d36a6
Fix schema validation. 2020-11-22 23:54:12 -06:00
Severin Glöckner
302bfb9818 DiD S9: avoid recalling L1 instead generating L2 2020-11-22 22:02:34 +01:00
Severin Glöckner
6764484e69 DiD S9: different way to limit movement
objects rock
fixes #5295
2020-11-22 20:39:23 +01:00