Commit graph

568 commits

Author SHA1 Message Date
Subhraman Sarkar
2b9ed47080 MP: Aethermaw: Update images with their 1.18 variants 2024-03-16 16:36:55 +01:00
Severin Glöckner
0808e89f27 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:33:40 +01:00
Severin Glöckner
1de3ff043b ANL: make destruction events removable
[ci skip]
2024-03-11 14:38:49 +01:00
Severin Glöckner
9b79c92acd ANL: make main events removable
[ci skip]
2024-03-09 01:49:02 +01:00
Wedge009
45e537505f Use 'curly' quotes as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02: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
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
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
Wedge009
dc2ccab119 Correct non-standard spacing.
[ci skip]
2022-11-01 22:55:07 +11: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
doofus-01
615207c2ce 2p_Aethermaw - fix sprit decorations above fog
(cherry picked from commit 8042db88e9)
2021-10-29 11:18:35 +11: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
1dccc3ad76 Update mainline content to use the mathx module 2021-05-08 17:20:49 -04: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
Celtic Minstrel
9d3bf196b0 Update everything to use the new wesnoth.map module
- get_terrain and set_terrain replaced with direct indexing operations
- get_map_size mostly replaced with either the iterator or an on_board call.
  Only a few cases really needed to know the size of the map for some other purpose.
- shroud and fog operations, village owner, time areas, and location filters
- get_terrain_info replaced with terrain_types table
- Map generation functions create_map and create_filter
2021-02-28 18:16:33 -05:00
Andrey Bienkowski
5cb1790669 Cleanup wmllint: display on/off
https://github.com/wesnoth/wesnoth/pull/5481 removed the check that made
wmllint: display on and wmllint: display off necessary.
This PR removes now redundant wmllint comments.

find ./data/ -name '*.cfg' -exec sed -ri '/^ *# *wmllint *:? *display *(on|off) *$/d; s/ *# *wmllint *:? *display *(on|off) *$//' '{}' ';'
2021-02-02 18:36:28 +03:00
Pentarctagon
20896278b5
Fix WML schema errors. 2021-01-10 15:48:39 -06:00
Severin Glöckner
7258c3f651 MP: unique background graphics for Isar's Cross
Mainlined from the add-on "Visual Map Pack"
2020-12-07 05:06:27 +01:00
gfgtdf
b21c110f30 run wmlindent 2020-10-19 23:53:52 +02:00
Hejnewar
20e8fae7e2
Update fungus terrain in MP maps where appropriate
Fixes #5145
2020-10-05 22:39:27 -05:00
Pentarctagon
5af1f129cd Mass convert of *^Uf terrain for SP. 2020-09-15 09:26:00 -05:00
Pentarctagon
0fcf545582 Remove unused mapgen files. 2020-09-15 09:26:00 -05:00
Severin Glöckner
9cda7e7353 MP Survivals: remove quick trait for slow leaders
In PvE the player doesn't need this bonus, like he doesn't have it in campaigns either.

[ci skip]
2020-08-30 22:28:44 +02:00
Severin Glöckner
3b2cb8849e ANL: recommend lowering starting gold
closes #1149

The difficulty slider is in fact the gold setting.
bob_the_mighty suggest setting it to 75, though for new players 100 might be better.

I think the best we can get from this situation is to have it by default on 100,
but to tell players about changing the gold setting if the scenario becomes too easy for them.

[ci skip]
2020-08-30 22:28:43 +02:00
Severin Glöckner
c0d05dcce6 MP: 5P The Wildlands
Fix Shuffling Sides with side 5 (which has no leader)
and refactor.
[ci skip]
2020-08-09 00:44:58 +02:00
Severin Glöckner
4c899d73d6 MP: 5P The Wildlands
Place units in a way which avoids jumping too much over the map.
[ci skip]
2020-08-09 00:44:58 +02:00
Gunter Labes
fece902b41
Remove tags without effect
No use in having two adjacent heights with the same terrain or road cost/village definitions for a terrain that is not generated.

Fixes #4886
2020-05-05 17:59:48 +02:00
Severin Glöckner
b72ec6e654 MP Hornshark Island: move short Lua file to inline 2020-02-20 05:53:47 +01:00
Severin Glöckner
2518cef313 ANL: ai tweaks – don't retreat
In this scenario, the AI can't heal his units, as they destroy buildings
(except for leaders). Thus no sense in keeping units alive.

Disable caste_switch, in case players find a way to abuse it (as they can build castles)

For the Spiders, disable the poison CA, as it's only a monster encounter,
no need to be tactically smart in the long run.
2019-12-23 01:29:43 +01:00
Celtic Minstrel
732b7942bb Replace all references to deprecated functions in the helper module
(and remove the require if this meant it was no longer used)
2019-12-02 01:10:34 -05:00