[scenario]
	id=19_A_Choice_Must_Be_Made
	#textdomain wesnoth-httt
	name= _ "A Choice Must Be Made"
	map_data="{campaigns/Heir_To_The_Throne/maps/A_Choice_Must_Be_Made}"
	{SCENARIO_MUSIC "gameplay01.ogg"}
	{TURNS 33 30 27}

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

	[story]
		[part]
		story= _ "The Scepter, initially dulled from decades of dust and debris, began to glow from the ruby's inner fire. Dwarvish runes on the golden handle started to gently pulsate blue. The heat and light were comforting in the pitch black."
		#background="maps/wesnoth-httt.jpg"
		show_title=no
		[/part]
		[part]
		story= _ "An early encounter with the Scepter in the hands of its new owners left several trolls as smoking husks. Sensing the awakening of a powerful magic, the dwellers of the deep quickly scattered and remained out of sight."
		#background="maps/wesnoth-httt.jpg"
		show_title=no
		[/part]
		[part]
		story= _ "Delfador led his young charges through lonely corridors and abandoned tunnels for four days. For the first time Konrad saw signs of fatigue in the old wizard's normally inscrutable face. Finally, fresh air greeted the party..."
		#background="maps/wesnoth-httt.jpg"
		show_title=no
		[/part]
	[/story]

	{BIGMAP_A_CHOICE_MUST_BE_MADE}

	[event]
	name=prestart
		[objectives]
		side=1
			[objective]
				description= _ "Defeat either of the enemy leaders"
				condition=win
			[/objective]
			[objective]
				description= _ "Death of Konrad"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Delfador"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Li'sar"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Kalenz"
				condition=lose
			[/objective]
		[/objectives]
	[/event]

	{campaigns/Heir_To_The_Throne/utils/deaths.cfg}

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

	[side]
	type=Orcish Warlord
	description=Urug-Telfar
	user_description= _ "Urug-Telfar"
	side=2
	canrecruit=1
	{GOLD 180 240 300}
		[ai]
		{ATTACK_DEPTH 5 5 6}
		[/ai]
#ifdef HARD
	recruit=Orcish Warrior,Orcish Assassin,Orcish Crossbowman,Goblin Knight
#else
	recruit=Orcish Warrior,Orcish Assassin,Orcish Crossbowman,Wolf Rider
#endif
	team_name=evil
	[/side]

	[side]
	type=Death Knight
	description=Unan-Ka'tall
	user_description= _ "Unan-Ka'tall"
	side=3
	controller=ai
	canrecruit=1
	{GOLD 190 250 310}

#ifdef EASY
	recruit=Skeleton,Revenant,Chocobone,Blood Bat,Ghost,Bone Shooter
#endif
#ifdef NORMAL
	recruit=Skeleton,Revenant,Chocobone,Blood Bat,Wraith,Bone Shooter,Dark Adept
#endif
#ifdef HARD
	recruit=Skeleton,Revenant,Chocobone,Wraith,Bone Shooter,Dark Adept
#endif

		[ai]
		{ATTACK_DEPTH 5 5 6}
#ifdef EASY
		recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
		recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
		recruitment_pattern=fighter,fighter,archer,scout
