28583 Commits

Author SHA1 Message Date
newfrenchy83
650f70405f
fix [firststrike] special with apply_to=opponent crashes Wesnoth 1.17.x (#6574)
As reported on the forum in https://forums.wesnoth.org/viewtopic.php?p=672374#p672374
If a unit with "last strike" ([firststrike] special with apply_to=opponent, on any of its attacks)
was targeted by other unit for attack, wesnoth crashed.

Fix similar problems for other weapon specials like poisons, when two users of specials with
apply_to=opponent fought, one fighter only could be poisoned or slowed.

* Add a unit test for poison
* Add a unit test for firststrike and laststrike
2022-04-08 02:30:14 +02:00
Luis Miguel Iglesias Sánchez
8561fb64e3
NR S05a_01 Enhance dialogue between Tallin and Abhai (#6612) 2022-04-08 02:26:09 +02:00
Wedge009
dbf50b01be THoT: Move unused images to attic.
Resolves #6602.
2022-04-05 10:34:19 +10:00
Descacharrado
eb123ed8bb Fix units stuck in spider wall and filter 2022-04-05 10:27:07 +10:00
doofus-01
9f98081cb5
1.17 terrain graphics transitions update (#6588)
* small improvements to wooden walls

* intra-pile rubble terrain transition

* fixing some bad perspective in desert mountain transition images
2022-04-02 04:13:20 -07:00
Elvish_Hunter
c2ece934bd wmlindent: refactored indentation level handling code 2022-04-01 22:53:44 +02:00
Steve Cotton
071ba9d7d6 Add a unit test for [move_unit]location_id with an occupied hex
(cherry picked from commit ba1767f8b90a4ca34cf8ef2abbc03cf98fd488f8)
2022-03-31 09:33:13 +02:00
Tahsin Jahin Khalid
32e0542b3b
Xol -> Xos^Efs for 4 maps of AToTB/SotA/THoT/NR
Updates deprecated maps to current tileset.
2022-03-29 13:26:04 +06:00
Pentarctagon
31cd64a374
Using cwebp directly shaves another 1 MB off the image size. 2022-03-28 23:12:47 -05:00
Steve Cotton
5c07604c01 wmlxgettext: add a --no-sort-by-file option
Some users of wmlxgettext have scripts that already provide the file list in
a deterministic order, and the sorting added in 3761faf925 was choosing a
different order to the one desired.

(cherry picked from commit 904bb9bfb82c391d20e89dfbaacc1e71749dc3d9)
2022-03-28 10:36:12 +02:00
Wedge009
1726c1ce48 THoT: Remove unused Ratheln character.
Resolves #6587.
2022-03-28 15:06:54 +11:00
Tahsin Jahin Khalid
000dde5bb1 THoT map 09: Xol -> Xos^Efs 2022-03-26 22:22:05 +06:00
Tahsin Jahin Khalid
90b68b5388 NR map 5A: Xol -> Xos^Efs 2022-03-26 22:21:52 +06:00
Tahsin Jahin Khalid
63e9d4d02b SotA map 20: Xol -> Xos^Efs 2022-03-26 22:21:41 +06:00
Tahsin Jahin Khalid
c5d7b6a954 AToTB map 03: Xol -> Xos^Efs 2022-03-26 22:21:00 +06:00
inferno8
c8958ff4a5
Convert Isar's Cross map background images to webp format (#6254) 2022-03-25 18:56:28 -05:00
Tahsin Jahin Khalid
2a679a76df DiD S8: Add Spectral Servant-line (ghost)
to list of units who cannot pick up the book
2022-03-24 06:16:29 +06:00
Tahsin Jahin Khalid
b1d0c983ed DiD S8: make Spectral Servant ghost-line trigger dialogue
for book pickup
2022-03-24 06:14:39 +06:00
Steve Cotton
2888f0417d Add unit tests for Lua API wesnoth.simulate_combat
(cherry picked from commit d96968b2ec0ea3198982fc530ee68054dd19af63)
2022-03-23 07:43:10 +01:00
doofus-01
3f500e3a4c
1.17 new Fence terrain (#6555)
* palisade terrain (*^Eqp) addition

* make Eqf and Eqp play nice

* try to make barrier fence editor tiles clearer

* get specific terrain codes out of the NEW:FENCE rules

* fence terrain macro cleanup

* better transitions for portals/fences
2022-03-20 20:35:08 -07:00
Pentarctagon
3f41d911f2
1.17.2+dev. 2022-03-20 12:03:51 -05:00
Pentarctagon
7ce603e565
1.17.2. 2022-03-20 12:02:51 -05:00
loonycyborg
400f5af475
pot-update and regenerate doc files 2022-03-20 06:52:10 +03:00
Elvish_Hunter
c23cdd5fb1 maps/background.jpg -> maps/background.webp 2022-03-16 22:34:06 +01:00
Elvish_Hunter
e1553e8c52 wmllint: added conversion rule for maps/background.png to WebP 2022-03-15 22:47:17 +01:00
Elvish_Hunter
9e98be3676 wmlscope: recognize webp images 2022-03-15 18:35:46 +01:00
Wedge009
170c124bcb UtBS: Rename ally_name to ally_id for clarity.
Justification: ally_name variable actually holds the ID attribute of the unit, not the name attribute.
This change was originally included in #6165, which has since been reverted, so reinstating the variable renaming here.
2022-03-15 10:51:13 +11:00
Wedge009
d5b95e621d While this is far from the only place where variables are used in translated text, the use of variables adds challenges to some translations.
The particular discussion which led to this reversion relates to the Czech translation.

Revert "Refactor handling of allies in UtBS. Resolves #6158."
Revert "Add po hints where self-referential troll names have been replaced with variables."

This reverts commit 541f0a1e73c45a8e58237e3a635d8d3bcbe1305a.
This reverts commit 4a3ddfb1430ce715e0ffbb519aef1c4592db3575.
2022-03-14 11:22:32 +11:00
Pentarctagon
f44acd68c2 Add build support for webp images. 2022-03-12 13:47:46 -06:00
Celtic Minstrel
57c2e6de4a Fix shroud unit tests not being classified as unit tests and showing up in the in-game test list 2022-03-11 09:46:33 -05:00
Celtic Minstrel
876827c644 Update deprecated uses of [replace_map] 2022-03-11 09:45:56 -05:00
Pentarctagon
95aaac76a9 Store add-on passwords in the credentials file as well.
This allows storing add-on passwords for uploading in the same credentials file as is currently used by the client when connecting to a multiplayer server. For add-on authors that don't keep their passwords as plaintext in their _server.pbl, this removes the need for them to manually enter their password each time they upload an add-on.
2022-03-10 10:23:01 -06:00
Steve Cotton
1f41893f18 SoF: explain the Shorbear tools as products of the volcanic forge
I don't like the explanation of the tools being made of unobtainium, so changed
it to use a convenient plot device. I think this also solves a plot hole about
the forge; instead of it being near the Shorbear Caves by random chance, this
gives a reason for the Shorbear Clan to live there (even if they haven't been
in there in living memory).
2022-03-09 13:31:18 +01:00
Steve Cotton
8e4be819dc Piglets: add a po hint that these are wild boars' young
(cherry picked from commit 2f6a9999892f6b168ec473868d24a2ca09f96027)
2022-03-07 08:28:16 +01:00
doofus-01
8b059e5b54
Crater updates and other minor terrain fixes (#6492)
* fix bad Swamp-Icy_Cobble (Ss-Rra) transition

* uncouple crater from desert sands

* different craters (^Dc) for sand, dirt, and ice

* fix some dull snow on Koa and Coa
2022-03-06 15:25:16 -08:00
Elvish_Hunter
0a3ab226b6 Fix a deprecated macro call 2022-03-01 10:15:44 +01:00
Elvish_Hunter
b7c3fc8825 Fix an incorrect macro argument reported by wmlscope 2022-03-01 10:14:45 +01:00
Elvish_Hunter
21bd75c12f wmlscope: allow reporting deprecated macro calls 2022-03-01 10:12:15 +01:00
Eric Gallager
4f3236d60b Add egallager to about.cfg
Add myself as a miscellaneous contributor; see #6475
2022-03-01 17:04:58 +11:00
Larkin Nickle
a98713e268 Add larb0b to about.cfg 2022-02-28 14:13:07 -06:00
Wedge009
0c13523544 DM S23: It makes more sense that Asheviere does not mention the attack on Sagus at all.
[ci skip]
2022-02-22 11:44:05 +11:00
Wedge009
77cb32302b Not aware of north-east Wesnoth being a special region used as a proper noun, so remove capitalisation.
[ci skip]
2022-02-21 13:56:13 +11:00
Wedge009
e76717b40b Directions are not capitalised.
[ci skip]
2022-02-21 13:54:59 +11:00
Wedge009
ea576c78ac Drake description: 'in to' should be a single word in this context.
[ci skip]
2022-02-21 13:53:52 +11:00
Pentarctagon
3c742717cc
1.17.1+dev. 2022-02-20 11:32:16 -06:00
Pentarctagon
437bf5a9ec
1.17.1. 2022-02-20 11:32:14 -06:00
Tahsin Jahin Khalid
c5bc208166
WoF: update map of S9 To stop a Cave Bear spawning at an unreachable location
WoF: update map of S9 To stop a Cave Bear spawning at an unreachable location

Context: At the second stage, the player has to team up with the dragon and kill all enemies...but this cave bear is unreachable so scenario never ends
2022-02-20 23:28:05 +06:00
Tahsin Jahin Khalid
b3a8361869 WoF: update map of S9
To stop a Cave Bear spawning at an unreachable location
2022-02-20 23:17:33 +06:00
loonycyborg
c0c5cd69ac
pot-update and regenerate doc files 2022-02-20 13:52:16 +03:00
Tahsin Jahin Khalid
35aa0d1893
[world conquest] update deprecated share_view (#6536)
'share_view = true' => 'share_vision = "all"'
2022-02-19 13:54:59 -05:00