# Don't remove this scenario until the next release after 1.1.1 is made
[scenario]
	id=13_Mountain_Pass
	#textdomain wesnoth-httt
	name= _ "Mountain Pass"
	map_data="{campaigns/Heir_To_The_Throne/maps/Mountain_Pass}"
	{SCENARIO_MUSIC "wesnoth-1.ogg"}
	{TURNS 27 24 21}

	{DAWN}
	{MORNING}
	{AFTERNOON}
	{DUSK}
	{FIRST_WATCH}
	{SECOND_WATCH}

	next_scenario=14_The_Dwarven_Doors

	{BIGMAP_MOUNTAIN_PASS}

	[event]
	name=prestart
		[objectives]
		side=1
			[objective]
				description= _ "Move Konrad to the end of the road in the north-west"
				condition=win
			[/objective]
			[objective]
				description= _ "Defeat all enemies (Bonus)"
				condition=win
			[/objective]
			[objective]
				description= _ "Death of Konrad"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Delfador"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Kalenz"
				condition=lose
			[/objective]
		[/objectives]
	[/event]

	[side]
	type=Commander
	description=Konrad
	user_description= _ "Konrad"
	unrenamable=yes
	side=1
	canrecruit=1
	controller=human
	fog=yes
	[/side]

	[side]
	type=Great Mage
	description=Ro'Arthian
	user_description= _ "Ro'Arthian"
	side=2
	canrecruit=1
#ifdef EASY
	recruit=Troll
#endif
#ifdef NORMAL
	recruit=Troll,Troll Warrior
#endif
#ifdef HARD
	recruit=Troll Warrior
#endif
		[ai]
		{ATTACK_DEPTH 4 5 5}
		recruitment_pattern=fighter
		villages_per_scout=0
		[/ai]
		[ai]
		time_of_day=dusk,first_watch,second_watch
		turns=8-100
		caution=-1.0
		aggression=1.0
		grouping=no
		[/ai]

	{GOLD 160 220 280}
	{INCOME 4 8 12}

	team_name=mages
	[/side]

	[side]
	type=Arch Mage
	description=Ro'Sothian
	user_description= _ "Ro'Sothian"
	side=3
	x=26
	y=6
	canrecruit=1
#ifdef EASY
	recruit=Ogre,Mage,Troll
#else
	recruit=Ogre,Red Mage,Gryphon
#endif
		[ai]
		{ATTACK_DEPTH 4 5 5}
		recruitment_pattern=fighter,scout,scout,mixed fighter
		villages_per_scout=0
		village_value=0
		leader_value=10
		aggression=1.0
		[/ai]
	{GOLD 110 170 230}
	{INCOME 4 8 12}
	team_name=mages
	[/side]
	[event]
	name=start
		[recall]
		description=Delfador
		[/recall]
		[recall]
		description=Kalenz
		[/recall]
		[message]
		description=Delfador
		message= _ "Look, Konrad, before us lies the great road built by the dwarves!"
		[/message]
		[message]
		description=Konrad
		message= _ "But I can hardly see with all this mist around!"
		[/message]
		[message]
		description=Delfador
		message= _ "We must be wary... they say a wizard lives in these mountains, and he does not take kindly to visitors. It is he who causes the mists, so that travelers will lose their way and become prey for his creatures."
		[/message]
		[message]
		description=Konrad
		message= _ "His... creatures? We must keep to the road, men!"
		[/message]
		[message]
		description=Delfador
		message= _ "He would be a mighty foe, Konrad. It is said when the dwarves built this road, they disturbed the resting place of the ancient mage, and ever since, he and his brother have traveled the mountain, wreaking havoc on the dwarven villages."
		[/message]
		[message]
		description=Konrad
		message= _ "Let us then go carefully... but quickly, men!"
		[/message]
	[/event]

	[event]
	name=moveto
		[filter]
		x=6
		y=28
		side=1
		[/filter]

		{UNIT (Dwarvish Lord) (Stalrag) ( _ "Stalrag") 1 6 28}

		{UNIT (Dwarvish Berserker) (Gomdrsil) ( _ "Gomdrsil") 1 4 33}
		{UNIT (Dwarvish Berserker) (Duldurus) ( _ "Duldurus") 1 4 33}
#ifdef EASY
		{UNIT (Dwarvish Berserker) (Peldril) ( _ "Peldril") 1 4 33}
#endif
		[redraw]
		[/redraw]
		[message]
		description=Stalrag
		message= _ "Greetings, Travelers. I am Stalrag, chief of these villages! I warn you, a great wizard and his trolls are in the mountains and will surely attack. I will summon my tribesmen to aid you!"
		[/message]
		[message]
		description=Kalenz
		message= _ "If this is true, Konrad, perhaps we should take another route and go around the mountain, rather than trying to defeat these new foes."
		[/message]
		[message]
		description=Konrad
		message= _ "What do you say, Delfador?"
		[/message]
		[message]
		description=Delfador
		message= _ "No! We do not have the time to waste. Let us make for the top of the pass, wary of mountain trolls, and taking care lest we come too close to the water!"
		[/message]
		[message]
		description=Stalrag
		message= _ "The Shinsplitters will aid you in your quest. Look, they rise from the villages to the west, the mighty Shinsplitters! To battle!"
		[/message]

	[/event]
	[event]
	name=moveto
		[filter]
		description=Konrad
		x=1-5
		y=1-7
		[/filter]
		[endlevel]
		bonus=yes
		result=victory
		[/endlevel]
	[/event]

	[event]
	name=victory
		[message]
		description=Konrad
		message= _ "Well, we have defeated our foes. Let us hope the mountain does not defeat us!"
		[/message]
		[message]
		description=Stalrag
		message= _ "I wish you all the best on your journey, I must return to my village and take care of my family. Dwarven hospitality will welcome you wherever you go, friends!"
		[/message]
		[message]
		description=Delfador
		message= _ "Let us move onward!"
		[/message]
		[kill]
		type=Dwarvish Lord
		[/kill]
		[kill]
		type=Dwarvish Berserker
		[/kill]
	[/event]

	{campaigns/Heir_To_The_Throne/utils/deaths.cfg}

	[event]
	name=die
		[filter]
		description=Stalrag
		[/filter]
		[message]
		description=Stalrag
		message= _ "Aaargh! I am done for! Fight on without me, Brethren!"
		[/message]
	[/event]

[/scenario]
