TSG: fixed most of the wmllint warnings listed in #4494

This commit is contained in:
Elvish_Hunter 2019-11-15 22:12:03 +01:00
parent 5ee5920cbd
commit 84100070be
8 changed files with 11 additions and 5 deletions

View file

@ -16,11 +16,13 @@
icon="data/campaigns/The_South_Guard/images/deoran/horseman-commander-defend.png"
image="data/campaigns/The_South_Guard/images/campaign_image.png"
# wmllint: markcheck off
description= _ "A young knight, Deoran, is dispatched to the southern Wesnoth province of Kerlath to investigate the ravaged towns at the border. Thrust quickly into a hapless conflict against marauding bandits, Deoran must rally the remaining men of the derelict South Guard to defend his country.
" + <span color='gray'> + _ "This campaign is designed as an introduction to Wesnoth. The Civilian difficulty level is aimed at first-time players." + </span> + "
" + _"(Rookie level, 8 scenarios.)"
# wmllint: markcheck on
{CAMPAIGN_DIFFICULTY EASY "units/human-peasants/peasant.png~RC(magenta>red)" ( _ "Civilian") ( _ "Beginner")}
{CAMPAIGN_DIFFICULTY NORMAL "units/human-loyalists/spearman.png~RC(magenta>red)" ( _ "Recruit") ( _ "Easy")} {DEFAULT_DIFFICULTY}

View file

@ -108,6 +108,7 @@
[show_if]
[not]
[have_unit]
# wmllint: recognize Sir Gerrick
id=Sir Gerrick
[/have_unit]
[/not]

View file

@ -228,6 +228,7 @@
[objective]
[show_if]
[have_unit]
# wmllint: recognize Minister Hylas
id=Minister Hylas
[/have_unit]
[/show_if]

View file

@ -66,7 +66,7 @@
canrecruit=yes
[ai]
recruitment_pattern=fighter,scout,scout
recruitment_pattern=fighter,scout,archer
{QUANTITY aggression 0.3 0.4 0.5}
# In case a unit is there when they sitch to side 1 it would trigger
# the lich sighted event. Quick Footpads can see up to 9 hexes ahead.

View file

@ -69,10 +69,10 @@
canrecruit=yes
[ai]
#ifdef EASY
recruitment_pattern=fighter,scout,fighter
recruitment_pattern=fighter,scout,archer
#endif
#ifdef NORMAL
recruitment_pattern=fighter,scout,fighter
recruitment_pattern=fighter,scout,archer
#endif
#ifdef HARD
recruitment_pattern=fighter,scout,archer,fighter

View file

@ -462,6 +462,7 @@ _f, _f, Re, _f
[if]
[not]
[have_unit]
# wmllint: recognize Urza Afalas
id=Urza Afalas
[/have_unit]
[/not]

View file

@ -95,7 +95,7 @@
canrecruit=yes
[ai]
recruitment_pattern=fighter
recruitment_pattern=fighter, fighter, fighter, scout
aggression=0.95
[/ai]
#ifdef EASY

View file

@ -95,7 +95,7 @@
canrecruit=yes
[ai]
recruitment_pattern=scout,fighter,fighter,archer,scout,fighter,archer,mixed fighter
recruitment_pattern=scout,fighter,fighter,scout,fighter
aggression=1.0
caution=0.0
[goal]
@ -645,6 +645,7 @@
[/fire_event]
[message]
# wmllint: recognize Minister Romand
speaker=Minister Romand
message= _ "We heard your call for help and came as quickly as we could. We are at your service, Sir Deoran!"
[/message]