#endif
		[/ai]

		[ai]
		aggression=1.0
		village_value=0.0
		leader_value=50.0
		[/ai]
	team_name=evil
	[/side]

	[event]
	name=start

		[recall]
			description=Delfador
		[/recall]
		[recall]
			description=Li'sar
		[/recall]
		[recall]
			description=Kalenz
		[/recall]

		[if]
			[variable]
			name=scepter
			equals="Konrad"
			[/variable]

			#if Konrad got the Scepter
			[then]
				[message]
				description=Li'sar
				message= _ "Well, thank you for helping me get back to the surface, but now I must take what is mine!"
				[/message]
				[message]
				description=Konrad
				message= _ "You still want to fight me, do you, Princess?"
				[/message]
				[message]
				description=Li'sar
				message= _ "Did you think I was just playing around? I need to take my inheritance!"
				[/message]
				[message]
				description=Delfador
				message= _ "It is not so simple! We are back on the surface, but we are hardly safe. We barely know where we are. Look to the north... there are orcs about! Look to the south... there are the hordes of the undead!"
				[/message]
				[message]
				description=Konrad
				message= _ "Indeed there are. We will have to fight our way out. Are you with us, Princess, or against us?"
				[/message]
				[message]
				description=Li'sar
				message= _ "Perhaps it is in both our best interests for us to remain allies for a little longer... but I do want that Scepter, and someday I will have it!"
				[/message]
				[message]
				description=Konrad
				message= _ "Then let us devise a battle plan."
				[/message]

			[/then]

			#if Li'sar got the Scepter
			[else]
				[message]
				description=Li'sar
				message= _ "Well, we escaped."
				[/message]
				[message]
				description=Konrad
				message= _ "Yes, we did. Now I suppose you want to use the Scepter against me, Princess?"
				[/message]
				[message]
				description=Li'sar
				message= _ "No, I was thinking... I don't really want to kill you. I have what I came to get. So if you promise never to come south of the great river, I will spare your life."
				[/message]
				[message]
				description=Kalenz
				message= _ "With all due respect, Princess, it is once again we who will spare you, Scepter or no Scepter."
				[/message]
				[message]
				description=Li'sar
				message= _ "Such words in the presence of royalty! Do you want me to fry you, Elf?"
				[/message]
				[message]
				description=Delfador
				message= _ "Friends, peace! Though we are out of the tunnels, we are hardly safe. We are somewhere in the arid and wild north lands, that is all we know. Behold! To the north, orcs, to the south, dark hordes. We must remain at peace with one another, or else all perish!"
				[/message]
				[message]
				description=Li'sar
				message= _ "I suppose that helping each other for a while longer would be mutually beneficial. But what should we do? How should we defend ourselves?"
				[/message]
			[/else]
		[/if]

			[message]
			description=Kalenz
			message= _ "I can tell where we are. That is the river that is known as Longlier to men, called Arkan-thoria in my people's ancient tongue. The home of my people lies to the east."
			[/message]
			[message]
			description=Konrad
			message= _ "Then perhaps we should head East along the river, and seek refuge and rest there for a time?"
			[/message]
			[message]
			description=Kalenz
			message= _ "We should indeed seek refuge there, my lord, but not by going east along the river. Its name means 'The River of Bones'. Great and evil creatures lurk along its banks, its waters are not fit to drink, and it runs over the Cliffs of Thoria. It has been many centuries since any man or elf has passed over the Cliffs and survived. No, Prince, we must choose another way."
			[/message]
			[message]
			description=Konrad
			message= _ "But which way, Kalenz?"
			[/message]
			[message]
			description=Kalenz
			message= _ "We may take two paths which avoid the river. North, through the ancient home of my people, and then east to where they now live. Or we can go south, passing through the swamps, before turning east and then north. We would cross the river one time more if we chose that route, but I know a safe place for the crossing."
			[/message]
			[message]
			description=Konrad
			message= _ "And will you join us in seeking refuge with the North Elves, Princess?"
			[/message]
			[message]
			description=Li'sar
			message= _ "If the elves will promise me refuge and safe passage, then I will go."
			[/message]
			[message]
			description=Kalenz
			message= _ "That we will, Princess. Even though you are the daughter of the Queen, our enemy, we shall not harm you on this encounter, for you have helped us."
			[/message]
			[message]
			description=Delfador
			message= _ "So, we must choose. To the north past the orcs, where lie the ancient snow plains of the elves, or to the south, beyond the armies of the Walking Dead where the dreaded swamps await."
			[/message]
	[/event]

	[event]
	name=die
		[filter]
		description=Urug-Telfar
		[/filter]
		[endlevel]
		next_scenario=20a_Snow_Plains
		result=victory
		bonus=yes
		[/endlevel]
	[/event]

	[event]
	name=die
		[filter]
		description=Unan-Ka'tall
		[/filter]
		[endlevel]
		next_scenario=20b_Swamp_Of_Dread
		result=victory
		bonus=yes
		[/endlevel]
	[/event]
[/scenario]
