#textdomain wesnoth-nr
[scenario]
	id=introductions
	name= _ "Introductions"
	{SCENARIO_MUSIC "revelation.ogg"}

	map_data="{campaigns/Northern_Rebirth/maps/introductions.map}"

	{UNDERGROUND}

	{TURNS4 24 21 18 15}

	victory_when_enemies_defeated=no
	next_scenario=stolen_gold
	{PLACE_IMAGE scenery/signpost.png 1 1}

	[side]
	type=Lieutenant
	description=Tallin
	canrecruit=1
	side=1
	controller=human
	recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Gryphon,Dwarvish Ulfserker,Footpad
	team_name=mob
	shroud=yes
	[/side]

	[side]
	no_leader=yes
	type=Troll Warrior
	description=Ung
	side=2
	[/side]

	[event]
		name=prestart

		[set_variable]
	name=keep
	value=1
	[/set_variable]
	[set_variable]
	name=keep.x
	value=8
	[/set_variable]
	[set_variable]
	name=keep.y
	value=15
	[/set_variable]


		[terrain]
		x=8
		y=15
		letter=Uu
		[/terrain]

		[unit]
		type=Troll Warrior
		description=Ung
		side=2
		x=9
		y=4
		[/unit]

		{TROLL_RAIDER 9 4}
		{TROLL_RAIDER 9 4}
		{TROLL_RAIDER 9 4}
		{TROLL_RAIDER 9 4}
		{TROLL_JUNIOR 9 4}
		{TROLL_RAIDER 9 4}
		{TROLL_JUNIOR 9 4}
		{TROLL_RAIDER 9 4}
		{TROLL_JUNIOR 9 4}
		{TROLL_JUNIOR 9 4}
		{TROLL_JUNIOR 9 4}
		{TROLL_JUNIOR 9 4}
		{RANGED_RAIDER 9 4}
		{RANGED_RAIDER 9 4}
		{RANGED_RAIDER 9 4}
		{RANGED_RAIDER 9 4}
		{RANGED_RAIDER 9 4}
		{RANGED_RAIDER 9 4}

		{SUPPORTER}

		[recall]
		role=Supporter
		[/recall]

		[recall]
		description=Abhai
		[/recall]

		[recall]
			description=Camerin
		[/recall]

		[recall]
		description=Father Marcus
		[/recall]

		[recall]
		description=Sister Theta
		[/recall]

		[recall]
		description=Krash
		[/recall]

		[recall]
		description=Elenia
		[/recall]

		[recall]
		description=Anita
		[/recall]

		[recall]
		description=Stalrag
		[/recall]

		[recall]
		description=Ro'Arthian
		[/recall]

		[recall]
		description=Ro'Sothian
		[/recall]
	[/event]

	[event]
		name=start

		[message]
		speaker=narrator
		message= _ "After rescuing the princess, Tallin and his allies quickly withdrew into the caves."
		[/message]

		[message]
		description=Anita
		message= _ "Now that we are well shut of that dungeon, do you mind telling me who you are?"
		[/message]

		[if]
			[have_unit]
			description=Elenia
			[/have_unit]
		[then]

		[set_variable]
		name=all_is_well
		value=1
		[/set_variable]

	[/then]

	[/if]


	[if]
		[variable]
		name=all_is_well
		numerical_equals=1
		[/variable]
	[then]
		[message]
		description=Elenia
		message= _ "Sister! Don't you recognize me?"
		[/message]

		[message]
		description=Anita
		message= _ "Gods of Light! Elenia! It's you! It has been years! What in the world happened to you? We all had thought you dead!"
		[/message]

		[message]
		description=Elenia
		message= _ "Yes, I thought you would think that. What actually happened was that I was captured by that disgusting old bone-bag of a lich."
		[/message]

		[message]
		description=Anita
		message= _ "You mean Malifor?"
		[/message]

		[message]
		description=Elenia
		message= _ "None other. I was his prisoner for many years until these brave people rescued me. It being far too dangerous to travel back to the elvish forests by myself with all these orcs about, and in consideration of the debt I owe to them, I have been with them ever since."
		[/message]

		[message]
		description=Anita
		message= _ "Really, and who are these people?"
		[/message]

		[message]
		description=Elenia
		message= _ "Here we have our leader and hero, Tallin."
		[/message]

		[message]
		description=Tallin
		message= _ " *rolls eyes*"
		[/message]

		[message]
		description=Elenia
		message= _ "He is the one who lead his people in revolt against the orcs armed with nothing but pitchforks."
		[/message]

		[message]
		description=Anita
		message= _ "Wow!"
		[/message]

		[message]
		description=Elenia
		message= _ "Then they scrounged up bows and a cudgels from the dead orcs, and marched into the caves and broke the Dwarves out from their encirclement by the undead and trolls."
		[/message]

		[message]
		description=Elenia
		message= _ "Then Tallin and his ragtag band hunted down Malifor and reduced him to dust. Now Tallin is building an alliance of humans, dwarves, dead mages and whatever critters he can find to crush the orcs."
		[/message]

		[message]
		description=Anita
		message= _ " *eyes shining* You're right, Elenia, Tallin is truly a hero."
		[/message]

		[message]
		description=Tallin
		message= _ "Not at all, Princess. I am no more than a humble peasant trying to free my people from enslavement."
		[/message]

		[message]
		description=Anita
		message= _ "And a modest one too!"
		[/message]

		[message]
		description=Sister Theta
		message= _ "*giggle*"
		[/message]

		[message]
		description=Anita
		message= _ "Tallin, not only have you freed me and my sister from captivity, but you have defeated Malifor, who has long been a scourge to my people. By defeating him, you have aided the Northern Elves more then you can imagine."
		[/message]

		[message]
		description=Tallin
		message= _ "Ahh, it was nothing, princess."
		[/message]

		[message]
		description=Anita
		message= _ "No, it was far from nothing, Tallin. The Northern Elves will always be in your debt. Tell me, what can we do to repay you?"
		[/message]

		[message]
		description=Tallin
		message= _ "Princess, as Elenia has said, we are currently locked in a death-struggle with the orcs led by a warloard named Rakshas. You could help us most by joining us in our quest to crush this menace once and for all."
		[/message]

		[message]
		description=Anita
		message= _ "That could hardly count as replayment of our debt to you, Tallin. This Rakshas fellow is an enemy to every Northern Elf as well. Why, it can't have been more then a few months ago that the orcs attacked our forests and took me prisoner. Helping you defeat them would be serving our own interests as much as yours."
		[/message]

		[message]
		description=Tallin
		message= _ "Princess, we are not seeking to do business here: 'I do this for you and you do this for me.' No, we seek to build everlasting friendships which will forever ensure the peace and prosperity of these northlands. Therefore, let there be no talk of debts and repayments between us."
		[/message]

		[message]
		description=Anita
		message= _ "Well and nobly spoken, Tallin. Very well, I shall join you in your quest to crush this orcish menace. Let gryphons immediately be sent to our people; I shall use all the influence I have, or can induce our father to use, to raise elvish troops for the battles ahead."
		[/message]

		[message]
		description=Elenia
		message= _ "Er, Anita...there is a large elvish force moving this direction. By now they can be more then two days' march from here. It seems that our father sent them to either free you or bargain for your release."
		[/message]

		[message]
		description=Anita
		message= _ "Why did you not soeak of this before? Let us immediately send out them gryphon with my personal seal telling them that I shall be taking command of the force.  Tell them to come straight to Knalga and meet me there."
		[/message]

		[message]
		description=Tallin
		message= _ "Sounds good...I mean, let it be so."
		[/message]

	[/then]
	[/if]

	[if]

		[variable]
		name=all_is_well
		numerical_equals=0
		[/variable]

	[then]
		[message]
		description=Tallin
		message= _ "Not at all. I am Tallin, from the human town of Dwarven Doors. Together with the Dwarvish Lord Hamel and the mage Ro'Arthian and his brother, we are attempting to restore peace and freedom to Knalga.."
		[/message]

		[message]
		description=Anita
		message= _ "Uh huh. Good for you."
		[/message]

		[message]
		description=Tallin
		message= _ "The only problem - or the major one, anyway - is these blasted orcs. They all have united under the leadership of this guy called Rakshas and are determined to make Knalga into an orcish stronghold - enslaving or killing any humans, dwarves or anything else along the way."
		[/message]

		[message]
		description=Anita
		message= _ "So what does this have to do with me?"
		[/message]

		[message]
		description=Tallin
		message= _ "There is a large elvish force not far from here who - we believe anyway - has been sent to free you. We were hoping if we could secure your release you guys would help us crush the orcish host."
		[/message]

		[message]
		description=Anita
		message= _ "Pff, foolish human. What in the world gave you that idea."
		[/message]

		[message]
		description=Ro'Arthian
		message= _ "Ungrateful minx! I'm sorely tempted to break your neck!"
		[/message]

		[message]
		description=Anita
		message= _ "Make one move towards me, lich, and you'll find yourself dangling off the end of a vine."
		[/message]

		[message]
		description=Stalrag
		message= _ "Leave her alone, lich! Rescuing her was a fool's quest to begin with and attacking her won't make the situation better. Especially an attack from an incompetent like you!"
		[/message]

		[message]
		description=Father Marcus
		message= _ "Peace! Peace!"
		[/message]

		[message]
		description=Tallin
		message= _ "Well, what about the orcs then, princess? Don't you wish to be rid of them?"
		[/message]

		[message]
		description=Anita
		message= _ "How we deal with the orcs is none of your concern!"
		[/message]

		[if]
			[have_unit]
			description=Camerin
			[/have_unit]
		[then]
			[message]
			description=Camerin
			message= _ "What a little priss. She makes me want to fry her!"
			[/message]

			[message]
			description=Anita
			message= _ "Mind your betters, mage!"
			[/message]

			[message]
			description=Camerin
			message= _ "Mind your tongue, elf!"
			[/message]
		[/then]
		[/if]

		[message]
		description=Father Marcus
		message= _ "Frankly, princess, I am disappointed. I was always under the impression that elves were an honorable lot who took their debts seriously."
		[/message]

		[message]
		description=Anita
		message= _ "Who said that I wasn't going to repay you? When I get back to the elves, we will give you five thousand gold for your trouble."
		[/message]

		[message]
		role=Supporter
		message= _ "We already have a hoard of gold! We don't need more!"
		[/message]

		[message]
		description=Anita
		message= _ "That is your concern, not mine, human."
		[/message]

		[message]
		description=Tallin
		message= _ " *sigh* Oh well. It isn't as if we weren't expecting this."
		[/message]

		[message]
		description=Ro'Arthian
		message= _ "See, I told you so!"
		[/message]

		[message]
		description=Tallin
		message= _ "I know, you were right. I am sorry, Ro'Arthian. I should have listened to you."
		[/message]

		[message]
		description=Tallin
		message= _ "Well, it's pointless to linger here. Let's get back to Knalga."
		[/message]

	[/then]
	[/if]

	[objectives]
		side=1
			[objective]
				description= _ "Move Tallin to the Signpost in the north"
				condition=win
			[/objective]
			[objective]
				description= _ "Death of Tallin"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Ro'Arthian"
				condition=lose
			[/objective]
			[objective]
				description= _ "Death of Ro'Sothian"
				condition=lose
			[/objective]


			[objective]
				description= _ "Turns run out"
				condition=lose
			[/objective]
		[/objectives]
	[/event]


	{./utils/herodeaths.cfg}


	[event]
		name=moveto
		[filter]
		x=1
		y=1
		description=Tallin
		[/filter]

		[message]
		description=Tallin
		message= _ "OK, I can see the dwarvish defenses just ahead. Lets go!"
		[/message]


		[endlevel]
		result=victory
		bonus=yes

		[if]
		[variable]
		name=Anita_is_dead
		numerical_equals=1
		[/variable]

		[then]

		[kill]
		description=Anita
		[/kill]

		[/then]

		[/if]

		[if]
		[variable]
		name=all_is_well
		numerical_equals=0
		[/variable]

		[then]

		[set_variable]
		name=Elenia_is_dead
		value=1
		[/set_variable]

		[kill]
		description=Anita
		[/kill]

		[/then]

		[/if]

		{CLEAR_VARIABLE keep}

		[/endlevel]
	[/event]

	[event]
		name=sighted
		[filter]
		type=Troll,Troll Whelp,Troll Warrior
		[/filter]
		[message]
		speaker=second_unit
		message= _ "Hey look, it's a troll!"
		[/message]
		[message]
		description=Tallin
		message= _ "A troll? What in the world are trolls doing this close to Knalga? Something is up, men, let's hurry up and get back."
		[/message]
	[/event]

[/scenario]
