28829 Commits

Author SHA1 Message Date
Pentarctagon
20c38a08e9 1.17.12+dev 2023-01-14 18:31:58 -06:00
Pentarctagon
b08582209b 1.17.12 2023-01-14 18:27:55 -06:00
Pentarctagon
292f77a456 pot-update and regenerate doc files 2023-01-14 18:24:11 -06:00
Steve Cotton
d35ea2f2dc Orb color preferences dialog layout and tooltip
Add some spacing to make it clearer what is grouped with what, move the
disengage orb's setting to be part of the partial orb's group, and add
a tooltip for it.

This dialog uses checkbox labels as section headers to indicate what the rows
of colors refer to. This commit doesn't change that, but it makes the grouping
clearer. Actual section headers would take additional space and probably not
look any better.
2023-01-14 18:10:14 +01:00
Tahsin Jahin Khalid
4fd3bc565c Units: add correct textdomain to Grand Dragonfly
Grand Dragonfly was the using the textdomain of the UMC "Coaltion of Swamp Creatures: big Battle 1"
2023-01-12 15:00:49 +01:00
Pentarctagon
3d7d5dbdbf
Add ability to allow secondary authors to upload an add-on. (#7268)
* Add ability to allow secondary authors to upload an add-on.

The secondary_authors attribute is a comma-delimited list of forum accounts that can also upload updates to an add-on. Secondary authors can't change the primary/secondary authors and can't delete the add-on.

The primary author can also make someone else the primary author by:
* Putting their username in the secondary_authors attribute
* Putting someone else's username in the author attribute
* Uploading the add-on while selecting themselves
This works since they are still (until the upload is done) the primary author in the database, so they are allowed to change the authors list, including in this case.
2023-01-11 10:21:55 -06:00
Steve Cotton
e7e6649377 Fix the indentation in the "special_calculations" test
Just a whitespace change, because it can't be used as a reference to cut & paste from
when it's incorrectly indented.
2023-01-10 12:25:16 +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
Nils Kneuper
a086f23a7f updated Turkish translation 2023-01-02 12:18:08 +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
Wedge009
2b697742ce Resolve non-standard spacing.
[ci skip]
2023-01-02 13:07:39 +11:00
doofus-01
cfe97f9070
1.17 more fauna work (#7244)
* fix mixed-up falcon attacks

* buff falcons, so they are more even with bats

* add more ants, reorganize ants
2022-12-31 05:46:15 -08:00
Elvish_Hunter
d4c8d08064 wmllint: improve [campaign] rank= validation message 2022-12-30 23:33:59 +01:00
Elvish_Hunter
c1a074ea41 wmllint: validate values of [campaign] rank= 2022-12-30 22:49:36 +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
Steve Cotton
b9e4fdffb4 Update deprecation but postpone removal of the SPECIAL_NOTES macro
Units still using this in their descriptions will have the player-visible
header change from "Special Notes:" to "Special Notes (1.14-style, please
update to the new list format)".

The SPECIAL_NOTES macro was originally removed early in the 1.17 dev cycle.
That removal was reverted and postponed in the roadmap until Jan 2023, on the
grounds that it's a lot easier to test 1.17 when the big add-ons from 1.16 can
run on it.

In 1.16, UMC that hasn't upgraded yet already has a cosmetic bug - the help
pages of units still using the {SPECIAL_NOTES} macro will include duplicate
notes (assuming the expected usage of {SPECIAL_NOTES} as a heading in
[unit_type]description=, which is followed by old-style notes). These are minor
cosmetic bugs, which are expected to be removed as UMC gets updated.

That leaves the issue of what to do with the deprecated macro in 1.18. My
feeling is that we can easily continue to support the macro, albeit with the
cosmetic bug, so we should keep it for 1.18. However we could make it clearer
that the duplicated notes should be removed from the UMC.

This also removes some docs about NOTE_*s, those macros have already been
removed after being deprecated in 3568b5ff66ece00ec09f40059e552123f356d962.
2022-12-29 16:53:13 +01:00
Steve Cotton
e28f29b4ac Add unit tests for weapon-special calculations
Covers the math for [attack]add=, [attack]divide=, [attack]multiply= and
[attack]sub=. The behavior is the same in 1.16.

* 5 + 2 = 7
* 5 - 3 = 2
* 5 + 2 - 3 = 2. Yes it does, that's half of why this unit test exists ...
* 5 + 2 + 3 = 8
* 5 + 3 + 2 = 8
* 5 + 2 - (-3) = 7
* 3 * 3.34 = 10
* 3 * 3.334 = 9. ... and that's the other half of why this unit test exists.
2022-12-29 15:40:01 +01:00
Pentarctagon
4218924c4a Fix copy/paste comment. 2022-12-28 12:08:09 -06:00
doofus-01
6e5cb055aa
1.17 minor updates to monsters (#7235)
* some elder falcon frames

* update to kraken portrait
2022-12-27 17:03:10 -08:00
Toom
034e489b19 Exclude nonvillage from outer_villages array 2022-12-27 08:16:50 +01:00
doofus-01
1603dea8f6
make north-breathing drakes face se instead of s (#7233) 2022-12-26 17:13:53 -08:00
doofus-01
17a95134ac
get elevation markers out of the mini-map (#7232) 2022-12-26 11:37:57 -08: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
doofus-01
8e38cfd01a
1.17 some random Loyalists sprite updates (#7208)
* Spearman update

* Grand Knight update

* Cavalryman update

* General update
2022-12-25 21:12:18 -08:00
doofus-01
f9bd000a4e
dunefolk rover portrait (#7216) 2022-12-25 17:53:50 -08:00
doofus-01
2fa006f716
add forgotten kraken ink projectile images (#7229) 2022-12-24 17:54:55 -08:00
Celtic Minstrel
7d5fa80180
WML: Adjust the weapon selection logic for [kill] (#7196)
* WML: Adjust the weapon selection logic for [kill]

The previous logic simply did not make sense, especially for the secondary weapon.
For example, it would ignore the secondary weapon specification if the primary weapon was not found on the secondary unit, which does not make any sense.

The cases that this changes are:
- There is a secondary unit and a primary attack, but no matching attack was found. Previously it would use the default, now it pretends that attack exists.
- There is a secondary attack specified, but no primary attack, either because it was unspecified or because it didn't match any attack on the secondary unit

In both these cases, the animation runs as if a matching attack exists, rather than using no attack and choosing the default animation.

Adjust the log level too.
2022-12-24 16:52:57 +01:00
Pentarctagon
5849a143c5 Fix undefined macro error. 2022-12-22 10:25:32 -06:00
Pentarctagon
128c0dacf9 dos2unix line endings. 2022-12-21 12:30:04 -06:00
Pentarctagon
30b55575e6 Add toplevel FilterWML tests folder. 2022-12-21 12:30:04 -06:00
Pentarctagon
129f5742fc Tests cleanup. 2022-12-21 12:30:04 -06:00
Pentarctagon
5eae1b6199 Reorganize unit tests. 2022-12-21 12:30:04 -06:00
Toom
07dc953875
Escape < and > even if only one of them exists or if found multiple times (#7154)
* Escape < and > even if only one of them exists

In python negative index counts from the end, so without this change or another solution
"example with only < one side" would be converted to 
"example with only < one sid&gt;example with only < one side"

* Escape < and > even if found multiple times
2022-12-20 20:07:17 +01:00
Gunter Labes
2b47e63e8b
wmlunits: ignore a dependency on the addon itself 2022-12-19 16:16:35 +01:00
Wedge009
15b4ee9875 Spelling corrections and standardise spacing.
[ci skip]
2022-12-19 18:58:59 +11:00
Pentarctagon
ec05dcd06d Wesnoth 1.17.11+dev. 2022-12-17 19:15:04 -06:00
Pentarctagon
ba8227e994 Wesnoth 1.17.11. 2022-12-17 19:14:04 -06:00
Pentarctagon
f45bd210d9 pot-update and regenerate doc files 2022-12-17 19:11:50 -06:00
walodar
87b2508586 Fix WML for standing animations for Walking Corpse and Soulless introduced in b0d327ea3c78209397571f11773f056b272f496f (#7102). 2022-12-17 13:49:06 -06:00
Steve Cotton
a9d5c6ac6d Handle out-of-bounds side numbers in Lua's sync.evaluate_multiple
Change the C++ to show a Lua error instead of crashing with an assert.
2022-12-16 16:40:46 +01:00
Wedge009
3980e40ed0 SoF: Convert Ias terrain codes missed in #7042.
Resolves #7210.
2022-12-16 18:54:36 +11:00
Tahsin Jahin Khalid
31a1dde0e7
[MP] elevation test: adjust scenario name and desc (#7205) 2022-12-16 14:50:46 +08:00
Celtic Minstrel
6d3dd6a175 Support as_type=weapon in [variable]formula= 2022-12-06 01:52:38 -05:00
doofus-01
047356afb9
Update about.cfg 2022-12-04 12:12:51 -08:00
doofus-01
555d5a930b
1.17 - a couple more monsters (#7152)
* Dragonfly

* Grand Dragonfly

* Dragonfly naiad

* move Kraken out of WoF and DW and put in core

* Update kraken sprite and animations
2022-12-04 12:00:48 -08:00
doofus-01
e22da0ea99
hills transitions for hex with small mountain catch-all rule (#7191)
fixes #7180
2022-12-04 11:52:53 -08:00
Pentarctagon
12a7f018e0 Document last batch of unit tests. 2022-12-03 23:29:47 -06:00