EI S6: code cleanup

This commit is contained in:
Charles Dang 2015-04-03 04:26:03 +11:00
parent 6595778aa0
commit 43f822bd45

View file

@ -12,8 +12,6 @@
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC knolls.ogg}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
{EI_TRACK {JOURNEY_06_NEW} }
# wmllint: validate-off
@ -22,7 +20,7 @@
controller=human
{GOLD 155 140 120}
team_name=good
user_team_name=_"Wesnothians"
user_team_name= _ "Wesnothians"
{FLAG_VARIANT loyalist}
# wmllint: recognize Gweddry
@ -30,21 +28,21 @@
[/side]
# wmllint: validate-on
{STARTING_VILLAGES 1 5}
[side]
type=Orcish Warlord
id=Wak-Rano
name= _ "Wak-Rano"
side=2
canrecruit=yes
controller=ai
recruit=Orcish Warrior,Orcish Grunt,Troll Whelp,Orcish Assassin,Orcish Crossbowman,Orcish Archer,Wolf Rider
{GOLD 65 85 110}
{INCOME 5 8 10}
team_name=evil
user_team_name=_"Evil"
user_team_name= _ "Evil"
{FLAG_VARIANT6 ragged}
type=Orcish Warlord
id=Wak-Rano
name= _ "Wak-Rano"
canrecruit=yes
[ai]
aggression=0.8
grouping=offensive
@ -59,23 +57,21 @@
[/ai]
[/side]
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Orcish Warrior) 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Orcish Crossbowman) 1}
{STARTING_VILLAGES 2 5}
[side]
type=Dark Sorcerer
id=Mal-Arnai
name= _ "Mal-Arnai"
side=3
canrecruit=yes
controller=ai
recruit=Vampire Bat,Bone Knight,Skeleton Rider,Revenant,Skeleton,Skeleton Archer
{GOLD 85 110 140}
{INCOME 5 8 10}
team_name=evil
user_team_name=_"Evil"
user_team_name= _ "Evil"
{FLAG_VARIANT undead}
type=Dark Sorcerer
id=Mal-Arnai
name= _ "Mal-Arnai"
canrecruit=yes
[ai]
recruitment_pattern=scout,scout,fighter,fighter,archer
aggression=0.7
@ -91,10 +87,16 @@
[/ai]
[/side]
{STARTING_VILLAGES 1 5}
{STARTING_VILLAGES 2 5}
{STARTING_VILLAGES 3 5}
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Orcish Warrior) 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Orcish Crossbowman) 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Revenant) 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Bone Knight) 1}
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 (Skeleton Rider) 2} # To force the AI to also use bats
{STARTING_VILLAGES 3 5}
[event]
name=prestart
@ -125,44 +127,54 @@
carryover_percentage=40
[/gold_carryover]
[/objectives]
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
[/event]
[event]
name=start
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
[message]
speaker=Gweddry
message= _ "It looks like the road splits here. Which way shall we go?"
[/message]
[message]
speaker=Owaec
message= _ "Were in the land of the Clans now; I know it well. The road north leads directly to the Great River; across it lies the orcs home country in the Northlands. The westward road will keep us inside the realm of Wesnoth, for a time, before we reach another river crossing north of Glyns Forest. If we travel west we will not have to fight orcs immediately."
[/message]
[message]
speaker=Dacyn
message= _ "We should probably go north to the orcish lands as quickly as possible. The longer we tarry in Wesnoth, the more undead we will have to face."
[/message]
[message]
speaker=Owaec
message= _ "The orcs are more powerful than you suspect. I doubt the few undead in Wesnoth can rival the might of the orcish homeland."
[/message]
[message]
speaker=Gweddry
message= _ "Either way we will have to fight. Look, the orcs and undead block our path ahead!"
[/message]
[message]
speaker=Mal-Arnai
message= _ "Well, orc, we can either continue this fight, or we can crush the humans and battle later. How shall it be?"
[/message]
[message]
speaker=Wak-Rano
message= _ "Hmm... I know. We will make a pact to destroy these men, and continue our fight later. " + {ASIDE _"Perhaps he will die, and I will win our battle without fighting."}
[/message]
[message]
speaker=Mal-Arnai
message= _ "Very well, we are allies, for now. " + {ASIDE _"This foolish orc will surely perish."}
@ -174,6 +186,7 @@
[filter]
id=Wak-Rano
[/filter]
[message]
speaker=Wak-Rano
message= _ "Arrgh! I have failed to defend the northern homeland!"
@ -194,6 +207,7 @@
[filter]
id=Mal-Arnai
[/filter]
[message]
speaker=Mal-Arnai
message= _ "I was supposed to kill you all! I have failed."
@ -210,4 +224,6 @@
[/event]
{WESNOTH_DEFEAT}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
[/scenario]