Commit graph

11525 commits

Author SHA1 Message Date
Dalas121
13ded3e60d Add "swamp reed" images to EI Drowned Plains
Derived from the core water-plant.png and water-plant2.png images.

Copyright attribution updates by octalot:

They've been darkened since the original commit, but the swamp water
tiles in data/core/images/terrain/swamp are clearly Tommy(yobbo)'s
images originally added in f7cc2f1079.
The current water-tile.png seems to be a later addition, so I've
left it attributed to "unknown".

Co-authored-by: Steve Cotton <steve@octalot.co.uk>
2024-03-30 19:32:50 +01:00
Dalas121
1fe6b1379b
EI S10: change "ghasts in cages" to "ghouls in cages"
Fixes #8620
2024-03-30 10:28:07 -05:00
Dalas121
8deaad2b10
EI - show custom traits in help menu (#8652)
* EI - add dummy unit file so traits show up in help menu.
* EI - add help_text to traits
2024-03-30 08:33:38 -05:00
Steve Cotton
f930418827 UtBS S05: Stop moving when sighting ants and dwarf
The stalactite and dwarf sighting became effectively a single
event in a7680561d0, so this combines them into one.
2024-03-30 13:13:37 +01:00
Discontinuum
423481d481
Fix description of World Conquest 4p (#8657) 2024-03-29 18:51:07 -05:00
PointMeAtTheDawn
09b8430da0
UtBS S1: Smooth out the luck involved in getting units from villages
Before this change villages had a certain set % chance to grant player a unit upon capture. Now the chance to get a unit is dependent on difficulty, value of units player has already received and the amount of villages already captured.
2024-03-29 21:40:11 +01:00
Steve Cotton
b313270261 Tutorial S01: Better timing for the hints
No string changes, just adjusting when the hints at the top-left of the screen
appear and disappear.

The hint about crowns now appears after recruiting both elves, so that there
are units to compare the leader to, who have the same orb color but no crown.

The hint about traits appears when told to attack the quintain with the elves.
The player will probably find a strong or dexterous trait, and Delfador already
comments about those traits after attacking. Even if neither elf has those,
speedy or robust could also influence whether to use melee or ranged attacks.

There's now no hint on screen when first choosing which village to use for
healing; previously it was the hint about crowns which didn't seem relevant.
No strings are added in this commit, but a hint about checking the quintain's
movement range would fit here, see <https://r.wesnoth.org/t54644>.

(cherry picked from commit f7a0f119de)
2024-03-29 13:38:21 +01:00
Subhraman Sarkar
333b3edc42 change horizontal scrollbar mode and update changelog 2024-03-22 09:45:42 -04:00
Subhraman Sarkar
90dcf67076 fix double scrollbar bug 2024-03-22 09:45:42 -04:00
Jonathan-Kelly
e3a6610668 WoF S11: tweak enemy gold
Testing by effectively droiding the player's side, the enemy side still lost even with 480 gold and otherwise default difficulty settings. So upping enemy side gold to 480 for all difficulty levels.
2024-03-17 14:11:33 -05:00
Nils Kneuper
6d54ff203a updated Italian translation (incl. image changes) 2024-03-16 16:47:10 +01:00
Jonathan-Kelly
625356dd26 WoF S11: more enemy gold 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
13e2cf3592 WoF S10: smaller enemy waves 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
8691c062e5 WoF S9: yet more yetis 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
cc41cff8c2 WoF S7: slightly weaken guards 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
232f730c97 WoF S6: minor income consistency 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
28ba930c89 WoF: adjust music 2024-03-14 13:22:40 -05:00
Jonathan-Kelly
a3a785f27b WoF S9: move crannog village in from map edge
Two other maps and one other scenario which depict the same region get corresponding tweaks.
2024-03-14 18:20:29 +01:00
Wedge009
d106238410 SotA S16: Keep Crelanu within his ring of protective holy waters. Resolves #8361. 2024-03-12 13:35:40 +01:00
Dalas121
edb8132d75 EI - recolor achievement icon
Replace the magenta coloring on the S04 achievement icon with white, reflecting the in-game unit color.
2024-03-10 16:18:30 +01:00
Iris Morelle
f229bef40a EI: Bind translatable strings to wesnoth-units
Barrow Wight's definition includes a couple of attack name strings
from the wesnoth-units textdomain bound to wesnoth-ei by default
instead, which creates two unnecessary extra strings for translators
to translate. This change fixes this by binding these two strings to
wesnoth-units so their existing translations can be used.

(Pyre Wight does not require this change since it already uses the
wesnoth-units textdomain for the single attack name it uses.)

(cherry picked from commit d6a8c98211)
2024-03-07 15:13:13 +01:00
Jonathan-Kelly
625f48518f WoF S11: fix wmllint error by reorganizing side 2
Since wmllint gets confused if a side's contained [ai] block comes after any of its contained [unit] blocks. This refactor should make the side 2 code block more human readable too.
2024-03-05 08:56:05 +01:00
Jonathan-Kelly
dd73e62761 WoF: add wmllint 'skip-side' magic comments 2024-03-05 08:56:05 +01:00
Jonathan-Kelly
775741c0c5 WoF: fix wrongly capitalized variable name 2024-03-05 08:56:05 +01:00
Steve Cotton
e5cd0185cc DM S18: Add a po hint about grammatical tense of some text
(cherry picked from commit 7ac222916a)
2024-03-01 22:38:27 +01:00
Iris Morelle
834c0cc670 HttT S5b: Fix duplicate loyal trait for Delurin
NAMED_LOYAL_UNIT has the loyal trait built in, so this results in an
extra copy of it being granted to the unit.

(cherry picked from commit c64777433a)
2024-02-27 15:01:52 +11:00
Celtic Minstrel
1fd17d94ba [Lua] Fix missing parameter warning when passing empty filter 2024-02-26 13:24:37 -05:00
Steve Cotton
b9cb577bac HttT S06: Make Elensefar's defenses look damaged by the Orcish siege
Just some debris embellishments to suggest that the towers at the
end of the bridges were hit with siege weapons. The defense stats
are still the same and there's no dialogue change to go with this.
2024-02-26 11:31:38 +01:00
Wedge009
a59c32f9e2 Bat images were moved from undead directory to bats in #6655. 2024-02-21 11:11:12 +11:00
Hejnewar
0034b98fc2 UtBS Heroes: Taunting Strike xp farm fix
In addition make taunting strike more synergised with bolas.
2024-02-18 21:04:29 +01:00
Hejnewar
82128b6b5a UtBS Units: Fighter line adjustments
Adjust Fighter line to allow for easier early leveling and more late game staying power. Add parry to secondary melee attacks in order to incentivise their use.
2024-02-18 21:04:29 +01:00
Steve Cotton
bd31d9042d DiD S10: Fix missing line in human heroes' book endings
A simple case of `role=unit` instead of `speaker=unit`, the
necessary translatable text was already in the scenario.
2024-02-18 16:43:54 +01:00
Hejnewar
cfb7221262 UtBS S01: Improve event/dialog consistency regardless of trigger order
Fix #8201
2024-02-18 14:44:54 +01:00
Hejnewar
a7680561d0 UtBS S05: Use enter_hex so events cannot be triggered out-of-sequence
Fix #8190
2024-02-18 14:44:54 +01:00
Steve Cotton
af8c2fe5cb
EI S11-S18: Add more PO hints
Has a few updates to S04a, S04b, S09 and S99 too.

Lore: this declares Khrakrahs (dragon seen in SoF) to be male.
He's been in many versions of Wesnoth that only had male drakes,
thus will surely already be male in any translation where the
gender has an effect on the wording.

There's a few "TODO for 1.19" comments added:

* In S12, the left behind units say "we must ride ... to save Wesnoth",
    but it should be "you must ride".
* The intro of S13 is confusing, there's little indication of why you
    only have one unit, or what mission he failed.
* In S16, Gweddry says "night approaches" on turn 1 (morning)
2024-02-18 10:44:32 +01:00
gfgtdf
c7ca36be6e
wc: fix #6513 Bezoar artifact (#8340)
* wc: fix #6513  Bezoar artifact

The item now applies the effects directly instead of using [trait]s, 
The lua code that added traits in the wc lua files didn't work, but the main reason why i preferred  this solution instead of changing the lua files is that it makes it possible to simply remove the artifact via for example [remove_object] (which wouldn't work for artifacts using traits as those are separate modifications)

The code now also adds a dummy ability so that players know that this unit has the benefits of the healthy fearless and  undead  traits.
2024-02-17 23:25:07 +01:00
MechanicalDragon963
c6d8c67495 HttT S16, S19a, S19b and S22: Map embellishments
S16 (Hasty Alliance) uses more rocks and bridges, including
bridges over lava.

S19a (Snow Plains) gets some dirt roads without snow on, and the
edge of the map gets some ice and water.

S19b (Swamp of Dread) gets a wide variant of swamp terrains
instead of sand.

S22 gets more variety in the forests and grasslands.

Cherry-picked from the branch in PR #8243.
2024-02-17 22:05:08 +01:00
Steve Cotton
1c4b46add3 EI S01, S13: Fix Gaennell's gender
She's meant to be female, but in S01 the gender defaulted to male,
while in S13 it was set to random.
2024-02-17 20:24:08 +01:00
OrekOrek
97635055f0
HttT S17 Ensure map always has 6 castle hexes around Konrad (#8314)
HttT S17 map height +5

According to several hundred test runs, Konrad's castle seems to be produced between y=59 and y=71 when the center of the chamber is set at y=65 as it currently is.

Because map_height=75 means that the playable map size is y=73 due to the border hexes at the top and bottom, this change probably guarantees that Konrad's castle is fully within the playable map.
2024-02-17 18:05:18 +01:00
Dalas121
e380abd2ce
EI S12: bugfixes for dra_nak_dead and flying undead drowning
EI - dra_nak_dead branch bugfix. Fixes #8414.

* S18 conditionally forwards the player to the bonus scenario, S99. One of the required conditions is that dra_nak_dead is not yes. The victory event of S12 unconditionally cleared dra_nak_dead, meaning that that test in S18 would always pass.
* S12 tests dra_nak_dead to see if he was killed in S11, and if he wasn't then it renames "Varrak-Klar" to "Chief Dra-Nak", as if Dra-Nak was pursuing the heroes. However, S12 didn't set the dra_nak_dead variable if the renamed Varrak-Klar died.

EI - S12 bugfix flying undead being drowned/trapped

* In EI S12, units were killed/lost when a bridge is destroyed.
* Flying units shouldn't be killed/lost, as they can fly.
2024-02-17 03:52:26 +01:00
Celtic Minstrel
8d30761ca8
[WoF] Avoid code duplication and fix a non-translatable string (#8384)
Instead of copy-pasting the multiplayer turns over advantage function, just use that function directly.

This required making some changes to the function to better support this specific use-case,
but I think it's still better than copy-pasting it.

I split the primary functionality out into two separate pieces – calculation and display.
Thus, the main function is technically unchanged, while WoF can avoid the weird things it does
and just calculate and display how it wants.

This fixes #8368.
2024-02-16 09:38:45 -05:00
Dalas121
17ea7cd2c2 EI: fix Terraent standing animation, and update stats to match mainline
When Terraent was created, the mainline paladin had no standing anim. When that was added, it conflicted with Terraent's. This fixes that issue.

This also updates Terraent's other stats to match the mainline paladin's rebalanced stats.
2024-02-16 00:47:45 +01:00
P. J. McDermott
368e270bf3 Fix some spelling errors
These are not translatable strings.

Debian's lintian QA tool found the instances in code.
2024-02-15 17:27:44 -06:00
Steve Cotton
4567d56e22 EI S05-S10: Add more PO hints 2024-02-15 17:33:41 +01:00
Dalas121
1a6e559e5c EI - fix S11 cell-door-open event
You begin the scenario locked in a cell needing to escape through some caves, but it's possible to open the cell from the inside.  This fixes that.
2024-02-15 15:31:41 +01:00
Celtic Minstrel
915fd49ae6 Tutorial: Specify the side of Li'sar in the char select
When a unit data passed to `to_map` either lacks a side or has
side zero, implementation automatically sets it to 1, thus the
existing code worked fine. However:

1. The lack of a `side` could trigger a warning in EmmyLua. It
currently doesn't trigger that, but would with Celtic Minstrel's
planned improvements in Wesnoth's lint hints.

2. The tutorial should be good example code, and the special-case
in the C++ code that made this work is a case of "assume it's a
SP situation, and choose the result that benefits side 1".
2024-02-15 09:57:17 +01:00
Celtic Minstrel
600c88c291 [WC] I think this was a remnant of a global variable removal...? 2024-02-13 19:32:39 -05:00
Celtic Minstrel
0ef38c82c8 [WC] Fix a broken map filter
I'm not sure what the intent was here, so I had to make a guess.
2024-02-13 19:32:29 -05:00
Steve Cotton
bded0465fc EI: Use the translated replacement for Mal Talar
If Mal-Talar dies in S01 then a new leader (actually just a rename)
turns up in S06b and S07b, but the replacement name, "Mel Kevek",
wasn't marked as translatable.

For the case that both necromancers from S01 were killed, S02 already
had a fallback to Mal-Bakral. This reuses it and adds documentation.
2024-02-13 18:48:26 +01:00
Steve Cotton
7aaa2079a0 EI S01-S04x: Add more po hints
No changes to translatable strings, just to the hints.
2024-02-13 09:39:16 +01:00