27332 Commits

Author SHA1 Message Date
Iris Morelle
452ff09475 pot and documentation update 2020-11-21 01:44:12 -03:00
Hejnewar
2a1a385478
Balance update (#5289)
Dune Rider xp changed from 42 to 47.
Sunderer line dodge on hills changed form 60% to 50%.
Scorcher gold cost changed from 23 to 25.
Dragoon gold cost changed from 27 to 28.
Elvish Rider gold cost changed form 32 to 28.
2020-11-19 22:33:00 -06:00
nemaara
3d1a44847c DiD S9: another attempt at fixing ghost recall bug 2020-11-19 16:34:58 -05:00
Severin Glöckner
4e5fa1ad3b TSG Into the Depths: reposition portrait
Grek and his units are on the left corner of the screen,
the same place where the portrait is overlayed.
Better using the right side for Grek's portrait.
2020-11-19 22:17:49 +01:00
Severin Glöckner
baa889c4e9 TSG Into the Depths: Fix Troll villages
… not being transferred

Fixes #5269
2020-11-19 22:02:17 +01:00
Steve Cotton
ffeb80f6ca Add a unit test for the behavior of [unit]id= recalling units
Answers a question raised in PR #4999. This also passes on 1.14.
2020-11-19 16:07:47 +01:00
Elvish_Hunter
30d9697ab5 wmlindent run on macros/deprecated-utils.cfg 2020-11-19 12:53:29 +01:00
Elvish_Hunter
4cf440e729 wmlscope: remove 'endarg' strings from HTML output 2020-11-19 11:49:39 +01:00
Elvish_Hunter
b39ca0e548 wmlscope: report optional macro arguments in HTML output 2020-11-19 11:46:55 +01:00
Elvish_Hunter
8c3ca97287 wmlscope: also report macros without documentation in HTML output 2020-11-19 11:44:52 +01:00
Elvish_Hunter
044901fd01 Fixed a deprecation comment to match a regex used in wmlscope 2020-11-19 11:37:06 +01:00
Elvish_Hunter
d51d389801 wmlscope: report about deprecated macros in HTML reference 2020-11-19 11:35:04 +01:00
Steve Cotton
296046d211 SotA: Don't concatenate strings in the recruit dialog
Instead of trying to concatenate translatable strings, just make a single full
string to be shown in the recruitment dialog. This came from trying to update
the i18n hints, and realising my suggest of making the swimmers "Merfolk" in
f6dc83375 was causing problems when they could also be nagas.

These strings are stored in a variable at the start of the campaign (in
ZOMBIE_INIT), so won't appear when loading an existing save game. This is why
the Lua script keeps some support for the old names (although they're not going
to be translated in that case).
2020-11-19 07:47:58 +01:00
nemaara
013bea067f DiD S6: fix orc reinforcement side 2020-11-18 17:41:16 -05:00
nemaara
03ea33ff02 DiD S5: increase AI aggression 2020-11-18 17:36:58 -05:00
nemaara
0c11cf40ea DiD S4: fix bad unit filter 2020-11-18 17:36:44 -05:00
Lukas Jox
a8f057d5be SoF S4: prevent resource spawn on strange locations; fixes #5278 2020-11-17 14:56:26 -06:00
Lukas Jox
9f6cca84c4 Revert "SoF S4: prevent resource spawn on castles"
This reverts commit 7e00c45e665d9572eeaaa025c052594cf9dd05ed.
2020-11-17 14:56:26 -06:00
Lukas Jox
bff72310ad SoF S2p5: change event to follow player expectations 2020-11-17 14:56:26 -06:00
Steve Cotton
1cd0cc7d26 SotA: Fix Ardonna's zombie list after Rastabahn's scenarios
Fixes #5256, which was that `{SAVE_ZOMBIE_LIST rastabahn_zombies}` overwrote
the ardonna_zombies variable.

Move the MERGE_ZOMBIE_LIST code to be next to the LOAD and SAVE code, as any
change to one of these functions should probably be done to all of them.
2020-11-16 04:54:08 +01:00
doofus-01
4a9b7e0c0e
Fauna Revisited (#5234)
* stoat - update sprites

* stoat claws attack anim

* stoat portrait

* stoat bite attack animation

* units - add bear portrait

* units - falcon attack anims

* units - icemonax gets a portrait

* units - icemonax attack anim

* units - Greater Icemonax portrait (variation)

* units - rename icemonax sprite files

* units - greater icemonax tail attack anim
2020-11-14 21:03:20 -08:00
Charles Dang
1a2ed5df44
Merge pull request #5248 from Hejnewar/Allow-users-to-set-chat-lines-to-0
Allow users to set chat lines to 0.
2020-11-14 17:28:06 +11:00
Lukas Jox
d254a042eb TSG S8b and epilogue: fix minor inconsistencies 2020-11-11 16:02:53 -06:00
kabachuha
ec19ddd1db display addon versions as a dropdown list 2020-11-09 09:43:57 +03:00
Eric Gallager
3d27278296 update gitignores 2020-11-08 23:41:21 -05:00
Iris Morelle
5d86f6cb69 Typography fixes to monster unit descriptions
Fixes the following:

 * Using U+0027 instead of U+2019 for apostrophes
 * Double blanks after punctuation
 * Trailing blanks
2020-11-05 19:40:57 -03:00
Iris Morelle
6424384c55 Reduce L0 Icemonax's XP from 26 to 25 for consistency 2020-11-05 19:34:09 -03:00
Steve Cotton
1cdc4ef530 IntroWML code cleanup and fix/rename of [image]resize_with_background=
Prior to this commit, the scaled= attribute was undocumented and had what I
assume was a bug - when enabled the image was scaled up to the width and height
of the background - not to the same ratio as the background, but to the full
size. So if you had a 1000 pixel wide background in an 800 pixel wide window,
then scaled=yes meant each journey-marker was an 800 pixel-wide blob.

However, if anyone was using it with background-size images as overlays then
this commit will break that usage - that use case is still supported by having
multiple [background_layer]s.

Closes #5223, which was a question about whether to fix or simply remove the
scaled attribute. Given that [background_layer]scale= and [image]scaled= have
different meanings (the background_layer one should and does cause it to be
full-window), I've kept the 'd' on the end of 'scaled' too.

Use a loop instead of recursion. This cleanup is prompted by #5041 (drawing
map labels in IntroWML), which will add more items to be drawn in this loop.
The old implementation would not have triggered tail-recursion optimisations,
as the recursion site wasn't the final code in the function.

Correct documentation in the .hpp file about when the delay takes effect (this
isn't a behavior change, just a documentation correction).

Review the schema, and remove attributes that aren't supported by the code.
Many of these attributes are supported for `background_layer` but not `image`.
2020-11-04 12:24:42 +01:00
Pentarctagon
f39bd33899 Remove a few bits of never implemented editor features.
The sound source tool in particular, since showing a button to players whose only function is to tell them it's not implemented makes no sense.
2020-11-03 15:30:57 -06:00
Steve Cotton
d4739088da AToTB S02: Rewrite the script with the elves thinking the baddies are grey mages
This is about 10 lines of translatable text, not sure if it's okay to backport to 1.14.
The storyline itself is going to have large changes by 1.18 (maybe 1.16), so I'm not sure if
this will ever be in a stable release.

If a player loads a start-of-S02 save without the who_slew_mordak variable then it will still
work, showing the "I saw the killing blow with my own eyes" version.

Explanation for what's going on (put in the commit message because this bit is non-canon):

There are some "grey mages" in the Grey Woods, who appear in the Liberty
campaign. Most of the details of these were removed from 1.15, but in 1.14's
Liberty S06 they don't tolerate necromancers. SotA mentions an ancient elvish
civil war in these woods, with the ghosts still haunting the battlefield. I'm
assuming a general truce between elves and grey mages, on the understanding
that the grey mages are doing exorcisms of ghosts from the ancient war.
2020-11-02 21:32:56 +01:00
Artem Khrapov
df19ea9b6f
UtBS: add female variants to dehydration text 2020-11-02 19:39:15 +03:00
Konrad2
d7211824c5 TB: Changing a difficulty name
'Knight' to 'Grand Knight' so it matches the sprite used.
2020-11-02 00:13:15 -06:00
Steve Cotton
6aa6c010e7 LoW S07: Revise the dialogue, as the dwarves don't turn up until the end 2020-10-31 21:43:18 +01:00
Steve Cotton
b8f03c40e6 Fix [store_unit_defense] and add [store_unit_defense_on], add unit test
The existing tag has a confusing name - it returns the chance to be hit rather
than the defense, for example 30 would be returned for a unit on 70% terrain.
The new tag returns a higher-is-better value.
2020-10-28 22:10:46 +01:00
Steve Cotton
5db9727c20 SotA S04: Remove some [image]scale=no attributes
While [background_layer] has a scale attribute, [story][part][image] doesn't.
2020-10-28 20:04:18 +01:00
Hejnewar
404e86746a Allow users to set chat lines to 0.
Allow users to set chat lines to 0. #1082 fix.
2020-10-28 16:22:47 +01:00
Steve Cotton
517cbf7420 DM and LoW: Remove '[story][part]delay=' attributes
None of these had any effect, either on 1.15 or 1.14. I doubt that they ever
had an effect, because if these story screens had 4 second or even 8 second
delays then it would surely have been treated as a bug.
2020-10-27 19:44:07 +01:00
Steve Cotton
b523297c2a Add docs about crowns and ellipses
The image added here is a grass background to draw units on via Image Path
Functions. For the documentation, a square image looks better than a hexagon
that has black borders.
2020-10-26 16:07:12 +01:00
Celtic Minstrel
a184b39013 The method of detecting duplicate/overlapping schema tags is now applied also to keys.
This detected one genuine error in the schema, so yay!
2020-10-24 18:27:08 -04:00
Celtic Minstrel
8266e0fb86 Add a feature to the schema validator to limit the constrain number of subtags 2020-10-24 15:40:25 -04:00
Celtic Minstrel
fab490cf60 Add ThemeWML and HelpWML to the schema
The change in theme.cpp is just to make the "title_literal" key be consistently applied as documented. Since the key isn't used in mainline, it should have no effect on actual uses.
2020-10-24 15:04:46 -04:00
Celtic Minstrel
6d7f8e8ce6 Add a new check to the WML schema self-validator
This warns about tag definitions that can never match any tag (or for which one element of the comma-separated list can never match) because there is an earlier-defined tag definition that would match it instead.

The new check also found some errors in the schema, which have been fixed.
2020-10-24 13:26:18 -04:00
Celtic Minstrel
23859c6d78 Fix some reference errors in WML schemas 2020-10-24 13:26:18 -04:00
Wedge009
e123956524 Minor prose corrections.
[ci skip]
2020-10-21 15:09:22 +11:00
Wedge009
ff4456c9d3 Capitalise Northlands in Wesnoth as a proper noun.
[ci skip]
2020-10-21 15:07:56 +11:00
gfgtdf
c27d477407 run wmlindent 3 2020-10-20 10:37:10 +02:00
gfgtdf
4eb6eab7e3 run wmlindent 2 2020-10-19 23:53:52 +02:00
gfgtdf
b21c110f30 run wmlindent 2020-10-19 23:53:52 +02:00
gfgtdf
e822e22b2f wmlindent: don't indent #'#deprecated' 2020-10-19 23:53:52 +02:00
gfgtdf
ae9b533925 wmlindent: don't indent if #endarg is on the same line
this might change behaviour of the arg value
2020-10-19 23:53:52 +02:00