Commit graph

11471 commits

Author SHA1 Message Date
nemaara
ef0da66ec9
SotBE S13: rebalance scenario 2021-09-02 02:52:10 -04:00
Pentarctagon
545e5ffa29
Fixup WC schema validation failures. 2021-09-01 19:41:53 -05:00
Tahsin Jahin Khalid
19b38fe249
[world conquest] [master] [lua] Check for wc2_scenario value before executing wc2_start_units function (#6052)
What this does is just checks the value of wc2_scenario before executing the function, and executes it for the first scenario only as intended.
2021-08-31 10:36:19 -05:00
Steve Cotton
6ad33af556 UtBS S02: Don't move Nym if she's already adjacent to the bottle
(cherry picked from commit 8919c2e948)
2021-08-26 14:21:13 +02:00
Steve Cotton
6b6eb8a35b WC: End the campaign at the end of the final scenario
Fixes the campaign part of #5891.

(cherry picked from commit 9d32c77035)
2021-08-24 10:43:19 +02:00
kabachuha
536d6a226c HttT: add gendered variants to item pickup prompts
Should help to address the issue with gendered verb forms or noun cases in some languages as described in #4436 . This reuses the same preexisting mechanism as in the latter part of httt_utils.cfg.
2021-08-21 13:11:47 +03:00
Tahsin Jahin Khalid
1dd447ce5d [world conquest] replaced khalifate unit types with dunefolk unit types
I have also removed one mention of "Dune Piercer", which is non-existent unit, and substituted it with "Dune Rider".
2021-08-17 17:19:39 -05:00
Steve Cotton
1d8225d6b6 UtBS S09: Reveal the boss of the scenario at the end of part 1
This foreshadows that the player will need to attack the north-west after
defeating the north-east enemy, which is a bit fairer to anyone playing this
scenario for the first time.

Removes a now-unused string (Darius' pre-sacrifice speech). There are no new
strings here, the others are just being moved around.

For clearing shroud, change to using radius= because clearing a circle looks
better than clearing a square.

There's no significance to whether the new plan is "Plan B" or "Plan C" - back
in Wesnoth 1.10 it seems to have been dependent on whether all the merfolk had
been rescued.

Fixes issue #5540 about Hekuba spawning on a water hex.

(cherry picked from commit 25163c06a2)
2021-08-17 15:32:27 +02:00
Tahsin Jahin Khalid
d19c137d65
[world conquest] World Conquest Era is only available for the WC campaign
Until a proper solution is found for #5228 , this will have to do. It suppresses the appearance of the era in the era selection list for other scenarios.
Hmm, I guess the [campaign] tag should support the allow_era= key in future but for the moment, this will do.
2021-08-16 23:05:18 -05:00
Wedge009
89a5319006 Resolve #6019 - allied side not triggering failure condition when sighted 2021-08-16 20:00:24 +10:00
nemaara
03f97be0c2
TSG S8b: reduce difficulty 2021-08-12 01:29:23 -04:00
Tahsin Jahin Khalid
1b267691f5 [world conquest] replace deprecated ^Uf and Uft with ^Tf and Tt part-2 2021-08-11 13:08:39 -05:00
Tahsin Jahin Khalid
391829dbeb [world conquest] replace deprecated ^Uf and Uft with ^Tf and Tt respectively 2021-08-11 13:08:39 -05:00
Steve Cotton
25052e967e Tutorial S01: HDPI support
Remove the maximum size for the character-select dialog, the window will
automatically choose the minimum size that fits the text.

Extend the map 1 hex south. This means that, if the full map fits on screen,
the horizontal center of the map (where the print statements appear) is between
the keep and the south village, thus their labels don't overlap the print
statements.
2021-08-02 08:16:35 +02:00
Tahsin Jahin Khalid
96b86d6aae
[world conquest] [master/1.17] add credits, campaign icon(s) and image. (#5959) 2021-07-31 12:15:52 -05:00
Celtic Minstrel
eb1bd1af6c Lua API: Add wesnoth.map.filter_tags for the mapgen kernel
This was supposed to be added for 1.16, but it was forgotten; anyone wishing to use it in 1.16 will have to copy it from World Conquest.
2021-07-30 19:22:57 -04:00
kabachuha
3de79c15fb Removed WC2-specific feedback link
It doesn't need a special feedback link anymore as it's now a part of mainline Wesnoth.
Changes tested on my local 1.15.15 dev instance.
2021-07-31 01:01:43 +03:00
Steve Cotton
9369b520e7 SotA: Synchronise the zombie recruitment dialog
This dialog works by setting variables in the postshow function,
so the code had to be moved around to ensure that those variables
were synchronised, not just the return value of the dialog.

The message about not having enough gold isn't necessary for the
replay, so that gets moved into the synchronised code too.
2021-07-29 01:12:14 +02:00
Steve Cotton
3d50320369 Tutorial S01: Synchronise the choice of character
This avoids showing the dialog during replays, and thus avoids an
OOS if the person watching the replay chooses the other character.
2021-07-29 01:12:14 +02:00
Steve Cotton
a0ae4a7342 TRoW S04a: Typographic style is not to have a hyphen in "un-life"
For consistency, there should also be no hyphen in "un-death".
The style was decided in PR #5525.
2021-07-26 08:45:33 +02:00
Pentarctagon
1541a31a56
Typo fix. 2021-07-21 10:13:18 -05:00
Steve Cotton
3d2f15ec1e Tutorial S01: Don't let the first Quintain attack on turn 2
A player can follow Dacyn's instructions to the letter, yet get
killed if they choose a village 2 hexes away from the Quintain on
turn 2.

There are better suggestions about handling this in
https://r.wesnoth.org/t54644 , however during the string-freeze
let's simply make the Quintain stay on its starting spot on turn 1.

Add a CLEAR_PRINT because the player has just completed the
"End your turn" instruction.

(cherry picked from commit b02b1ad2ff)
2021-07-20 09:11:38 +02:00
Celtic Minstrel
064858b969 WC: Add player count to campaign abbreviation
1-player will be WC1, 2-player WC2, 3-player WC3
2021-07-13 14:12:08 -04:00
Celtic Minstrel
8daad7d5e9 WC: Player count is now an option in the settings dialog 2021-07-13 14:12:08 -04:00
Celtic Minstrel
7488fbfef6 WC: Change it to a campaign so it can use the built-in difficulty selection
Fixes #5113
2021-07-13 14:12:08 -04:00
nemaara
69e4b5395d UtBS S8: increase turn limit 2021-07-09 02:48:34 -04:00
Celtic Minstrel
4ec60b99d9 Lua: Update all mainline references to the helper module 2021-07-07 01:32:05 -04:00
Celtic Minstrel
ceacb9ecad WC: Forgot to remove a testing thing 2021-06-27 11:51:48 -04:00
Celtic Minstrel
24cf433aaf WC: Fix schema validation
When one attribute is dependent on another, apparently order matters.
2021-06-27 11:49:51 -04:00
Celtic Minstrel
315cebf0d9 WC: Fix missing commas 2021-06-27 01:34:07 -04:00
Celtic Minstrel
782c176744 Revert "WC: Fix missing commas"
This reverts commit df975fdd4f.
2021-06-27 01:33:17 -04:00
Celtic Minstrel
df975fdd4f WC: Fix missing commas 2021-06-27 01:31:30 -04:00
Celtic Minstrel
874af80fb4 WC: Missed some cases of id_suffix 2021-06-27 00:56:00 -04:00
Celtic Minstrel
0cadfb3286 fix whitespace 2021-06-27 00:29:24 -04:00
Celtic Minstrel
f64c6c6c46 WC: Don't transclude macros into the Lua code 2021-06-27 00:27:57 -04:00
Celtic Minstrel
163bb2f52d WC: The indentation of the generator Lua was weird 2021-06-26 22:05:32 -04:00
Celtic Minstrel
9a3143215b WC: Remove the IS_ADD_ON check 2021-06-26 18:22:25 -04:00
Celtic Minstrel
75efd88eac SoF: Missed one case where rune options are used 2021-06-26 12:42:34 -04:00
Celtic Minstrel
08f9aade4b SoF: Fix runecrafting gold cost being non-translatable
Addresses #5889
2021-06-26 11:40:35 -04:00
Celtic Minstrel
3159133707 WC: Update deprecated uses of get_viewing_side
Addresses #5895
2021-06-25 20:01:31 -04:00
Wedge009
9c91fbd520 Grammar corrections. 2021-06-24 08:53:22 +10:00
Wedge009
6e6d57d365 Spelling corrections
[ci skip]
2021-06-21 13:39:25 +10:00
Celtic Minstrel
2348b06d52 UtBS: The naga guardians only change their attack power, so remove everything else from their attack
It automatically merges with the base unit's attack, so you only need to include what changed.
2021-06-20 23:12:58 -04:00
Gunter Labes
5fe043c288
Update deprecated lua 2021-06-20 20:57:46 +02:00
nemaara
1d39283bdd SoF S3: fix typo (fixes #5878) 2021-06-20 13:15:21 -04:00
Steve Cotton
86eb349365 UtBS Dustbok: Add missing translation mark, fix double-spaces 2021-06-20 08:04:28 +02:00
Celtic Minstrel
91f6bf93a4 Fix a broken deprecation and replace some deprecated uses
Fixes #5877
2021-06-20 00:59:59 -04:00
doofus-01
3786b14cbd
[UtBS] dustbok description for 1.16 (#5875)
* dustbok description
2021-06-19 19:10:17 -07:00
Celtic Minstrel
7f162cbd24 Lua: Rename find_vacant_tile to find_vacant_hex for naming consistency 2021-06-19 17:09:31 -04:00
Celtic Minstrel
1f62eae3ce Replace uses of wesnoth.find_path 2021-06-19 15:43:33 -04:00