5296 Commits

Author SHA1 Message Date
nemaara
8d74a0a720 Dunefolk: fix broken image paths 2019-10-30 15:08:47 -04:00
Sergey Lavrenyuk
df136fcc5b Added mushroom defense cap to mounted and some flying units 2019-10-27 12:26:19 +01:00
nemaara
de408ffab1 Fix unit AMLA experience at max level 2019-10-24 13:09:19 -04:00
josteph
fff2f13f7f Bump deprecation level of old early finish / carryover macros 2019-10-20 00:09:11 +00:00
josteph
b821da1cff Revert "Removed deprecated objective text macros"
This reverts commit 97acce20643ba757e11fdf0cfa35994224ccda63.
2019-10-19 23:56:57 +00:00
josteph
1017018e44 fixup! Fixes from SpellingMistakes
Revert the Orc Ruler change, IRC feedback says "out of" is implied.
2019-10-19 22:12:20 +00:00
josteph
74589a642c Fixes from SpellingMistakes 2019-10-19 21:32:24 +00:00
Steve Cotton
ad7699bffc Translations: drop languages with 3 or less translated strings
* Old English (ang)
* Friulian (fur_IT)
* Asturian (ast)

The "Old English (Latin chars) (ang@latin)" translation is not dropped,
which is why Old English is still listed in about_i18n.cfg.

The manpage uses ang_EN in the example of the command-line --language
option, which is then copied in to other translations. That isn't changed
in this commit.

Although the po4a scripts are updated, the update-po4a target currently
fails because of a typo in the pt_BR translation.

Two scripts have a special case for ignoring ang_GB, both of these are
left unchanged on the assumption that old versions of Wesnoth may be
parsed with the latest version of the tools:
* data/tools/unit_tree/helpers.py
* data/tools/wmlunits
2019-10-19 20:38:03 +02:00
Nils Kneuper
9af9f9e616 added Ancient Greek translation 2019-10-19 18:52:48 +02:00
Charles Dang
97acce2064 Removed deprecated objective text macros
[ci skip]

These are incorporated into the objectives dialog automatically. They lack a deprecation
notice, but they should be given level 3 status on the 1.14 branch.
2019-10-19 18:12:21 +11:00
Charles Dang
871e857771 Begone, MENU_IMG_TXT!
[ci skip]

This utilized the deprecated DescriptionWML syntax.
2019-10-19 18:06:02 +11:00
Charles Dang
021339bcc5 Removed macros deprecated at level 2 and 3
[ci skip]
2019-10-19 18:01:33 +11:00
josteph
7f96d1f288 units: Add custom [special_note]s. 2019-10-19 02:56:43 +00:00
Steve Cotton
14284e88c3 Editor help: remove whitespace from ends of strings
Note: this does not include a fix for #4484, that a double-quote in a _<< >>
delimited string causes a broken msgid. Wondering whether to remove that from
this text, but would prefer to add the feature to wmlxgettext.

Follows the comments in #4480, about how to handle whitespace at the beginning
and end of translatable strings.

This is text that was added after the last pot-update, so updating it
again now will hopefully be before the translators start on it. Some
text that was split into paragraphs is now combined in to one block,
other parts are still split but with non-translatable whitespace; the splits
will hopefully separate the scenario editor parts which are going to change
again before 1.16.0.

