28751 Commits

Author SHA1 Message Date
Steve Cotton
b18b0e0f55 Add unit tests for [break] and [return] during [fire_event]
Fixes #7084.
2022-11-05 06:21:30 +01:00
Wedge009
26adbf4416 wmllint: As requested, adding recognition of WebP image labels.
Extension of #7079.
2022-11-03 11:26:30 +11:00
Wedge009
c8a0f9b9ca DM S21: Show Delfador crossing at the Ford of Abez and take a route to Weldyn via Tath.
Resolves #7081

[ci skip]
2022-11-03 11:16:56 +11:00
Wedge009
2010ffdbba
wmllint: Ignore labels for translation if a PNG extension is found (#7079)
* wmllint: Ignore labels for translation if a PNG extension is found.

Resolves #6995.
2022-11-03 11:16:37 +11:00
Wedge009
80b33deb9b SoF S9: Separate Toomak's last breath message from the events following his death. 2022-11-03 11:15:55 +11:00
Pentarctagon
16b900c273 Add documentation to more WML unit tests. 2022-11-02 15:16:23 -05:00
Pentarctagon
5d174a3493 Update lobby tab text. Resolves #7056 2022-11-01 19:24:05 -05:00
Wedge009
29a2add33f zombie-rat.png -> zombie-rat.webp 2022-11-01 22:57:48 +11:00
Wedge009
dc2ccab119 Correct non-standard spacing.
[ci skip]
2022-11-01 22:55:07 +11:00
Wedge009
0d87d022bc UtBS: Add missing text domain.
[ci skip]
2022-11-01 22:35:00 +11:00
Wedge009
7ab7abc22e WC: Mark OK button for translation. 2022-11-01 15:49:09 +11:00
Dou1622
a667740fe5
Fix wmllint translation mark errors (#6966)
* Fix wmllint translation mark errors

* Added wesnoth-help domain

* Try to give better labels for the WC map generator settings which are now marked for translation.

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2022-11-01 13:40:49 +11:00
demario
ce06a1b81a Fix male Dark Horse name 2022-11-01 13:36:35 +11:00
Wedge009
893eb26315 DM S16: Show Delfador taking a more direct route to Weldyn.
Resolves #7067

[ci skip]
2022-11-01 09:36:18 +11:00
Dou1622
858f2d2496
Fix unknown speaker errors (#7016)
* Fix unknown speaker or id errors

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2022-10-31 08:17:51 +11:00
Severin Glöckner
640c08b7f5 Lua: crash peacefully with [move_unit]
If there is an issue with to_x or to_y, such as a missmatching number of values, or none,
then the function is aborted by the 2nd/3rd wml.error statement.

At that place, current_unit:extract() was already called, so the function
would not only fail, but also remove the unit.

This commit unstores the unit prior to aborting.
The alternative of extracting the unit later would break the tests,
as it is then still using the hex, which is then not available to pathfinding.
2022-10-26 23:32:10 -05:00
Severin Glöckner
a748126b75 Lua: don't trigger unit placed events by WML tags
If the last argument to the C++ function ( game_lua_kernel::intf_put_unit )
is false, event's won't be fired.

closes #5158
2022-10-26 23:32:10 -05:00
MJ
14706e52ed
Saurian Spearthrower tree (#6912)
Add Saurian spearthrower tree
2022-10-26 23:17:21 -05:00
Pentarctagon
e37e576f12 Add documentation to more WML unit tests. 2022-10-25 11:29:48 -05:00
Jonathan-Kelly
ebe069de0b
Give Shyde and Sylph unwalkable statistics (#6994)
* Give Shyde and Sylph unwalkable flight

With the same unwalkable terrain movement and defense as the Quenoth versions of these units. Makes them behave as true flying/floating units as their wings, movetype name and other statistics suggest, while opening up interesting game play possibilities.
2022-10-23 16:54:12 -07:00
Steve Cotton
b74216d6c8 Unit tests for changing abilites with filters in [event]name=attack
The existing backstab tests' common code is moved to a utility file
for reuse in other tests, because it can be used to check whether a
weapon special was active during the damage calculations.

Git's diff can show a lot of lines being deleted, but that's just
because it's showing a file being copied, and then half of each copy
being removed.
2022-10-21 20:26:12 +02:00
doofus-01
343eb7bc81
1.17 - make forest overlay terrain available on bluff/gulch (#7051)
* adding forest bluffs - Qhhf

* wooded gulch - Qhuf - and default trees

* some minor small forest variation images
2022-10-15 20:34:05 -07:00
Pentarctagon
5700e96a59 1.17.9+dev. 2022-10-15 21:09:26 -05:00
Pentarctagon
6682ef8ab8 1.17.9. 2022-10-15 21:09:25 -05:00
Pentarctagon
2e628caeaf pot-update and regenerate doc files 2022-10-15 21:09:25 -05:00
Tahsin Jahin Khalid
cff9f6e8d1
EI S11: adjust story text again to resolve inconsistency
Co-authored-by: nemaara <nemaara@users.noreply.github.com>
2022-10-14 09:23:09 +08:00
Tahsin Jahin Khalid
62c4f64c9c EI S11: update inconsistency on northern orcs 2022-10-14 00:48:01 +08:00
Pentarctagon
1f04073a2c Fix for wmlindent error. 2022-10-12 19:37:11 -05:00
Pentarctagon
03598585c1 Add keepalive advanced preference. 2022-10-12 07:58:07 -05:00
Tahsin Jahin Khalid
28b5a21f3c
Wmllint: add new terrain code updaters for stone/wooden floors
Wmllint: add new terrain code updaters
2022-10-12 12:26:24 +08:00
Tahsin Jahin Khalid
fde3c8df29 wmllint: add terrain code updaters
Allows updating maps by wmllint. Accommodates #7042
2022-10-10 21:47:42 +08:00
doofus-01
7377ce724e
crumbling stone stairs for Isa elevation borders (#7045) 2022-10-09 21:18:23 -07:00
doofus-01
14c09e8c28
1.17 Saurian palette cleanup (#7044)
* remove swoosh alpha

* saurian sprite palette clean-up - part of #6417
2022-10-08 22:01:56 -07:00
doofus-01
bbdb6c57ef
Change terrain codes for stone and wooden floors (#7042)
* revise I-type terrain codes so they can be filtered with wildcard

* update the few MP maps using these I-type codes

* update the few campaigm maps using these I-type codes
2022-10-08 16:04:18 -07:00
Tahsin Jahin Khalid
6cb968d6c2
Units: add sand_scorpion variation to Walking Corpse and Soulless
Units: add sand_scorpion variation to Walking Corpse and Soulless
2022-10-06 00:29:55 +08:00
doofus-01
880183774c
1.17 elevated terrain work (#7014)
* stone border revision

* corner case transitions

* add MP example scenario/map for elevated terrain

* simplify the floodfill

* change ravine from ^Qhx to ^Qhux, for better filtering

* reorganize images
2022-10-02 20:28:03 -07:00
Tahsin Jahin Khalid
3364f82150
Units: Wyvern Rider XP set to 200
Units: Wyvern Rider XP set to 200
2022-09-29 23:02:39 +08:00
Tahsin Jahin Khalid
20cac6ab10 Units: add new corpse variation
This accommodates the variation of the Giant Scorpion, the Sand Scuttler.
2022-09-27 23:59:56 +08:00
Tahsin Jahin Khalid
841f1afb9e Units: Wyvern Rider XP set to 200
Level 4 unit so by convention should be 200
2022-09-27 23:32:49 +08:00
Pentarctagon
08e79f4e36 Add filter for bot-hosted games.
Bot-hosted games are now shown in a separate tab from player-hosted games, based on the new auto_hosted attribute on the game creation WML. This is not something that's available to be selected during game creation since it's assumed it will instead be set by the bot implementation. Note that this isn't *really* putting games into two separate tabs, it just looks that way for UI/UX reasons.

Resolves #6939
2022-09-26 09:01:11 -05:00
Pentarctagon
1e3f53156f Make the 4th player speak in map 1. 2022-09-23 16:39:11 -05:00
Pentarctagon
7cf8ab0275 Auto-generate hero list when neccessary. 2022-09-23 16:39:11 -05:00
Pentarctagon
490434bc3c 1.17.8+dev 2022-09-18 23:20:45 -05:00
Pentarctagon
3b2cf63779 1.17.8 2022-09-18 23:19:48 -05:00
Pentarctagon
910eedeb61 pot-update and regenerate doc files 2022-09-18 23:15:06 -05:00
Tahsin Jahin Khalid
63c3252a20
Units: apply max-XP conventions in some units
[Units] Fix XP conventions oversight in some monster/horse Units
2022-09-18 13:32:10 +08:00
Wedge009
1cfb982a3c
DiD S8: Handle situations where factions have not yet appeared (#7006)
* DiD S8: Handle situations where factions have not yet appeared (resolves #7005).
* Convert 'arrived' flags to booleans.
* DiD S8: po hint to clarify 'Dela's men'.
* Accommodate feedback by getting rid of all the new work and just removing any reference to paladins or Dela altogether. Conversion of flag to boolean remains, however.
2022-09-14 15:04:52 +10:00
Wedge009
ad02e381f2 WoF: Correct apostrophes
[ci skip]
2022-09-13 06:57:34 +10:00
doofus-01
e9ec7c4108
1.17 alternate high/low terrain levels (#7007)
* alternate high/low levels (so five total : -2, -1, base, +1, +2)

* fix some transitions

* improve terrain level spreading through border-type hexes (bluff/gulches, for now)
2022-09-11 21:01:28 -07:00
Wedge009
40ab9a38b8 WoF: Spelling corrections
[ci skip]
2022-09-11 12:37:40 +10:00