27416 Commits

Author SHA1 Message Date
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
Severin Glöckner
a8a92ca091 DiD S10: change color/flag earlier
before the units show up first, so that it will be correct in the cutscene.
2020-11-22 20:39:23 +01:00
Severin Glöckner
e2f25187ac DiD S10: refactorings
- Giving everybody a teamname, displayed in the :inspect window
- No retreating for Inky with the new AI
- the fake side 5 uses now the icon of side 1, but has still the
  default flag for displaying it in the sidear during the cutscene.
- refactorings
2020-11-22 20:39:20 +01:00
Severin Glöckner
b9124c0033 DiD S10: Inky death handling
- closes #5297
- add's alternative case for AI killing
  (still looking for a less comprehensive wording)
2020-11-22 20:33:44 +01:00
Severin Glöckner
3076d532a5 DiD S10: add time area for 2nd exit
North-east had one, south-west now too. Romm for further improvement:
change the RGB values, the cave is so dark that it's quite some contrast.
One side of the mountain has always shadow, could use that idea.
2020-11-22 20:33:44 +01:00
Severin Glöckner
d339d3c271 DiD S10: list starting gold in statistics
Every change to starting gold before a players turn will still count as staring gold.
Moving the code to to prestart.
2020-11-22 20:33:44 +01:00
Severin Glöckner
bde6ac4541 DiD S10: Hide traces of side 3
It's already hidden in the statistics, hiding their turn-flags too
2020-11-22 20:33:44 +01:00
Severin Glöckner
ae2306865e DiD S9: refactorings 2020-11-22 20:33:44 +01:00
Severin Glöckner
e0acdf61f4 DiD S9: move objectives to prestart
That has the bonus that they are shown if
the player looks them up during the cutscene
2020-11-22 20:33:44 +01:00
Severin Glöckner
299124fd22 DiD S9: grant at least one L2 2020-11-22 20:33:44 +01:00
Celtic Minstrel
059dabcb6a Do a pass of macro documentation
- Adds a bunch of documentation
- Fixes some incorrect or inaccurate documentation
- Moves some documentation so that wmlscope actually picks it up
- Excludes some internal macros from being documented
2020-11-22 12:24:43 -05:00
Elvish_Hunter
ba6b5f04aa macros/movetypes.cfg: moved docstring for LESS_NIMBLE_ELF macro inside that macro 2020-11-22 11:03:04 +01:00
Elvish_Hunter
4be3eb580a wmlscope: never consider macro definitions as part of the file docstring 2020-11-22 10:59:02 +01:00
Wedge009
3f6645e3c4 Spelling correction.
[ci skip]
2020-11-21 20:33:20 +11:00
Wedge009
0d140b71c6 Minor SoF prose corrections.
[ci skip]
2020-11-21 20:25:12 +11:00
Wedge009
c0393d2394 Clarify what is meant by 'broken version'.
[ci skip]
2020-11-21 20:15:44 +11:00
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