Commit graph

29470 commits

Author SHA1 Message Date
Tahsin Jahin Khalid
0afe343c50
HttT: Kalenz now has traits loyal, and resilient (#7142)
Elven Supremacy
2022-11-22 09:26:20 +08:00
Pentarctagon
6c7dd0a25b 1.17.10+dev. 2022-11-19 23:38:26 -06:00
Pentarctagon
79b2385140 1.17.10. 2022-11-19 23:38:25 -06:00
Pentarctagon
0118664f0f pot-update and regenerate doc files 2022-11-19 23:38:25 -06:00
doofus-01
94cc48427f
1.17 dunefolk falconer portrait (#7061)
* adding dunefolk falconer portrait
2022-11-19 16:45:43 -08:00
Tahsin Jahin Khalid
fa21978458
HttT S14: give Relgorn his missing traits
Note: he only appears for 1 scenario, and in an ending cutscene. Does not affect balance or difficulty.
2022-11-19 15:26:24 +08:00
Steve Cotton
e3deff8bfd Make undo work again, undeprecate on_event()
Fixes #6898. The issue is that non-WML events added through the new events API
always disable undo with no equivalent of WML's `[allow_undo]`. The long-term
fix is to add a way to do that; however until that's available then listeners
for `moveto` need to use the old `on_event` API. The old `on_event` API can't
be deprecated yet, and this is enforced by our unit tests (the build fails if
there are unexpected deprecation warnings during the tests).

Reverts most of 7e234f8833. Does not revert files
that only listen for non-undoable events such as `die` or `new turn`.

Reverts the deprecation part of #5663's 8cd1332630.
2022-11-19 05:23:30 +01:00
Tahsin Jahin Khalid
f33480e3c0 HttT S14: give Relgorn his missing traits 2022-11-17 15:58:24 +08:00
Jonathan-Kelly
eac522597d Slightly reduce merfolk forest and hill move cost
From 5 to 4. Makes moving them from one water body to another somewhat less tedious. Likewise makes merfolk units a bit more viable on maps with separated waterways.
2022-11-16 22:39:29 -06:00
Tahsin Jahin Khalid
06297cfdc6
Make Nightblade the default advancement for Slayer
Make Nightblade the default advancement for Slayer
2022-11-17 12:03:26 +08:00
Wedge009
ced504a97f LoW S9: Remove standard enemies-defeated as a victory condition.
Resolves #7130.
2022-11-16 11:54:01 +11:00
Jonathan-Kelly
1ba0a11a18 Make Nightblade the default advancement for Slayer 2022-11-14 17:22:25 -05:00
Wedge009
bdc236e0a0 Disable saving of replays for story-only scenarios.
Resolves #6180.
Resolves #7123.
2022-11-14 19:54:05 +11:00
doofus-01
b0d327ea3c
1.17 - standing animations for zombies (#7102)
* standing animation for default walking corpse

* mounted (horseman) WC standing anim

* default soulless standing animation

* mounted soulless standing anim
2022-11-13 16:47:22 -08:00
Pentarctagon
b1587223a1 Add some more unit test documentation.
Also split some larger tests into multiple smaller tests.
2022-11-13 16:35:06 -06:00
Wedge009
765cf1e79f Add screenshots directory to game version dialogue.
Resolves #7096.
2022-11-12 20:34:33 -06:00
doofus-01
3f4eebc177
1.17 Horses updates (#7072)
* update great horse

* update white horse

* update dark horse
2022-11-06 12:45:20 -08:00
doofus-01
4c61f07812
add missing terrain type alias to elevation markers (#7092) 2022-11-05 15:28:32 -07:00
Kingofd
4b8d4f1fb5
Adding language filter option in addon menu (#7048)
Resolves #1063
2022-11-05 12:04:55 -05:00
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