Commit graph

29470 commits

Author SHA1 Message Date
Pentarctagon
d4b1e7e6c4
Add some more abilities' tests (hides, skirmisher, teleport) 2024-01-01 12:34:08 +01:00
newfrenchy83
fb4ac0b5fb
fix leveling for Kaleh and Nym in Utbs (#8152) 2023-12-31 14:11:05 -06:00
doofus-01
508c627543
1.18 - Revise new skeleton sprites (#8156)
* replace skeleton rider, bone knight, and death squire sprites

* update squire to use axe

* fix death knight attack icon

* sprite palette cleanup
2023-12-31 08:33:12 -08:00
gfgtdf
bca7a60852
WC: Fix mapgen always spwaning 3 bonus points in first scenario 2023-12-30 21:35:27 +01:00
doofus-01
963029dd7c
1.18 - graphics for elder falcon (#8165)
* portrait for elder falcon

* elder falcon attack anims

* fix a couple typos in Falcon attack anim

* elder falcon defense anims

* update copyrights.csv (twice, as per the new policy)
2023-12-29 05:44:15 -08:00
Charles Dang
2836afe644 MP Lobby: increased padding in tab bar 2023-12-27 17:22:55 -05:00
Dalas121
fcfc5dedf5 Update 04b_Ill_Humors.cfg 2023-12-27 19:59:52 +01:00
Charles Dang
f45df6f2ee MP Match History: refined design 2023-12-27 00:16:56 -05:00
Charles Dang
6305185d95 GUI2/Button: added a download button definition 2023-12-27 00:16:09 -05:00
Charles Dang
fa248764e6 MP Create Game: increased padding in tab bar 2023-12-27 00:15:35 -05:00
doofus-01
f3cdf243f1 derelict wooden windmill scenery image 2023-12-26 18:26:27 -08:00
doofus-01
687074b395 some update to wooden windmill animations 2023-12-26 18:26:27 -08:00
doofus-01
b1d042bb87 wooden-frame, non-village windmill 2023-12-26 18:26:27 -08:00
Elvish_Hunter
28cea58aff wmllint: warn about [filter] in [kill] tags 2023-12-25 21:15:45 +01:00
Tahsin Jahin Khalid
5be939a304
units: skeleton rider tree deep water patch (#8142)
these two units can now move in deep water and use submerge
2023-12-24 18:47:11 +06:00
gfgtdf
e08676d6a8 Fix Lua errors when checking abilities #7890
Nowdays ability.value and similar attributes can also contain formulas
(That for example make a heal amount dependent on the remaining hitpointsthe unit has
)
With this the lua ai code should no longer crash in these cases.
2023-12-24 00:51:57 +01:00
Pentarctagon
f992190267
add a bunch of illuminates tests. (#8139) 2023-12-23 12:07:45 -06:00
newfrenchy83
99af904b29 Modify shema validation for more consistency
In the validation schema abilities-value in abilities.cfg contains not only the numerical attributes but also active_on and apply_to, while these two deniers are only used by [resistance], and the abilities used as weapons are validated by the schema validation of special weapons, and the abilities [leadership], [heals], [regenerate] and [illuminates] also use all numerical attributes.
2023-12-23 12:06:57 -06:00
doofus-01
b4d8318472 make wyrmlets more snake than dragon, clean up palettes 2023-12-23 04:08:55 -08:00
doofus-01
2e60d93f49 improve portraits for wyrm variations 2023-12-23 04:08:55 -08:00
doofus-01
359edef0ba make objectives more clear 2023-12-19 18:47:49 +01:00
doofus-01
9b6ade6507 make victory moveto area larger 2023-12-19 18:47:49 +01:00
Nils Kneuper
ec46da60b4 updated Polish credits entries 2023-12-19 15:46:53 +01:00
pentarctagon
23d7e3e7af add a comment. 2023-12-18 10:55:32 -06:00
pentarctagon
74e6f56d06 schema fixup. 2023-12-18 09:36:03 -06:00
pentarctagon
4080a6ebd0 max_value negative tests. 2023-12-17 23:42:35 -06:00
doofus-01
a96ba2e5de adjust layering bridges vs castles to put castle walls above 2023-12-17 19:15:49 -08:00
doofus-01
a9bb8588f8 touchups to some ant images 2023-12-17 19:10:52 -08:00
Pentarctagon
e94d4f0b7e
add a bunch of leadership ability tests (#8125) 2023-12-17 18:29:27 -06:00
pentarctagon
b5436a0576 1.17.24+dev 2023-12-16 21:11:49 -06:00
pentarctagon
ce9874868d 1.17.24 2023-12-16 21:10:37 -06:00
pentarctagon
575c255e3c pot-update and regenerate doc files 2023-12-16 21:03:14 -06:00
doofus-01
ddb4d727c2 adjust layering to keep units from sinking into N/S bridge image 2023-12-16 16:23:02 -08:00
gfgtdf
b5e646db25 Fix out of sync errors with pick advance mod
local lua variables  are not persitent over reloading.
moveto events that change the gamestate cannot be undoable unless on_undo code is provided.
2023-12-16 17:00:17 +01:00
Nils Kneuper
444a3ea007 updated Finnish translation 2023-12-16 11:13:16 +01:00
Nils Kneuper
90ba0efaa9 updated Polish translation (incl. credits) 2023-12-16 11:09:33 +01:00
gfgtdf
955a8bc445
use game_events.add in on_event.lua (#8082)
use game_events.add in on_event.lua

previously on_event.lua and game_events.add had separate priority lists, so that independent of the priority parameter (which both game_events.add and on_event.lua now support) on_event.lua events were always executed first. 

The set_undoable(true) call is there to match the previous behavior of on_event.lua where events implemented via on_event were undoable by default.
The higher default priority of 0.5 is there to match the previous behavior of on_event.lua where events implemented via on_event.lua were always run before wml events.
2023-12-15 21:28:45 +01:00
Pentarctagon
6322ca8bc8
add a bunch of resistance ability tests (#8105) 2023-12-15 09:59:01 -06:00
newfrenchy83
f5c6402ed1 Fix [resistance] without max_value bug
Fix https://github.com/wesnoth/wesnoth/issues/8092 issue.

If none [resistance] ability of the list contain max_value, then [resistance] must work without max_value defined by default.
2023-12-14 17:12:44 -06:00
Subhraman Sarkar
f1f67ae5df
Add functionality to Time Schedule Editor (#8066)
selected schedule will write to utils/schedule.cfg on scenario save

HOTKEY_EDITOR_CUSTOM_TODS is disabled unless user loads scenario

custom_tod:Preview button and associated callback added.

editor:translatable attributes now written with leading underscore

editor:support for multiple custom time schedules
2023-12-14 17:12:07 -06:00
gfgtdf
99399a2b26 allow units.remove_modifications to remove multiple types
previously it needed multiple calls to remove multiple types of modifications (which could be slow since each call involves a full rebuild of the unit).
2023-12-13 17:01:28 +01:00
gfgtdf
81145470c3 wc: fix a comment 2023-12-13 17:01:28 +01:00
gfgtdf
294e9a8d5c wc: small mapgen refactor
It doesn't really make sense that the code sometimes uses the lua variable enemy_power and sometimes
the wml variable. I think the original intent was to make it always use the lua variable but then it was noticed that the lua varialbe is not available in the first scenario
2023-12-13 17:01:28 +01:00
gfgtdf
ec0457790c wc: remove unused parameter 2023-12-13 17:01:28 +01:00
doofus-01
b167c8db8c
1.17/1.18 - UtBS blowgun icon (#8067)
* update and rename blowgun attack icon to avoid core image cash (fixes #7907)
2023-12-10 19:22:12 -08:00
doofus-01
c5c92c2afd
1.18 - Sprite updates to Ravens and Ants (#8089)
* fix raven SE sprite wings

* revisions to fire ant sprites to make more distinct from each other

* fix flame positioning

* minor soldier ant sprite update

* add IPF arg to MISSILE_FRAME_FIRE_BREATH for use in fire ants

* update copyrights.csv
2023-12-10 18:28:08 -08:00
Steve Cotton
30b91ad902 EI S04b: Avoid using a macro in a translatable string
The required number is already in a WML variable, herbs_needed. However, the
string is used in an `[objective]` tag, which means we're not necessarily in
an ActionWML block when it's shown, and thus can't use the Lua API to look up
plural strings. Instead, brute force it by making 6 separate strings.

Also, use the mainline `ALTERNATIVE_OBJECTIVE_CAPTION` macro instead
of a campaign-specific translatable string.
2023-12-10 22:53:14 +01:00
Steve Cotton
29d21434c1 EI S04b: use en_US spelling for the scenario id
* S04b start-of-scenario saves since 1.17.21 will be broken
* S03 mid-scenario saves since 1.17.21 will show a warning,
  and players will only be able to go west
* Saves from earlier versions are already broken by the campaign rewrite
2023-12-10 22:53:14 +01:00
Steve Cotton
b63a5025e8 Fix the textdomain for the regeneration unit tests
The msgid "test-regenerate" was leaking into wesnoth.pot,
this was seen when running a pot-update locally.
2023-12-10 03:10:10 +01:00
pentarctagon
16ccaefc86 Test multiplying by a fractional value. 2023-12-07 00:07:33 -06:00