30070 Commits

Author SHA1 Message Date
Thewodoros
22a1a9d5d4 Use variables for deducting gold in EI S04b
These two variables are used everywhere else in this scenario, hardcoding the amounts here must've been a mistake.
2024-11-29 04:02:36 +11:00
Subhraman Sarkar
2477618306 rich label: support specifying text color, font and style in resolution
This allows the rich_label definitions in rich_label_default to work.
2024-11-28 23:04:05 +05:30
Wedge009
b8747c37b0 Remove non-standard spacing.
[ci skip]
2024-11-27 10:35:12 +11:00
pentarctagon
7183553e23 1.19.6+dev 2024-11-26 12:17:36 -06:00
pentarctagon
99469ba31d 1.19.6 2024-11-26 12:16:03 -06:00
pentarctagon
75f41e84f0 pot-update and regenerate doc files 2024-11-26 12:10:35 -06:00
doofus-01
26fd5513b6
fix ship portrait references (#9603)
fix some image references in #9484
2024-11-23 22:38:07 -08:00
doofus-01
3dff5d2eac
Ship sprites and units update (#9484)
* new ships Derelict Hulk and Fireship

* new "race" Ships - includes Transport Galleon, Pirate Galleon, Derelict Hulk, and Fireship

* Pirate Galleon chaotic

* animations for all four touched ships

* ship portraits for Derelict Hulk and Fireship

* crew portraits by LordBob for Boat, Galleon, Transport Galleon, and Pirate Galleon

* old (non-pixel art) transport galleon and pirate galleon images moved to scenery
2024-11-23 16:28:37 -08:00
Thewodoros
55eef0dbef
Fix issues with hero deaths in EI S03 (#9595)
Avoid adding duplicate "last breath" events (HERODEATH macros), and don't call [endlevel] in "die" event ( as it's already called in "last_breath").
2024-11-20 11:08:36 -06:00
white-haired-uncle
c2361e3a82
schema: Fix color type definition and uses 2024-11-17 18:07:22 +01:00
Gunter Labes
8c8bff7ffb
Fix expected/actual mixup in warning messages 2024-11-17 17:39:09 +01:00
Dalas121
858b2d2bfc
Huntsman: reduce cost 50 > 47
At Hejnewar's request. I merged #9582 too early, before getting his feedback on cost.
2024-11-17 08:04:51 -06:00
Dalas121
c67d447901
Change Human Ranger and Huntsman (#9582)
* Huntsman:
  - HP 57 > 53, bow 9-4(marksman) > 10-4(marksman), cost 43g > 50g
  - new ability: Swamp Lurk (invisibility in swamps)
* Ranger:
  - HP 60 > 64, bow 7-4 > 8-4, cost 43g > 50g
  - Defense: castle 60% > 50%, frozen 20% > 30%, reef 30% > 50%, sand 30% > 40%
2024-11-16 15:55:38 -06:00
Thewodoros
df3f2b2653
EI S01 story: Fix outposts locations accorting to campaign map #9578
The outposts are east of River Weldyn in the campaign map. Also, in scenario 1, the castle is east of the river. The heartland of Wesnoth country is west of that river, so the eastern bank is the "far" one.
These words date back to the original campaign design by Eric S. Raymond. Back then, the campaign map had the outposts on the western bank of Weldyn.
But in aeb9ec7 the map was replaced with a newer one, with outpost on the eastern bank, which persists to this day with some minor changes (like the southern outpost was moved futher south).
2024-11-12 19:49:29 -06:00
Thewodoros
a6fd520956
EI S02: Avoid creating unit with same id twice (#9577)
In the existing code, on HARD difficulty, creating a unit with id="Hur" is done twice, first as a Troll Whelp, then as a Troll Rocklobber. As a result, the former unit is replaced with the latter one. As they are created at the same coordinates, I believe this is the intended behavior.

But according to https://wiki.wesnoth.org/SingleUnitWML , reusing the id "may produce unpredictable results in many cases". For example, (I tested it) if you create the new unit at the different coordinates, it instead appears at the former unit's coordinates.

I've added another preprocessor directive, so the unit with this id is created only once on both NORMAL and HARD.
2024-11-12 18:53:14 -06:00
Subhraman Sarkar
b2af5d8488 campaign selection: also open add-ons manager when double clicked
previously, double-clicking on the More Campaigns entry opened the tutorial, instead of the Add-ons manager as expected.
2024-11-11 19:43:00 +05:30
Tahsin Jahin Khalid
05e8ac2c96
[SotBE] Enable Saurian Spearthrower for Saurians (#9571)
* SotBE: Enable Spearthrower for Saurians

* sotbe: add changelog entry

---------

Co-authored-by: Tahsin Jahin Khalid <5283677+knyghtmare@users.noreply.github.com>
2024-11-11 19:58:49 +06:00
newfrenchy83
8e57567e24 add recursion_guard in [filter_(second_)weapon] for [leadership] and [resistance] abilities.
In moving recursion_guard from matches_filter() to special_unit_matches() i has forgotten what [leadership] abilities called directly matches_filter().
2024-11-11 14:32:05 +01:00
ForestDragon
a3f141c196
[Units] Adjust Forest Lion Stats (#9420)
hitpoints from 42 to 48
movement from 9 to 7
claws from 5x4 to 6x4, now usable on offense
bite from 15x2 to 9x2 charge, now usable in defense
arcane resistance from 20% to 10%
price from 21 to 30
2024-11-09 07:54:37 -06:00
Gunter Labes
b905c1aa4a
Allow accessing the old value in [set_var] formula= 2024-11-08 09:35:43 +01:00
Jonathan-Kelly
45662a2f83
Revert "SoF S7: fewer and slower enemy outriders" (#9521)
This reverts commit b3802f44ea1d50364c83e00d207e8dcef04645b4.

Since commit 70df290 restores the Elvish Outrider to essentially its original stats, the 1.18 balance fix for this one campaign scenario is no longer useful.
2024-11-07 18:40:26 -06:00
Dalas121
9d9d2cd027
Sicarius - replace Deflect with Guard (#9532) 2024-11-07 18:26:21 -06:00
MechanicalDragon963
32b5570103
Improve Naga Guard line (#9529)
Redesigns the Naga Guard, Shield Guard, and High Guard to make their shield bash attack less redundant.

Also adds the new Unwieldy and Guard specials, and deprecates the Absorb special.
2024-11-07 16:33:23 -06:00
Charles Dang
b859060627 Add new refresh_rate pref to better handle --max-fps
The pre-processing for --max-fps was basically identical to what draw_manager::get_frame_length does.
This replaces the draw_delay preference with a new refresh_rate preference that more accurately describes
what is being set. video::current_refresh_rate will now take this preference into account, meaning the
build info report will correctly report player-set FPS limits.

The Limit FPS option in the prefs UI was also removed. When it was first introduced (cca79afe4b263187a54b73042a9bc7eaa46986e7)
it specifically affected the map rendering code, not the rendering pipeline as a whole. With the 1.17
rendering refactor, this is no longer the case, and so its current usage as the lower bound for frametime
calculations did nothing (all it did was change the lower bound from 0 to -1 when enabled).

It might be worth adding a slider to the UI to dynamically set max fps, but that's a separate change.
2024-11-07 11:10:13 -05:00
MechanicalDragon963
e460d26dfc
Tweak Elvish Marshal Stats (#9512)
HP 68 -> 62
MP 5 -> 6
2024-11-06 20:50:32 -06:00
Subhraman Sarkar
c3f16b3294 reconvert file from original jpg and add metadata
removes bloat (13.7MB -> 4.3MB)
converted original jpg to webp using imagemagick, then applied cwebp -mt -m 6 -q 90 -alpha_q 100.
2024-11-04 16:51:49 +11:00
newfrenchy83
29e79c4235 Fixed an error in [filter_special] encoding
In special_id/type without the _'active' suffix only the encoding of the special in the attack is checked, and therefore the specials encoded in the [abilities] tags are de facto excluded, except that I forgot this logic in [filter_special] and I have to fix my error before updating the wikia.
2024-11-03 12:42:23 -06:00
Subhraman Sarkar
0302dd8601 tutorial: UI improvements
uses portraits in the character selection and single click selection on pictures instead of buttons
also adds a dark background to hint messages to make them easier to read
adds arrow markers in the beginning on the units
2024-11-02 12:56:29 +05:30
Gothyoba
7fb0b8cdb3 Add Achievements to THoT 2024-10-31 12:38:00 -05:00
newfrenchy83
ee2bbc40cc refactor test for remove illuminates abilities. 2024-10-30 18:38:36 -05:00
newfrenchy83
7d5663b379 add a [remove_specials] tag in [effect] and [filter_special] to [has_attack/filter_weapon]
with this, it is possible to  simultaneously check specials with id and type, and/or other attributes for remove_specials effector filter_weapon
2024-10-30 18:38:36 -05:00
Thewodoros
ae5b2f0da6 Fix the attack_end event in Liberty S5
The event has to use side 3 because side 2 is idle. Also remove the dollar sign because IF_VAR doesn't work with it.
2024-10-31 10:26:23 +11:00
Subhraman Sarkar
e0e8b37880 help browser: add toggle for showing/hiding contents in 800x600 2024-10-30 13:28:58 -04:00
Gothyoba
c6853b021d
More New Titlescreen Images (#9466) 2024-10-30 11:30:28 -04:00
newfrenchy83
e905271c79 add modification specific to gender or variations
the old code don't work for replace advancement in [male/female] or [variation] tag
2024-10-27 09:14:45 -05:00
newfrenchy83
83d1bef0bc add amla advancement to [modify_unit_type]
Addresses https://github.com/wesnoth/wesnoth/issues/9309
when used, the amlas in [unit_type] are replaced by list of amlas in [modify_unit_type],i cannot done add [advancement] without erase amla already present.
2024-10-27 09:14:45 -05:00
Gothyoba
198b798e49
Make sure ELvish Race Description doesn't contradict WoF (#9505) 2024-10-27 13:57:27 +06:00
Wedge009
b5e500cfda Correct string concatenation. 2024-10-26 11:11:53 -04:00
Wedge009
3baf3fefe8 Update mark-up as per PR feedback. 2024-10-26 11:11:53 -04:00
Wedge009
c26d45d56e Remove reference to obsolete and Windows-specific Notepad.
[ci skip]
2024-10-26 11:11:53 -04:00
Wedge009
fb2045120b Avoid including mark-up in Help translated text. 2024-10-26 11:11:53 -04:00
Wedge009
e01fbb6b02 Correct one more non-typographic apostrophe...
[ci skip]
2024-10-26 11:11:53 -04:00
Wedge009
b3ed22d697 Editor Help: text corrections.
[ci skip]
2024-10-26 11:11:53 -04:00
MechanicalDragon963
70df290584
Tweak some Elvish units stats (#9440)
* Elvish Scout: XP 42 -> 32;
* Elvish Rider: XP 75 -> 60; HP 49 -> 46; bow damage 11 -> 9; cost 28 -> 27;
* Elvish Outrider: MP 11 -> 10; HP 60 -> 57; bow damage 11 -> 9; sword damage 8 -> 7; cost 58 -> 50;
* Elvish Avenger: HP 59 -> 55; cost 60 -> 55.
2024-10-25 15:08:48 -05:00
Subhraman Sarkar
c284a080e3 campaign selection: opening add-ons manager entry 2024-10-22 19:59:55 -04:00
pentarctagon
fd426b5b9b 1.19.5+dev 2024-10-21 12:13:11 -05:00
pentarctagon
383ba03664 1.19.5 2024-10-21 12:10:10 -05:00
pentarctagon
019da2f54c pot-update and regenerate doc files 2024-10-21 11:36:51 -05:00
Gothyoba
d7c9716265 Move EI Music to Core 2024-10-20 14:50:46 -05:00
Subhraman Sarkar
af155b0cea about dialog: add entry for game manual 2024-10-18 00:41:49 -04:00