[[Campaign machinery tweaks]]
* Sorted campaigns using the rank parameter * Moved campaign declarations into several files (will benefit to translation domains)
This commit is contained in:
parent
a60a87a690
commit
55f40bf21f
6 changed files with 75 additions and 51 deletions
14
data/campaigns/Eastern_Invasion.cfg
Normal file
14
data/campaigns/Eastern_Invasion.cfg
Normal file
|
@ -0,0 +1,14 @@
|
|||
[campaign]
|
||||
id=eastern_invasion
|
||||
rank=40
|
||||
name= _ "The Eastern Invasion"
|
||||
define=CAMPAIGN_EASTERN_INVASION
|
||||
first_scenario=The_Outpost
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&human-spearman.png,Spearman,(easiest);*&human-swordman.png,Swordsman;&human-royalguard.png,Royal Guard,(hardest)"
|
||||
icon=human-general.png
|
||||
[/campaign]
|
||||
|
||||
# ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
|
||||
{scenarios/The_Rise_of_Wesnoth}
|
||||
# endif
|
16
data/campaigns/Heir_To_The_Throne.cfg
Normal file
16
data/campaigns/Heir_To_The_Throne.cfg
Normal file
|
@ -0,0 +1,16 @@
|
|||
[campaign]
|
||||
id=heir_throne
|
||||
rank=10
|
||||
icon=konrad-commander.png
|
||||
name= _ "Heir to the Throne"
|
||||
define=CAMPAIGN_HEIR_TO_THE_THRONE
|
||||
first_scenario=The_Elves_Besieged
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&elvish-fighter.png,Fighter,(easiest);*&elvish-hero.png,Hero;&elvish-champion.png,Champion,(hardest)"
|
||||
[/campaign]
|
||||
|
||||
# ifdef CAMPAIGN_HEIR_TO_THE_THRONE
|
||||
{scenarios/Heir_To_The_Throne/bigmap.cfg}
|
||||
{scenarios/Heir_To_The_Throne}
|
||||
# endif
|
||||
|
15
data/campaigns/Son_Of_The_Black_Eye.cfg
Normal file
15
data/campaigns/Son_Of_The_Black_Eye.cfg
Normal file
|
@ -0,0 +1,15 @@
|
|||
[campaign]
|
||||
id=son_of_the_black_eye
|
||||
rank=30
|
||||
name= _ "Son of the Black Eye (chapter I)"
|
||||
define=CAMPAIGN_SON_OF_THE_BLACK_EYE
|
||||
first_scenario=End_Of_Peace
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&orcish-grunt.png,Grunt,(easiest);*&orcish-warrior.png,Warrior;&orcish-warlord.png,Warlord,(hardest)"
|
||||
icon=orcish-ruler.png
|
||||
[/campaign]
|
||||
|
||||
# ifdef CAMPAIGN_SON_OF_THE_BLACK_EYE
|
||||
{scenarios/Son_Of_The_Black_Eye}
|
||||
# endif
|
||||
|
15
data/campaigns/The_Dark_Hordes.cfg
Normal file
15
data/campaigns/The_Dark_Hordes.cfg
Normal file
|
@ -0,0 +1,15 @@
|
|||
[campaign]
|
||||
id=dark_hordes
|
||||
rank=20
|
||||
icon=undead-initiate.png
|
||||
name= _ "The Dark Hordes"
|
||||
define=CAMPAIGN_THE_DARK_HORDES
|
||||
first_scenario=A_New_Chance
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&undead-initiate.png,Apprentice,(easiest);*&undead-necromancer.png,Master;&undead-lich.png,Dark Lord,(hardest)"
|
||||
[/campaign]
|
||||
|
||||
# ifdef CAMPAIGN_THE_DARK_HORDES
|
||||
{scenarios/The_Dark_Hordes}
|
||||
# endif
|
||||
|
15
data/campaigns/The_Rise_of_Wesnoth.cfg
Normal file
15
data/campaigns/The_Rise_of_Wesnoth.cfg
Normal file
|
@ -0,0 +1,15 @@
|
|||
[campaign]
|
||||
id=The_Rise_of_Wesnoth
|
||||
rank=50
|
||||
name= _ "The Rise of Wesnoth"
|
||||
define=CAMPAIGN_THE_RISE_OF_WESNOTH
|
||||
first_scenario=A_Summer_of_Storms
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&noble-fighter.png,Fighter,(easiest);*&noble-commander.png,Commander;&noble-lord.png,Lord,(hardest)"
|
||||
icon=noble-lord.png
|
||||
[/campaign]
|
||||
|
||||
# ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
|
||||
{scenarios/The_Rise_of_Wesnoth}
|
||||
# endif
|
||||
|
|
@ -251,57 +251,6 @@
|
|||
shift=yes
|
||||
[/hotkey]
|
||||
|
||||
[campaign]
|
||||
id=heir_throne
|
||||
icon=konrad-commander.png
|
||||
name= _ "Heir to the Throne"
|
||||
define=CAMPAIGN_HEIR_TO_THE_THRONE
|
||||
first_scenario=The_Elves_Besieged
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&elvish-fighter.png,Fighter,(easiest);*&elvish-hero.png,Hero;&elvish-champion.png,Champion,(hardest)"
|
||||
[/campaign]
|
||||
|
||||
[campaign]
|
||||
id=dark_hordes
|
||||
icon=undead-initiate.png
|
||||
name= _ "The Dark Hordes"
|
||||
define=CAMPAIGN_THE_DARK_HORDES
|
||||
first_scenario=A_New_Chance
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&undead-initiate.png,Apprentice,(easiest);*&undead-necromancer.png,Master;&undead-lich.png,Dark Lord,(hardest)"
|
||||
[/campaign]
|
||||
|
||||
[campaign]
|
||||
id=son_of_the_black_eye
|
||||
name= _ "Son of the Black Eye (chapter I)"
|
||||
define=CAMPAIGN_SON_OF_THE_BLACK_EYE
|
||||
first_scenario=End_Of_Peace
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&orcish-grunt.png,Grunt,(easiest);*&orcish-warrior.png,Warrior;&orcish-warlord.png,Warlord,(hardest)"
|
||||
icon=orcish-ruler.png
|
||||
[/campaign]
|
||||
|
||||
[campaign]
|
||||
id=eastern_invasion
|
||||
name= _ "The Eastern Invasion"
|
||||
define=CAMPAIGN_EASTERN_INVASION
|
||||
first_scenario=The_Outpost
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&human-spearman.png,Spearman,(easiest);*&human-swordman.png,Swordsman;&human-royalguard.png,Royal Guard,(hardest)"
|
||||
icon=human-general.png
|
||||
[/campaign]
|
||||
|
||||
[campaign]
|
||||
id=The_Rise_of_Wesnoth
|
||||
name= _ "The Rise of Wesnoth"
|
||||
define=CAMPAIGN_THE_RISE_OF_WESNOTH
|
||||
first_scenario=A_Summer_of_Storms
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions= _ "&noble-fighter.png,Fighter,(easiest);*&noble-commander.png,Commander;&noble-lord.png,Lord,(hardest)"
|
||||
icon=noble-lord.png
|
||||
[/campaign]
|
||||
|
||||
|
||||
[+units]
|
||||
{units}
|
||||
{~units}
|
||||
|
|
Loading…
Add table
Reference in a new issue