30038 Commits

Author SHA1 Message Date
Severin Glöckner
071da35a6a wmllint: more precise rule
More precise rule to not match units in Ageless.
2025-01-18 02:07:22 +01:00
Gothyoba
f1b5f271cc Fix typo 2025-01-18 10:18:33 +11:00
Gothyoba
b8f2af62d0 Warn against old tutorial in description 2025-01-18 10:18:33 +11:00
Dalas121
5b5e29ffcb
TSG: use data/resources (#9757)
When TSG was created (and when TSG's PR was created), data/resources did not exist. Now that it does, replace TSG's campaign-specific weather with data/resources.

To fix CI errors, replace the old resource "extra_defines" system with manual includes instead (including in EI).
2025-01-17 16:49:37 -06:00
Nils Kneuper
a6a3510283 updated Dutch translation 2025-01-17 19:47:30 +01:00
Gothyoba
257215a689 Fix typo in TSG Comment
becuase -> because
2025-01-17 13:33:35 -05:00
Thewodoros
5b04e523b9 Allow undo move if not picking item or elixir
If we select the option to leave the item on the ground, we should be
able to undo and move another unit to take it.
2025-01-17 11:09:12 -06:00
Gothyoba
063670cd38
Encyclopedia Revision for TSG: Re-Revised (#9253)
An encyclopedia revision partially for TSG: Re-Revised:

    Explain BF (Before the Fall) in the calendar page. This is not used in mainline, but appears in the game’s code and can be be used by UMC or future mainline content.

    Made spacing throughout the encyclopedia consistent.

    Added a detail on Mount Morogor being the highest active volcano in Morogor, not just a random volcano. This makes it appear more sensible that it is included.

    Added the Island of Gaall and Isle of Omarath to Morogor, shown WoF. IIRC no other islands in Morogor are named in WoF.

    Mentioned Kerlath and the Far South at the end of the Wesnoth description.

    Removed reference to Blackmore being Wesfolk to prevent contradicting certain add-ons

    Clarified Kerlath is the southernmost province in the Westin description, not just a southern province.

    Added Southport to the Wesnoth section from the TSG Re-Revision.

    Mentioned farmland in the periphery of Elensefar, mostly to fix a minor nagging lore inconsistency where Elensefar is always shown on the island in the Great River in scenario maps, but is shown south of it in the large map of Wesnoth. Since there are usually some village around Elensefar, some farmland made sense.

    Removed the Southwood due to its removal from the TSG Re-Revision.

    Added the Vale of Blossoming Trees and Lake Aelin to the section on Southwestern Elves.

    Replaced "men" with "humans" in the Northlands description, which I accidentally copied from the old description. I see no reason for this not being gender-neutral. (Actually, these small changes could be merged separately earlier)

    Mentioned Saurgrath in the Northlands.

    Replaced Bay fo Jotha in Jotha’s descriotion with “South of Bitok”

    Added a description of the Mourned Hills which mentions Lmarig, as suggested by CelticMinstrel

    Added the Acanclave Citadel in the Far North from the MP Map

    Remove explicit mention of Dunefolk in the Far South and mainline Isanbar and the Ashland Desert.
2025-01-17 10:35:57 -06:00
Dalas121
e4c35031f7
The South Guard: add Dalas's tutorial revision to mainline (#9682)
This PR replaces the current TSG with Dalas's TSG tutorial revision from the addon server.
2025-01-17 08:26:44 -06:00
Thewodoros
072392d16b Remove unused BRAZIER_ILLUMINATION schedule
Instead of it, other more specific schedules
(BRAZIER_ILLUMINATION_LONG_NIGHT, BRAZIER_ILLUMINATION_SECOND_WATCH,
BRAZIER_ILLUMINATION_MORNING) are used in the scenarios.
2025-01-16 07:30:14 -06:00
Thewodoros
cada5ce359 Remove unused time of day
It was used by removed NORTHERN_WINTER_SCHEDULE.
2025-01-16 07:30:14 -06:00
Dalas121
d498ea2182
amlas resource; add comment explaining [allow_undo] 2025-01-16 07:17:51 -06:00
Gunter Labes
99e5abcf19 Add missing keys to the schema 2025-01-16 14:03:23 +01:00
Subhraman Sarkar
1c460f17a1 celes theme: fix infinite preprocessor loop 2025-01-16 14:47:12 +05:30
Subhraman Sarkar
1be5ec32c2 celes theme: various adjustments
1. make the gold color less bright
2. add hover states to radio and checkbox and update disabled state
3. make hover states of language and about button consistent with other buttons (white -> yellow)
2025-01-16 11:26:12 +05:30
Subhraman Sarkar
20c95a472c advanced preferences: simplify name
removed redundant information.
2025-01-16 06:38:38 +05:30
Wedge009
a5a7b46685 Replace an instance of wrong quote orientation.
[ci skip]
2025-01-16 10:44:39 +11:00
Wedge009
a5a84c47be EI: Remove unused schedule macro, closes #9748.
[ci skip]
2025-01-16 10:22:54 +11:00
Dalas121
c77c2077a6
amlas resource, use translatable unit name for help message 2025-01-15 15:57:57 -06:00
Dalas121
8a579ca087
stronger AMLAs resource - allow undo 2025-01-15 15:06:11 -06:00
Celtic Minstrel
1e0bab4a04 Address review comment about API function parameter name 2025-01-15 09:46:42 -05:00
Celtic Minstrel
13ef58ba87 Add a sample Lua plugin that starts TSG, plays one turn, and then exits. 2025-01-15 09:46:42 -05:00
Celtic Minstrel
2fe080d968 Lua API: Plugins can now execute gamestate code once they are in the game context. 2025-01-15 09:46:42 -05:00
Celtic Minstrel
1809138479 Output the ID of the dialog being skipped in case it's not actually a leader select dialog 2025-01-15 09:46:42 -05:00
Celtic Minstrel
e075700115 Update host.lua and join.lua in light of recent changes
* Use the wesnoth.plugin module
* Use .tag and .contents instead of [1] and [2]
* Remove superfluous parentheses on function calls
2025-01-15 09:46:42 -05:00
Celtic Minstrel
0f05094933 Lua API: Add a new plugin module with some useful functions for plugins 2025-01-15 09:46:42 -05:00
Dalas121
a08d6f67f9
Improve Resources: stronger_amlas and resource_weather (#9728)
stronger_amlas: move from amlas.cfg to resources/AMLAs

stronger_amlas: Previously, use_stronger_amlas added extra AMLAs to units that match a certain filter. If units didn't match the filter when they were placed, but did later-on, they still wouldn't be eligible for AMLAs. Fix that here.

resource_weather: [terrain_graphics] cannot be assigned or modified mid-scenario, but can be filtered by ToD. To dynamically modify weather mid-scenario (such as in TSG), use these special "noweather" ToDs.

resource_weather: add wind

both: change textdomain to "wesnoth"
2025-01-14 14:41:03 -06:00
Pentarctagon
f61b7b77ec
Add additional functionality for the in-game add-ons manager (#9693)
When started with the command line argument --addon-info, the Info button is shown on the add-ons manager which then allows:
* querying the downloads by version of the currently selected add-on
* querying the count of total add-ons uploaded vs the count of add-ons using forum_auth
* deleting an add-on (requires being a member of the Site Administrators or Forum Administrators forum groups)
* hiding an add-on (requires being a member of the Site Administrators or Forum Administrators forum groups)
2025-01-14 09:35:46 -06:00
Gunter Labes
ad7a458250
Remove nonsensical comment 2025-01-14 09:38:21 +01:00
Gunter Labes
fbf43bcfc1
Typo fix 2025-01-14 09:36:58 +01:00
Wedge009
eac2730235 WoF Wyrm: Correct text domain, resolves #9740.
[ci skip]
2025-01-14 09:15:54 +11:00
Tahsin Jahin Khalid
707135afa4 THoT: remove duplicate macro 2025-01-14 09:08:52 +11:00
Thewodoros
129fdf74e4
Replace "ken" with "can" in dwarf speech (#9738)
Use "ken" only for "know" or "see" meanings, not for "can" meaning.
2025-01-13 09:46:19 -06:00
Thewodoros
28920faad4
Replace mention of Ulrek with Relgorn (#9736)
Relgorn is Ulrek's son and helped humans more recently.
2025-01-13 09:45:39 -06:00
Thewodoros
55a701cc6e
Mention invasion force instead of just undead (#9737)
We fought undead most recently in S06a, but it was a rear garrison.
2025-01-13 09:44:55 -06:00
Thewodoros
a49ccf0b3f Don't show defeat message if we choose to restart
It feels odd in that case.
2025-01-12 19:30:03 -06:00
Thewodoros
85bdfe391b Remove unused key from [endlevel]
When result is defeat, other keys are not used.
2025-01-12 19:30:03 -06:00
Thewodoros
a21b695a85 Fix bug with dwarf meeting event
It didn't disappear when either of them died.
2025-01-12 19:30:03 -06:00
Thewodoros
31fe9813cd Don't start the task if Pelathsil is dead
The enemies should not be able to reach him that early, but just in
case.
2025-01-12 19:30:03 -06:00
Thewodoros
dfb14774c2 Replace Tath with Parthyn in po comments
It was Parthyn which the orcs attacked, Tath is where the necromancers
steal the book.
2025-01-12 19:30:03 -06:00
Thewodoros
79f102c641 Replace saurians with nagas in po comments
Mentions of saurians must be a leftover from earlier development.
2025-01-12 19:30:03 -06:00
Subhraman Sarkar
f4e0a7bd14
UtBS S1: make Kaleh's dialog a bit more emotional (#9734)
Adds a couple of exclaimation marks to better emphasize the shock.
2025-01-12 13:56:32 -06:00
Subhraman Sarkar
50fe386aa7 celes theme: listbox header definition 2025-01-12 14:09:31 +05:30
Dalas121
3de627e704
Stronger AMLAs Resource: fix filter not being applied to help message
The use_stronger_amlas resources includes a modifiable filter to choose which units are affected.

Formerly, that filter did not apply to a help message, resulting in the ANKA help message appearing even for units that weren't eligible for the AMLAs.
2025-01-11 11:07:31 -06:00
Subhraman Sarkar
bb34d5350b celes theme: radio and checkbox definitions for advanced prefs 2025-01-11 13:38:10 +05:30
Subhraman Sarkar
442200e1fc celes theme: fix slider warning when disabled 2025-01-11 13:03:07 +05:30
Charles Dang
000357ac3e GUI2/Main Menu: minor spacing and wording tweak 2025-01-11 01:48:14 -05:00
Dalas121
18434cb48f
Move Weather effects into a separate resource
These weather effects are used TSG, TDG, and other WIP campaign revisions. Duplicating them across each campaign seems pointless, so I've moved them into a resource here, following the precedent set by #9669.
2025-01-10 19:52:42 -06:00
Charles Dang
86b36d16fc GUI2/Main Menu: minor tweaks 2025-01-10 16:31:47 -05:00
Charles Dang
9326f02e18 GUI2/Main Menu: attempt to reduce sidebar height on low res 2025-01-10 16:28:19 -05:00