Commit graph

11471 commits

Author SHA1 Message Date
gfgtdf
35251b8556
[world conquest] Fix "Destruction mechanic line 73 bug"
As mentioned in #6411
2023-03-15 20:27:32 +01:00
Wedge009
ba122806d9 NR: Give Eryssa hero trait since her death is a loss condition.
Resolves #5374
Resolves #7448
2023-03-14 15:44:07 +11:00
Wedge009
a2b79e8c4d Correction: Lintair -> Lintanir
[ci skip]
2023-03-09 19:51:33 +11:00
nemaara
5eccc94a0b Buff corpse launcher 2023-03-05 23:40:19 -08:00
Luis Miguel Iglesias Sánchez
252d4148c4
UtBS S05 add logic to the main cavern event so scouting is taken into account (#7427) 2023-02-28 16:57:16 -06:00
Toranks
5fbfed386e Added animation when units go to recall list 2023-02-27 21:12:49 -06:00
Pentarctagon
2015ba0ed6 Fixup achievement wording 2023-02-22 17:31:03 -06:00
Toranks
6009b9ef14 Moved conditional into filter_condition 2023-02-22 21:02:46 +01:00
Severin Glöckner
d9aa849081 WC2: remove outdated comment
closes #6216
2023-02-21 16:53:12 +01:00
Toranks
8bb7dace3f Typo ““ > “ 2023-02-20 20:46:42 -06:00
Hejnewar
6632116caa
Quenoth Rework (#7349)
Hopefully making the whole faction more interesting and enjoyable to play. 

Co-authored-by: Steve Cotton <steve@octalot.co.uk>
Co-authored-by: nemaara <nemaara@users.noreply.github.com>
2023-02-18 00:33:48 +01:00
Toranks
5a3a1b69ba
UTBS: Hide Minion and Spire XP bars (#7339)
A unit with no advancements has the XP bars hidden.

Other behavior of a unit with no advancements is unit-tested in
ec8ad5f26f06dc3219ccc5c44eb24edde0386dc6's "unit_no_advancements".
2023-02-15 09:09:46 +01:00
Tahsin Jahin Khalid
354afc3758
[Units] Move the Dwarvish Miner to core
Move the Dwarvish Miner unit to core from SoF
2023-02-14 21:02:36 +08:00
Tommy
06686e22e4 UtBS: Updated many things to use FLASH macros and screen_fade
Most of these should be fine, but some need verification for
correctness using the new effect. Some of the color_adjust values
were very specific and i am not sure they give the same result now.

Several effects could probably also be significantly improved using
the new screen_fade system, with a little work.
2023-02-12 10:29:35 -06:00
Tommy
e47aa3532b SotA:17: Use screen_fade for sacrifice fade-out
There is a problem that the skeleton reverts to the base frame
during the fade. Previously the skeleton was deleted so this was
not evident.
2023-02-12 10:29:35 -06:00
Tommy
dcf65fd7b9 Liberty:04: Use FLASH for surprise events
This needs checking for timing
2023-02-12 10:29:35 -06:00
Tommy
fb3c2ee61b LoW:16: Use FLASH_WHITE for potion drinking effect 2023-02-12 10:29:35 -06:00
Tahsin Jahin Khalid
547aab3896
WC: fix abnormal commander mechanic (#7284)
Co-authored-by: Gunter Labes <soliton@wesnoth.org>
2023-02-12 10:21:27 -06:00
Toranks
3576817ec0
NR S07 - Arthian > Ro'Arthian typo (#7360)
* Arthian > Ro'Arthian typo
2023-02-06 09:19:22 -06:00
Pentarctagon
7825de6a71 Have hidden achievements actually be hidden.
Also hidden_name and hidden_hint are no longer attributes of [achievement].
2023-02-04 21:40:02 -06:00
Steve Cotton
49ebbb9709 Make fix_whitespace complain about mixing tabs and spaces
Ensures that files either use tabs for indentation or spaces for indentation,
but don't switch between the two within the same file.

This doesn't fix the whitespace, it's a simple check to flag it up
on the assumption that it's better to use an editor or code formatter
to clean up the file.

Elsewhere in the CI we use the luacheck tool - while that can detect
mixing tabs and spaces in a single line's indent, it doesn't check for
inconsistent indentation within a file.
2023-02-05 02:22:53 +01:00
Pentarctagon
e3bb346b39 Add functionality for achievements to be partially complete.
Instead of being either complete or incomplete, achievements can now specify a value at which they will be considered complete. For such achievements that are not yet complete, a progress bar is added to the achievements dialog showing how close to completion the achievement is.
2023-02-04 15:43:28 -06:00
Celtic Minstrel
cc40d5c55b
Move the Merman Citizen and Brawler units to core (#7323) 2023-01-26 22:45:29 -05:00
Toranks
89dbd2d373 Delete redundant [recall] 2023-01-26 07:36:39 +01:00
Toranks
f231348900 Fixed indentation 2023-01-26 07:36:39 +01:00
Toranks
34a5cce2b0 Grüü on side 1
He changes later to side 4 on turn 7, this is only for narrative purposes
2023-01-26 07:36:39 +01:00
Toranks
cccd562cc5 Grüü apparition fixed 2023-01-26 07:36:39 +01:00
Toranks
c740160065 Fix HP lost with dehydrated on tooltip 2023-01-26 01:23:56 +01:00
Celtic Minstrel
cb3e6356dd Move the Dwarvish Miner unit to core
This also changes the tracking of what they're carrying to be a status instead of a role, which should be more portable to other use-cases.
2023-01-25 00:03:06 -05:00
Tahsin Jahin Khalid
edb482ac83 HttT: make injured sergeant lie flat on ground 2023-01-24 19:40:09 +01:00
Severin Glöckner
9b235a2dec TSG 6a: scroll to the unit instead of speaker 2023-01-23 00:44:22 +01:00
Severin Glöckner
fa33c47d53 TSG 4: update code to match map
when this code was written, the adjacent terrain was not yet shallow water.
2023-01-23 00:41:56 +01:00
Pentarctagon
99bb65d1b3 whitespace fix. 2023-01-21 14:37:48 -06:00
Tahsin Jahin Khalid
ca49d10a47
[Achievements] add correct tag (#7306)
it's `[set_achievement]` (in the Lua file)

achievements: correct content_for=
tutorial: use correct id on achievement
2023-01-21 12:54:09 -06:00
Pentarctagon
fa084677c5 Add textdomain to achievements files. 2023-01-21 10:51:25 -06:00
Pentarctagon
d1465a9eb9
Add basic achievements functionality. (#7237)
* Add basic achievements functionality.

This reads the mainline achievements.cfg and then all the achievements of each installed add-on.

This is intentionally handled separately from other WML loading so that:
a) All achievements and their status are able to be displayed on the main menu right after Wesnoth starts and regardless of which add-ons are active.
b) Add-ons can add additional achievements to other content, whether UMC or mainline. For example, a modification that adds more achievements for mainline campaigns.

Marking something as achieved is handled by the new [set_achieved] tag and whether an achievement has been completed can be checked via [has_achievement].

There is no attempt to prevent people from manually editing which achievements they've accomplished.

NOTE: These are *not* in any way related to Steam achievements!
2023-01-21 10:32:45 -06:00
Tahsin Jahin Khalid
0b483953e9
[LoW] S3: fix mismatched coords of Urudin retreat (#7221)
The trigger for the move_to is now an area of 19 hexes.

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2023-01-20 11:14:55 +01:00
Tahsin Jahin Khalid
e04858f753 LoW: fix scenario count inconsistency
Closes #7218
2023-01-20 02:50:05 +01:00
Wedge009
54bf10bda8 LoW S17: @nemaara's suggestions to adjust opponents' gold to offset the carry-over correction in S14. 2023-01-19 21:00:47 +01:00
Wedge009
223c03d7ef LoW S14: @nemaara's suggestions to adjust starting gold to offset the carry-over correction in S11. 2023-01-19 21:00:47 +01:00
Wedge009
e99a833c3e Make gold carry-over consistent with objectives.
Resolves #7230.
2023-01-19 21:00:47 +01:00
Gunter Labes
04cedaba2e
Grammar correction 2023-01-17 10:16:13 +01:00
Steve Cotton
9f780903ab HttT S03: Rewrite intro, hint about training troops for S06
The island gives the player two fronts to progress on, and it's early enough
to give the player time to prepare for the SoE. Hint to them about improving
their recall list.

When trying to add that hint as a single-line change to the dialogue, I
reviewed the existing text and felt it didn't flow well. Reading the feedback
thread, Delfador should have more emotion about finding his childhood home
overrun; however I've gone for practical thoughts first.

The hint isn't #ifdef to only appear on easy, because the text wouldn't flow
without it - take that line out and it goes from "there are more orcs than I
thought" to "we must fight these orcs, who aren't the ones at the SoE". Also,
players who are already doing XP management can feel knowledgeable when they
see it.
2023-01-03 23:32:05 +01:00
Toranks
4a5d1932c7 Fixed texdomain
Weapon specials usually are on wesnoth-help texdomain
2023-01-02 14:06:37 +11:00
Wedge009
2fa7c67277 Lingering reference to .png -> .webp 2023-01-02 13:40:32 +11:00
Wedge009
8ce7578adf Correct path to unit images. Resolves #7254. 2023-01-02 13:27:38 +11:00
Wedge009
7de9c9110a Replace deprecated terrain codes. 2023-01-02 13:23:28 +11:00
doofus-01
9d48e0331a
1.17 move Sand Scuttler out of scorpion (#7236)
* move sand scuttler out of giant scorpion

* convert mainline campaign scuttler variation usage

* convert mainline MP scenario scuttler variation usage

* leave hidden, compatibility scuttler variarion
2022-12-29 20:41:21 -08:00
Toom
034e489b19 Exclude nonvillage from outer_villages array 2022-12-27 08:16:50 +01:00
doofus-01
381e95e6df
1.17 Terrain Help fixes (#7193)
* clean up SotA terrain aliases

* add help entry for terrain elevation in Map Editor topic
2022-12-26 05:13:55 -08:00