The wmlindent override is because the logic for multiline strings isn't working
for << >> delimited strings.
2019-10-18 10:22:58 +02:00
josteph
e285a2c530 Silver Mage: Convert special note to new syntax
See #4480 for the leading space.
2019-10-18 00:30:27 +00:00
mattsc
bdf5421fd5
Merge pull request #4437 from mattsc/expai_recuit_higher_levels
Experimental AI: make AI recruit higher level units
2019-10-17 07:09:53 -07:00
nemaara
7fca6a77e4 Marauder: fix typo 2019-10-15 19:57:26 -04:00
Steve Cotton
f51cf05549 Update credits: add EarthCake, update octalot, newfrenchy83
* add EarthCake
* add my nickname (octalot)
* correct the number in newfrenchy83's name
2019-10-15 16:43:03 +02:00
Jyrki Vesterinen
d1391fee8e Move ms_after= to the right place in music macros (#4459)
I originally added it in #719. At that point ms_after= affected the *previous*
track due to a bug; however, I had assumed the behavior to be intentional and
compensated for it by adding ms_after= to the first track of a scenario instead
of the story screen music.

In April, I saw the documentation for ms_after= which said that it's supposed
to affect the track itself, not the previous one. Hence, I fixed the bug in
commit b023b818c742cee0bc75460235c9d1088c0b495d. However, I had forgotten that the changes I had made
in #719 depended on the old broken behavior of ms_after=.

This commit moves ms_after= to the right place, restoring the fade-out on
scenario start and removing the pointless pause after the first track.
2019-10-13 12:15:21 +03:00
nemaara
557552d301 Harrier: fix incorrect reference 2019-10-11 01:11:25 -04:00
mattsc
6dc199d4f8 ExpAI recruiting: make high_level_fraction parameter configurable
This also sets its default value to zero, in order to have consistent default behavior with versions from before this parameter was introduced.

It also provides a macro so that the ExpAI can be used with custom parameters in a scenario config, and adds high_level_fraction as an optional parameter to the Recruit Rushers Micro AI.
2019-10-08 12:45:59 -07:00
Steve Cotton
ed611f9438 Re-enable the editor help, and use it to document the keyboard modifiers (#4414)
... with the idea that these pages will either be improved or hidden again
before 1.16.0. I think the terrain-editor part will be good enough to stay in
1.16, but the scenario editor part needs to be updated by someone familiar with
it.

This puts the two tips that are currently in https://wiki.wesnoth.org/MapEditor
in to the in-game text.
2019-10-08 19:22:34 +02:00
Steve Cotton
b3ca78a57a Help for the ^Uf mushrooms terrains, including an editor-only hint
As the terrain is hidden in help, these hints can only be seen by
using the "Terrain Description" command on a ^Uf or ^Ufi mushroom
hex, and then switching to the overlay's own page.

A hint for players about how these mushrooms behave, and an editor-only
hint about replacing the ^Uf mushroom terrains with ^Tf.
2019-10-06 23:55:38 +02:00
Celtic Minstrel
d090f91bce Alter the special notes syntax in EffectWML so that the note macros can be reused in that context 2019-10-04 23:49:05 -04:00
doofus-01
7b56aba4ac adjusting bat cropping for help pages 2019-10-01 15:16:22 +02:00
Nils Kneuper
3bf54fd9b7 updated Chinese (Simplified) translation 2019-10-01 14:00:58 +02:00
josteph
dfe7347718 help: Break the new saveload and whylost topics into paragraphs for translation. 2019-09-30 22:49:33 +00:00
Steve Cotton
f6c48953f6
Overlay deprecated terrains in the editor with a magenta "D" (#4374)
The image is a fully opaque letter, but leaving many completely transparent
pixels to see the underlying hex. When replacing the old mushroom overlay, it's
helpful to be able to easily recognise the base terrain.
2019-09-27 22:55:11 +02:00
Severin Glöckner
dbcd95dad8 Units: convert special notes of new unit
[ci skip]
2019-09-23 19:51:12 +02:00
Sergey Lavrenyuk
9fd59ebcda Added translation prefix to female saurian unit types. 2019-09-18 18:43:10 +02:00
Elvish_Hunter
9982afb21f Ported expand-terrain-macros to Python 3 2019-09-16 21:59:07 +02:00
Severin Glöckner
c23364b213 indent special notes
[ci skip]
2019-09-16 04:01:07 +02:00
Severin Glöckner
4dd65a0c22 help: remove invalid link to illuminated terrain
[ci skip]
2019-09-16 03:52:09 +02:00
Severin Glöckner
09b00b94d6 remove text not needed anymore due to new [special_note] tag 2019-09-16 02:00:33 +02:00
josteph
1e221469d2 fixup! Help: Add screenshots to "income and upkeep"
Crop the images.
2019-09-14 13:39:18 +00:00
josteph
ea16e832ed Help: Add screenshots to "income and upkeep" 2019-09-14 13:30:38 +00:00
josteph
4912c5e934 help: Add a screenshot to the combat screen 2019-09-14 13:00:09 +00:00
josteph
0a0b70c5a9 Clarify descriptions of income and upkeep. 2019-09-14 07:58:12 +00:00
Celtic Minstrel
4dd7824353 Redo the special notes macros so that the new ones won't trigger deprecation warnings 2019-09-12 08:51:05 -04:00
Celtic Minstrel
c0210efb6d Move all core units to the new special notes system 2019-09-12 08:51:05 -04:00
Celtic Minstrel
15f431785a Add [special_note] tag in [unit_type] as a neater way of specifying special notes for the unit's description 2019-09-12 08:51:05 -04:00
Celtic Minstrel
d9cebd634e
Add new mushroom base terrain and make the overlay have mixed defense (#4299)
Thanks to @doofus-01 for the mycelium terrain graphics.
2019-09-11 09:07:15 -04:00
Earth-Cake
2d18598863 Gray Woods -> Grey Woods 2019-09-10 09:05:03 -04:00
Earth-Cake
ad92095be0 Add Wose Sapling file independent from Wose 2019-09-10 09:02:10 -04:00
Steve Cotton
1c123fb3fa Allow '1-infinity' in ranges, and tighten the schema's validation of ranges
Fixes #4253.

The schema's validation of ranges now rejects negative numbers, because the C++
code doesn't support them (both before and after this commit):
* utils::parse_range("-7") will return {0,0}, because std::stoi("") throws invalid_argument.
* src/map/location.cpp will parse it as -7, but that will never match an on-map coordinate
2019-08-29 22:28:22 +02:00
Charles Dang
3ee7e1a31c Updated credits
[ci skip]
2019-08-29 23:01:41 +11:00
gfgtdf
ef06634485 use overlay effect over [unit] overlays= 2019-08-25 22:29:49 +02:00
gfgtdf
aa07ec7915 add new macors to replace loyal trait. 2019-08-25 20:35:28 +02:00
gfgtdf
5cb93694c6 move loyal overlays to the loyal trait
since the recent changes to overlays= in particular 1a7724e5472,
e71033374c35 and b2cd1cf6c [unit]overlays= is no longer the
recommended way to add an overlay and the use of the
apply_to=overlay effect is reccomended instead, so adding it
to the [trait] is the most natural option here.

this in particular fixes #4058 . Also people simply forgetting the
IS_LOYAL macro was a not-so-uncommon cause of bugs.

In some cases people want to give the LOYAL trait without giving the
loyal overlays for those cases i added a optional OVERLAY parameter to
the {TRAIT_LOYAL} macro, also heroes should now use {TRAIT_LOYAL_HERO}
instead which uses the hero overlay. The IS_LOYAL and IS_HERO macros are
no longer needed in combination with those traits.
2019-08-25 20:36:35 +02:00
gfgtdf
5b73c34798 overlays=".." -> {IS_LOYAL} 2019-08-24 22:19:58 +02:00