Commit graph

11548 commits

Author SHA1 Message Date
gfgtdf
c1c0111d3c WC: New carryover implementation.
We now use a modified default carryover calculation,
the main advantage is it now uses the normal carryover
message on endlevel, and shows how it is calculated.
2024-12-15 05:17:57 +01:00
gfgtdf
bf4ad3bb42 WC: fix campaign abbrev
previously it was unclear what the trailing number meant,
also the order couldn't be changed in the translation.

Also the player number was shown 2 times in the savefile name,
resulting in names like 'WC1-WCII 1 -Start-Auto-Save.gz' so i
removed it from the scenario name.
2024-12-14 22:53:12 +01:00
gfgtdf
e549b03412
DM: S20: Fix waittime at scenario start
Don't animate unit advancements during a prestart event.

It woudl be better it u:advance() would automaticialyl not waste time animating advancements that can't be seen (during prestart events) but for this scenario this is already an improvement
2024-12-11 19:48:57 +01:00
Thewodoros
f7fd05b63e
EI S04c: fix gold management for Ravanal (#9637)
Give side 7 gold to recruit units only after ravanal_gets_serious event, and only if they are low on units, so not to clutter the map.
2024-12-09 07:15:58 -06:00
Gothyoba
91d6bb4b45 Demote Dawarf to level 0 2024-12-06 14:35:07 -06:00
Thewodoros
d3dfe36571
EI: Fix last breath events for Hahid and Grug (#9619)
When Hahid dies, Grug or Dolburras, if present, say the "eulogy". There were problems in scenarios where they first appear (S06a for Dolburras and S07b for Grug) - they say it even before joining the player's side, which makes no sense. I changed the message tags in utils/deaths.cfg to use "id" and "side" instead of "speaker", so they only say it when they are on the same side as Hahid.
Also in S07b, Hahid's herodeath macro was duplicated, so the dialogue was displayed twice.
Also I changed Grug's herodeath to "id" and "side" and re-included it into S07b, so now Gweddry says the eulogy for Grug after Grug joins, but not before.
2024-12-02 10:21:56 -06:00
Thewodoros
70a76b0e21
EI: add missing last breath (HERODEATH) events for Addogin (#9611)
In S04a, the event is added within his original "last breath" event - the one which switches him to the player's side. Without this additional event, he will die silently if killed by the elves after being "captured".

In S11, it looks like the event for him was simply forgotten (HERODEATH events are added for all other heroes).
2024-11-28 16:38:00 -06:00
Thewodoros
2db282c273 Clear forgotten variable
gold_extra is not used in further scenarios, just like gold_cost.
2024-11-29 04:02:36 +11:00
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
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
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
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
Jonathan-Kelly
45662a2f83
Revert "SoF S7: fewer and slower enemy outriders" (#9521)
This reverts commit b3802f44ea.

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
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
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
Gothyoba
d7c9716265 Move EI Music to Core 2024-10-20 14:50:46 -05:00
newfrenchy83
7665db46af remove 'experimental_' of filter_ability/specials tags
now what 1.18 separate of master branch it is time of aiming for that. "experimental_ preffix is depracated now.
2024-10-14 16:35:56 -05:00
Wedge009
558650bd14 Typography update for source code (in addition to .cfg data files previously reviewed). 2024-10-06 09:13:10 +11:00
Wedge009
5ec94b5904 Adding requested po hint.
[ci skip]
2024-10-06 09:13:10 +11:00
Wedge009
ca8a0aede8 Typography update. Closes #8000.
[ci skip]
2024-10-06 09:13:10 +11:00
Gothyoba
1597fd0248 Typo fixes in EI _main.cfg 2024-10-04 08:57:54 -04:00
Gothyoba
fa3d421a85 Remove unused lua in THoT 2024-10-04 15:59:29 +10:00
Dalas121
e7509c5dba
EI S14 "Drowned Plains" - rework scenario objective (#9411)
Change the EI S14 objective from "kill enemy leaders" to "gather gold". Reduce turn limit from 75 to 25.
2024-10-03 22:26:08 -05:00
Dalas121
2bec13a825
EI: update Dacyn arcane resistance to be consistent with the arcane rework (#9412)
* Twilight Mage: set arcane resist to 20%
* Fallen Mage: set arcane resist to -20%
2024-10-02 07:43:39 -05:00
Gothyoba
1008296863 Change UtBS date from 300 to 1000 AF
This makes a lot more sense given how forgotten everything before the fall is by the time of UtBS. 300 AF is small enough for a few elves to remember the times before. 1000 AF is more sensible in my opinion.
2024-10-01 19:17:44 -04:00
Gothyoba
25718875f0 Fix a comment typo in THoT S6 2024-09-30 13:36:12 -04:00
spixi
0e326894cb
Add missing [then] from 6f15150 2024-09-24 08:35:30 +02:00
spixi
6f15150d99
DW S9: Improve event handling of undead and bats on the players' side
Add dialog for the cases of a bat or undead entering Caladon's house
that does not lead to victory to prevent the scenario from being too easy.
2024-09-22 18:36:57 +02:00
Jonathan-Kelly
a8d68165ec
UtBS: Cut duplicate stun weapon special remnants
Cut extra icon and lua code for 'stun' weapon special.
An identical copy was already moved to core by #7323 and stun in UtBS was removed long ago anyway.
2024-09-21 18:42:19 +02:00
Gothyoba
4cb3b8fd82 Use proper apostrophe to spell Shek’kahan 2024-09-17 06:51:40 +10:00
Gunter Labes
654a199d5f
Use proper apostrophe 2024-09-15 13:13:29 +02:00
Oleksii
094918c5ac
LoW: some fixes for S10, S22 (#9128)
* fixes for S10, S22
* fixes for #7137 #8359 #8360
* fixes for #7137 #8359 #8360
* fixes for #7137 #8359 #8360
2024-09-14 15:00:02 -05:00
Gunter Labes
91e6daad23
Fix image file name 2024-09-09 18:18:17 +02:00
Gunter Labes
4991005765
WC: Explain that you can also add data via resources 2024-09-08 19:54:42 +02:00
Ethan-Nowa
eff8301cac
NR05a: Vary dialogue to better suit the speaker (#8830)
I changed some of the lines in NR The Pursuit to fit better with the different characters. Tallin, Abhai, Krash, etc.
I did not do it for every dialogue.
Addresses issues #8319 and #8772

More PR review feedback addressed by Wedge.

---------

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2024-09-04 10:35:35 +02:00
Gothyoba
3bcec77482 AToTB: Use month names intead of Roman Numerals 2024-09-03 07:09:11 +10:00
Tahsin Jahin Khalid
41f87afaf7
SotBE S7: UX improvements (#9279)
- add auxiliary camp keep and camp
- make scorpions avoid villages

Co-authored-by: Tahsin Jahin Khalid <5283677+knyghtmare@users.noreply.github.com>
2024-08-31 15:23:55 +06:00
Tahsin Jahin Khalid
29123810fb
Sotbe/S5: some refinements (#9270)
- give side 1 starting villages near the orc base
- move Kapou'e to his keep at start

Co-authored-by: Tahsin Jahin Khalid <5283677+knyghtmare@users.noreply.github.com>
2024-08-28 22:55:10 +06:00
Tahsin Jahin Khalid
d10ae768b5
SotBE S6: replace bad advice at turn 2 (#9269) 2024-08-28 22:54:24 +06:00
Tahsin Jahin Khalid
3f4ceb7d1c
[SOTBE] S3: make allied AI smarter (#9239)
* SOTBE-S3: make allied AI smarter

- they wont attack from poor defense anymore
- will only attack from hills where they have better defense

* SOTBE-S3: fix bad code in side AI

---------

Co-authored-by: Tahsin Jahin Khalid <5283677+knyghtmare@users.noreply.github.com>
2024-08-28 22:53:34 +06:00
doofus-01
033012219e
Add Exif tags to images (#9254)
Artist & copyright Exif tags track the copyright info in images, replacing what used to be tracked with "copyrights.csv".
2024-08-25 20:18:16 -07:00
sprunk
44f54bb57a Fix #9241, Liberty S1 dialogue item tweak
Extends damage and not the number of hits, so use "heavier rocks" instead of "more rocks".
2024-08-24 18:55:29 +10:00
Gothyoba
71e0d142d6 Remove reference to Aspenger’s Syndrome in HttT S20b comment
The change to Alzheimer’s Disease was suggested by CelticMinstrel some time ago in #7545
2024-08-18 12:47:19 -04:00
Elvish_Hunter
1f9c5af164
Add sprite for the Cold Dagger item to UtBS (#9189)
* Add sprite for cold dagger item

* UtBS 04: use cold dagger sprite

* Update copyrights.csv for the cold dagger sprite
2024-08-12 00:28:54 +02:00
Gunter Labes
f11fbee7fe
Fix filter attribute name 2024-08-11 15:21:00 +02:00
Wedge009
12606e2fc5 SotA S2: Avoid destroying unit potentially already occupying target hex. (Closes #9150) 2024-08-07 09:00:04 +10:00
Gothyoba
4c3692bb78 THoT S6 Music Tweak 2024-08-04 17:57:35 -05:00
Oleksii
e768b6ce4c
THoT: Create heroes if they don't exist (#9130)
* fix for #5520
2024-08-03 10:44:57 -05:00