Commit graph

792 commits

Author SHA1 Message Date
Subhraman Sarkar
76780d1fb0 update help markup in faction descriptions 2024-09-23 19:49:44 -04:00
Celtic Minstrel
d2983f849b [Lua] Read campaign ID from scenario settings instead of mp_settings. 2024-08-13 08:54:04 -04:00
Pentarctagon
901e91c8ec
Move Dunefolk to the Default era. (#8688) 2024-04-11 10:43:41 -05:00
Subhraman Sarkar
29cc307ac7
aethermaw : change Sulla's title to Aether Mage (#8539) 2024-03-26 19:14:33 +05:30
Subhraman Sarkar
62ac421cf4 MP: Aethermaw: Update images with their 1.18 variants
(cherry picked from commit 2b9ed47080)
2024-03-25 21:02:48 +01:00
Severin Glöckner
bb5eea3017 ANL: swap order of events
This keeps village destrution events adjacent,
the events will also appear in order of id.

[ci skip]
2024-03-11 19:34:17 +01:00
Severin Glöckner
ff4854cc30 ANL: make destruction events removable
[ci skip]
2024-03-11 14:38:11 +01:00
Severin Glöckner
5ccda0cabc ANL: make main events removable
[ci skip]
2024-03-09 01:50:45 +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
Hejnewar
2b4234afd7
Remove Saurian Seer and Soothsayer from the leaderpool
Reason: Saurian Seer and Soothsayer have 7mp
2023-11-19 22:36:51 +01:00
Wedge009
45e537505f Use 'curly' quotes as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02:00
MJ
59495148c3
Saurian Augur level-3 upgrades (#6911) 2023-10-06 23:50:21 -05:00
Jonathan-Kelly
9460507218
Add game logic to King of the Hill and revise map (#7792)
A side with a leader holding the hill keep gets bonus gold each turn, A treasure chest which only a leader can unlock further rewards the first player to take the hill. Each side gets two leaders. If one dies then another can be "recalled" (recruited) from the recall list at its full unit cost. Computer players will try to take the hill with one of their two leaders.
2023-08-19 11:50:02 +02:00
Tahsin Jahin Khalid
60ab78c9c0
LoW/ANL/WC update instances of units/elves-wood/fighter.png 2023-06-20 14:14:15 +02:00
Toom
9dfd434cdd
move multiplayer macros to proper folder (#7647) 2023-05-22 09:01:23 -05:00
Pentarctagon
7b6027cdec Remove bizarrely small image from message 2023-02-21 17:57:30 -06:00
Pentarctagon
0b2f9ecc8d Fix image extension typo 2023-02-21 17:55:07 -06:00
inferno8
e522cf426c use progressive notation for the waterfall animation code 2023-02-12 22:22:36 -06:00
inferno8
fe4234aa8c add waterfall animations to Isar's Cross (closes #7348) 2023-02-12 22:22:36 -06:00
Tahsin Jahin Khalid
f238a9e026 MP: typo fix in achievement 2023-02-10 02:51:31 +08:00
Tahsin Jahin Khalid
89361ba152
[MP] Add Survival Scenario Achievements (#7347)
1. Dark Forecast
2. Isle of Mists
3. Team Survival
4. ANL
5. ANL Mines
6. ANL Rescue
2023-02-10 02:31:33 +08:00
Severin Glöckner
384cb5d19a MP Thousand Stings Garrison: remove unit properties
Since the HP are at 1, remove also other properties such as attacks.
2023-02-05 00:21:26 +01: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
Pentarctagon
5eae1b6199 Reorganize unit tests. 2022-12-21 12:30:04 -06:00
Tahsin Jahin Khalid
31a1dde0e7
[MP] elevation test: adjust scenario name and desc (#7205) 2022-12-16 14:50:46 +08:00
Steve Cotton
e3deff8bfd Make undo work again, undeprecate on_event()
Fixes #6898. The issue is that non-WML events added through the new events API
always disable undo with no equivalent of WML's `[allow_undo]`. The long-term
fix is to add a way to do that; however until that's available then listeners
for `moveto` need to use the old `on_event` API. The old `on_event` API can't
be deprecated yet, and this is enforced by our unit tests (the build fails if
there are unexpected deprecation warnings during the tests).

Reverts most of 7e234f8833. Does not revert files
that only listen for non-undoable events such as `die` or `new turn`.

Reverts the deprecation part of #5663's 8cd1332630.
2022-11-19 05:23:30 +01:00
Jonathan-Kelly
1ba0a11a18 Make Nightblade the default advancement for Slayer 2022-11-14 17:22:25 -05:00
Wedge009
dc2ccab119 Correct non-standard spacing.
[ci skip]
2022-11-01 22:55:07 +11:00
doofus-01
bbdb6c57ef
Change terrain codes for stone and wooden floors (#7042)
* revise I-type terrain codes so they can be filtered with wildcard

* update the few MP maps using these I-type codes

* update the few campaigm maps using these I-type codes
2022-10-08 16:04:18 -07:00
doofus-01
880183774c
1.17 elevated terrain work (#7014)
* stone border revision

* corner case transitions

* add MP example scenario/map for elevated terrain

* simplify the floodfill

* change ravine from ^Qhx to ^Qhux, for better filtering

* reorganize images
2022-10-02 20:28:03 -07:00
Celtic Minstrel
7e234f8833 Replace deprecated usages of on_event() 2022-07-18 21:56:42 -04:00
Pentarctagon
9bfd432abe Update image pages for webp extension. 2022-04-30 14:23:32 -05:00
inferno8
c8958ff4a5
Convert Isar's Cross map background images to webp format (#6254) 2022-03-25 18:56:28 -05:00
Pentarctagon
370d03ccb7 Fix luacheck warnings and add to CI.
Note the `exclude_files` in .luacheckrc should be deleted once the eventual Ubuntu 22.04 base image has an updated luacheck that supports lua 5.4.
2021-11-28 14:26:02 -06:00
doofus-01
615207c2ce 2p_Aethermaw - fix sprit decorations above fog
(cherry picked from commit 8042db88e9)
2021-10-29 11:18:35 +11:00
Pentarctagon
858f8b4248
Missed some deprecated fungus on map edges. 2021-07-31 18:46:47 -05:00
Tahsin Jahin Khalid
cc94f2f712 fixed non-existent textdomain in scenario file [IoM] 2021-06-23 10:32:10 -05:00
Celtic Minstrel
91f6bf93a4 Fix a broken deprecation and replace some deprecated uses
Fixes #5877
2021-06-20 00:59:59 -04:00
Celtic Minstrel
7f162cbd24 Lua: Rename find_vacant_tile to find_vacant_hex for naming consistency 2021-06-19 17:09:31 -04:00
Tahsin Jahin Khalid
7d8ea03433
[MP] Isle of Mists - a new 1p/2p Survival Scenario. (#5748)
1. Added a new multiplayer survival scenario.
2. Lua (similar to Dark Forecast one) code used for the enemy waves and weather change events
3. Comes with 6 weather conditions
4. Default difficulty is set at "0"
5. Has 1p/2p modes
6. 5 final waves
7. 8 difficulty levels, ranging from -30 to +60, with +60 being catered especially for veteran/skilled players.
2021-06-19 12:05:47 -05:00
Celtic Minstrel
ccb9f4f0e9 Update mainline uses of have_file and read_file 2021-05-11 14:52:21 -04:00
Celtic Minstrel
bf746a0207 Update mainline content to use the wesnoth.scenario module 2021-05-11 14:52:21 -04:00
Celtic Minstrel
05b0b7a1df Update uses of wesnoth.fire 2021-05-11 14:52:20 -04:00
Celtic Minstrel
1dccc3ad76 Update mainline content to use the mathx module 2021-05-08 17:20:49 -04:00
Steve Cotton
8e315683ae Add wesnoth.colors[name].pango_color and use it in the multiplayer turns-over dialog 2021-04-28 10:44:19 +02:00
Steve Cotton
26b3ad42a5 Multiplayer turns over dialog: stop using %d and %s in translatable strings
This should probably be changed into a table of GUI2 widgets, but this commit
is an improvement on what was here before. It removes the broken conjunct list
formatting for 3-way ties. However, it also means that there are 5 lines per
language to translate again.

Fixes #4274.
2021-04-28 09:11:29 +02:00
Severin Glöckner
e931488f0b Dark Forecast: don't modify unit movement costs
Preferrably leaving them in the vanilla version.

Closes #3891
2021-04-24 02:02:26 +02:00
Tahsin Jahin Khalid
8cf20f263b village support +1 for 2 player mode (#5)
this sort of makes Dark Forecast passable for 2 player mode. Initially, it was only passable if it was one-player-mode as one player could have 11 villages active and could get a good army built prior to the final wave.
2 player suffered from lack of resources to replace losses and would be unwinnable in some cases.
Only 2 cases where it was won in 2 player mode was when the players were of exceptionally high skill level but average skill-levelled players have yet to even win.
2021-04-05 14:02:26 -05:00
Tahsin Jahin Khalid
18b42b0439
Fix for weather change cheat in dark forecast (#5656)
Adjusted the weather change effect from side 3 turns to side 1 turns. Side 1 is never empty so it would bypass the side 3 as empty cheat which impeded weather changed.
2021-04-02 18:19:03 -05:00
Tahsin Jahin Khalid
7f9b399235
Dark Forecast Lua file comment Typo fix (#5658)
Fixed a typo in the comments and in a function name.
2021-04-02 14:51:46 -05:00