#textdomain wesnoth-nr
[scenario]
	id=epilogue
	name= _ "Epilogue"

	[story]
		[part]
		story= _ "The dead and wounded being cared for, and after the party had wound down, everyone gathered in the conquered castle to decide on their course of action."
		[/part]
	

	[/story]


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

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

	next_scenario=null
	music=elf-land.ogg


	victory_when_enemies_defeated=no
	turns=3


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

	[side]
	type=Orcish Sovereign
	description=Rakshas
	canrecruit=1
	side=2
	no_leader=yes
	recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
	# XXX: Is the newbie amount correct?
	{GOLD4 3000 1500 2000 2500}
	{INCOME4 60 30 40 50}

	team_name=orcs
	[/side]

	[side]
	type=Orcish Warlord
	description=Ha'Tuil
	canrecruit=1
	no_leader=yes
	side=3
	recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
	# XXX: Is the newbie amount correct?
	{GOLD4 3000 1500 2000 2500}
	{INCOME4 60 30 40 50}
	team_name=orcs
	[/side]

	[side]
	type=Orcish Warlord
	description=Ar'Muff
	canrecruit=1
	side=4
	no_leader=yes
	recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
	# XXX: Is the newbie amount correct?
	{GOLD4 3000 1500 2000 2500}
	{INCOME4 60 30 40 50}
	team_name=orcs
	[/side]

	[side]
	type=Orcish Warlord
	description=Calter
	canrecruit=1
	side=5
	no_leader=yes
	recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
	# XXX: Is the newbie amount correct?
	{GOLD4 3000 1500 2000 2500}
	{INCOME4 60 30 40 50}
	team_name=orcs
	[/side]

	[side]
	type=Orcish Warlord
	description=Halter
	canrecruit=1
	side=6
	no_leader=yes
	recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
	# XXX: Is the newbie amount correct?
	{GOLD4 3000 1500 2000 2500}
	{INCOME4 60 30 40 50}
	team_name=orcs
	[/side]


		[side]
		type=Drake Flare 
		description=Krash
		canrecruit=1
		side=7
		# XXX: Is the newbie amount correct?
		{GOLD4 150 300 250 200}
		recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher 
		team_name=mob
		controller=human
		[/side]

	[side]
	type=Dwarvish Lord
	description=Hamel
	profile=portraits/Hamel.jpg
	canrecruit=1
	side=8
	# XXX: Is the newbie amount correct?
	{GOLD4 1300 2000 1800 1500}
	recruit=Dwarvish Steelclad,Dwarvish Thunderguard
	team_name=mob
	[/side]



	[side]
		type=Elvish Shaman
		description=Teri

		canrecruit=1
		side=9
		# XXX: Is the newbie amount correct?
		{GOLD4 300 600 500 400}
		recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Rider,Elvish Druid,Elvish Sorceress 
		team_name=mob
		controller=human
		[/side]




	[event]
	name=prestart

	
	[if]

	[variable]
	name=bye_Krash
	numerical_equals=1
	[/variable]

	[then]

	[kill]
	side=7
	[/kill]

	[store_unit]
	
	[filter]
	description=Ro'Arthian
	[/filter]
	
	variable=Arthian_in_command
	kill=yes
	[/store_unit]

	[unit]
	type=Ancient Lich
	side=7
	description=Ro'Arthian
	x=24
	y=3
	canrecruit=1
	experience=$Arthian_in_command.experience
	hitpoints=$Arthian_in_command.hitpoints
	[/unit]

	{CLEAR_VARIABLE Arthian_in_command}

	[disallow_recruit]
			side=7
			type=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
		[/disallow_recruit]

		[allow_recruit]
		side=7
		type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
		[/allow_recruit]
	

	[/then]

	[/if]
		


	{SUPPORTER}
			[recall]
			role=Supporter
			[/recall]
			[recall]
			description=Alfred
			[/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'Sothian
	[/recall]

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

	[/event]

	[event]
	name=start

	[message]
	description=Tallin
	message= _ "So, Rakshas has been defeated and all the armies that he had gathered have been crushed. This relieves a blight on our land - but if we do not address the causes of the blight, we could be in for trouble later."

	[/message]

	[message]
	description=Anita
	message= _ "How is that, Tallin?"
	[/message]

	[message]
	description=Tallin
	message= _ "Rakshas was but a symptom. The ill is the nature of the orcs themselves."
	[/message]

	[message]
	description=Tallin
	message= _ "The orcs are exceedingly numerous and warlike. While they squabble among themselves, their warlike nature turns upon itself and they are no threat; but when a strong warlord like Rakshas arises among them, their battle-lust becomes a plague upon their neighbors."
	[/message]


	[if]
	[variable]
	name=all_is_well
	numerical_equals=1
	[/variable]
	[then]

	[message]
	description=Anita
	message= _ "Our challenge is to ensure that the orcs do not unite under one strong, warlike leader in the future."
	[/message]

	[/then]

	[else]

	[message]
	role=Supporter
	
	message= _ "Our challenge is to ensure that the orcs do not unite under one strong, warlike leader in the future."
	[/message]

	[/else]

	[/if]

	[message]
	description=Tallin
	message= _ "Exactly."
	[/message]

	[message]
	description=Hamel
	message= _ "Aye.  And we dinna just want to keep the orcs from ruling the Northlands; we want to make the Northlands a safe place for all the kindred races to trade, travel and live in peace. We must also ensure that no isolated bands of orcs, trolls, ogres or any other creatures will be roving around praying on innocent people."
	[/message]

	[message]
	description=Tallin
	message= _ "A worthy and difficult task. Does anybody have any ideas?" 
	[/message]

	[message]
	description=Father Marcus
	message= _ "I do have a suggestion."
	[/message]

	[message]
	description=Father Marcus
	message= _ "The orcs are too hardy and fast-breeding to be exterminated, even if we could bring ourselves to stomach an attempt at slaughtering them all. Therefore, we must find a way to make them part of our solution."
	[/message]

	[message]
	description=Father Marcus
	message= _ "I propose is the creation of a neutral council of warders, composed of humans, dwarves, elves, drakes, trolls or anyone else who wishes to join, no mater what race they come from - even orcs."
	[/message]

	[message]
	description=Father Marcus
	message= _ "This body would not claim sovereignty over any peoples or lands, but exist only to suppress warfare and raiding in the lands south and east of the Great Ocean, north of Wesnoth and west of the Elvish Forests." 
	[/message]

	[message]
	description=Father Marcus
	message= _ "The first task of the warders would be to go to go to each orcish tribe and make a treaty with them that they will not be attacked if they refrain from attacking others."
	[/message]

	[message]
	description=Father Marcus
	message= _ "The orcs have just experienced a crushing defeat; it shouldn't be too hard to get them to agree. In the future, if they should renege on their treaties, and threaten the peace and prosperity of the North, then the army maintained by the warders would crush them."
	[/message]

	[message]
	description=Father Marcus
	message= _ "That is the basic outline of my proposal. Shall the Council of Warders declare itself?"
	[/message]

	[message]
	speaker=narrator
	message= _ "Hearing the words of the wise mage, the whole assembly erupted with cries of approval."
	[/message]

	[message]
	description=Stalrag
	message= _ "Fitting!"
	[/message]

	[message]
	role=Supporter
	
	message= _ "Great!"
	[/message]

	[message]
	description=Elenia
	message= _ "Smart!"
	[/message]

	[message]
	description=Camerin
	message= _ "Sounds like fun."
	[/message]

	[message]
	speaker=narrator
	message= _ "Rising to his feet, Hamel raised his hands and waited for the clamor to die down."
	[/message]

	[message]
	description=Hamel
	message= _ "Over time, Tallin has proved himself to be a wise, courageous and capable leader. He is respected by humans, elves and dwarves alike. I therefore propose that Tallin be made the first head of the Council of Warders."
	[/message]

	[message]
	speaker=narrator
	message= _ "Once again, all assembled erupted into thunderous approval. The tumult lasted for some time and at long last Tallin rose to his feet and held up his hands for quiet."
	[/message]

	[message]
	description=Tallin
	message= _ "I thank everyone for the love and honor bestowed upon me. In honor of that love I accept this responsibility." 
	[/message]

	[message]
	description=Tallin
	message= _ "No one leader will make the Warders a success; we will need the help of all of you."
	[/message]

	[message]
	description=Tallin
	message= _ "Father Marcus, this whole plan is your idea. Would you and your wife be willing to stand by my side and support me?"
	[/message]

	[message]
	description=Father Marcus
	message= _ "Gladly, Tallin.  We will stand with the Warders till the end of days if need be."
	[/message]

	[if]

	[have_unit]
	description=Stalrag
	[/have_unit]

	[then]
	
	[message]
	description=Tallin
	message= _ "Stalrag?"
	[/message]


	[message]
	description=Stalrag
	message= _ "I am yours to command, my lord Tallin."
	[/message]

	[message]
	description=Tallin
	message= _ " 'Lord' Oh no!"
	[/message]

	[message]
	description=Sister Theta
	message= _ "*giggle* Better get used to it."
	[/message]

	[message]
	description=Stalrag
	message= _ "You have led myself and the Shinsplitters wisely.  We will uphold the Council of Warders."
	[/message]

	[/then]

	[/if]

	[if]

	[have_unit]
	description=Camerin
	[/have_unit]

	[then]
	[message]
	description=Tallin
	message= _ "Camerin?"
	[/message]

	[message]
	description=Camerin
	message= _ "Heck yeah! It has been a total blast being with you. I wouldn't even think of leaving now!" 
	[/message]
	
	[/then]

	[/if]


	[if]

	[have_unit]
	description=Elenia
	[/have_unit]

	[then]


	[message]
	description=Tallin
	message= _ "Elenia?"
	[/message]
	
	[message]
	description=Elenia
	message= _ "Tallin, as you know, I have been separated from my race and kinsmen - well, except Anita - for many years now. I wish to go back to the elvish forests and live among my kinsmen again. Perhaps I will return someday."
	[/message]

	[if]
	[variable]
	name=Anita_is_dead
	numerical_equals=0
	[/variable]
	[then]

	[message]
	description=Anita
	message= _ "Knowing you and your spirit of adventure, Elenia, I am certain that you are gonna be back sooner or later."
	[/message]

	[message]
	description=Elenia
	message= _ " *smiles* It is not unlikely..."
	[/message]

	[/then]

	[/if]

	[message]
	description=Tallin
	message= _ "You have been a valuable ally and a great friend, Elenia. Go with our blessing, and convey to the Elves our intentions and the hope of peace."
	[/message]

	[message]
	description=Elenia
	message= _ "Thank you Tallin."
	[/message]

	[/then]

	[/if]
	

	[if]

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

	[then]
	
	[message]
	description=Tallin
	message= _ "Krash?"
	[/message]

	[message]
	description=Krash
	message= _ "I am sorry, Tallin but me and my friends had better be getting back to our people."
	[/message]

	[message]
	description=Tallin
	message= _ "No need to apologize, Krash, for you and the valiant drakes of your band have been of invaluable help to us. The entire Northlands are in your debt."
	[/message]

	[message]
	description=Krash
	message= _ "As you said once before Tallin, let not talk of debts come between us. I will spread the word among my people and if anyone wishes to join your Council they will be free to. In addition to gaining the respect of the elves and the dwarves you have also earned the respect of the drakes. I am sure many will come to join your cause."
	[/message]

	[message]
	description=Krash
	message= _ "If you are ever in desperate need of help then come to us. The gryphons will show you the way." 
	[/message]

	[message]
	description=Tallin
	message= _ "Thanks, friend."
	[/message]

	[/then]

	[/if]

	[if]

	[have_unit]
	description=Alfred
	[/have_unit]

	[then]

	[message]
	description=Tallin
	message= _ "Alfred, your assistance has also been a great help to us."
	[/message]

	[message]
	description=Alfred
	message= _ "Pah, think nothing of it. It will sure make an interesting story to tell the folks back home."
	[/message]

	[message]
	description=Tallin
	message= _ "So you would like to return to your home?"
	[/message]

	[message]
	description=Alfred
	message= _ "Yes. The dead should stay in the land of the dead. It is against the laws of nature for it to be otherwise. There is just one problem; Malifor forced me into this body and I don't know how to get out of it."
	[/message]

	[message]
	description=Father Marcus
	message= _ "I believe Theta and I can help you with that, Alfred. Have no worries, you shall soon be home." 
	[/message]

	[message]
	description=Alfred
	message= _ "Thank you father, and thank you again, Tallin for all that you have done, both for the world of the living and the dead."
	[/message]

	[message]
	description=Tallin
	message= _ "My thanks to you as well, Alfred. May you rest in peace."
	[/message]

	[/then]

	[/if]
	
	[message]
	description=Tallin
	message= _ "Ro'Arthian and Ro'Sothian, you two have also been of staunch allies. As per our agreement, you may return to Highbrook Pass, and I will see to it that guards are posted at both ends barring any who seek to enter without your leave, on pain of death."
	[/message]

	[message]
	description=Ro'Arthian
	message= _ "Thank you, Tallin. Our old bones are weary of being animated long past their time. Now we will finally be able to rest in peace. However, as we have fought hard for this respite, we shall not allow our effort go to waste. When the Northlands are in direst need of us, we shall rise once again."
	[/message]


	[if]

	[have_unit]
	description=Stalrag
	[/have_unit]

	[then]

	[message]
	description=Ro'Arthian
	message= _ "Stalrag, for years now we have fought each other, but recent events have made us allies. I go now to eternal sleep; may we part as friends."
	[/message]

	[message]
	description=Stalrag
	message= _ "May your rest be peaceful and undisturbed, Ro'Arthian."
	[/message]	

	[/then]

	[/if]


	[if]
	[variable]
	name=all_is_well
	numerical_equals=1
	[/variable]
	[then]

	[message]
	description=Tallin
	message= _ "And Anita... I may be rash and bold to ask this but... *goes to his knees in front of Anita and takes her hand* Will you marry me?"
	[/message]

	[message]
	description=Anita
	message= _ " *struck speechless*"
	[/message]

	[message]
	description=Hamel
	message= _ "Tallin, are you sure? Elves have a very long lifespan compared to humans. She will live for at least another thousand years while you have hardly seventy years ahead of you... at most."
	[/message]

	[message]
	description=Tallin
	message= _ " *eyes on Anita* I know, Hamel. Then may the coming seventy years be the most happiest and fulfilling years in our lives. Should we deny ourselves happiness out of the fear of loss?"
	[/message]

	[message]
	description=Father Marcus
	message= _ "Well spoken!"
	[/message]

	[message]
	description=Anita
	message= _ "I may be foolish to say this, Tallin, but... yes."
	[/message]

	[message]
	speaker=narrator
	message= _ "The joy of the multitude could not be contained, and the ensuing celebration lasted for a full five days. At that time Tallin and Anita were duly married by Father Marcus and Sister Theta."
	[/message]

	[message]
	speaker=narrator
	message= _ "After the wedding, Tallin and Anita went back to Dwarven Doors where they founded the Couuncil of Warders of the Northern Alliance, a body dedicated to ensuring peace and justice in the Northlands. It was soon settled that the main headquarters of the Northern Alliance would be the new city of Dwarven Doors."
	[/message]

	[message]
	speaker=narrator
	message= _ "On Father Marcus's advice, the Council approached all the different orcish tribes and made treaties with them. If a chieftain refused to cooperate with the Alliance, he was forcibly removed from his post and another more favorably disposed put in his place."
	[/message]

	[message]
	speaker=narrator
	message= _ "Although Tallin faced many challenges as the head of the Northern Alliance, his marriage with Anita was serene and filled with happiness. Together they had one son, about whom were written many legends."
	[/message]

	[/then]

	[else]

	[message]
	description=Tallin
	message= _ "Once again I thank all of you. For those of you who are leaving, may the Lords of Light - or Darkness - guide you on your path. For those of you who are staying - come, we have much to do." 
	[/message]	

	
	[message]
	speaker=narrator
	message= _ "Thus, Tallin and his friends went back to Dwarven Doors where they founded the Council of Warders of the Northern Alliance, a body dedicated to ensuring peace and justice in the Northlands. It was soon settled that the main headquarters of the Northern Alliance would be the new city of Dwarven Doors."
	[/message]

	[message]
	speaker=narrator
	message= _ "On Father Marcus's advice, the Council approached all the different orcish tribes and made treaties with them. If a chieftain refused to cooperate with the Allience, he was be forcibly removed from his post and another more favorably disposed put in his place."
	[/message]

	[/else]

	[/if]

	[message]
	speaker=narrator
	message= _ "In time, Knalga's caverns were refurbished, becoming a busy and prosperous home to many dwarves. Under the protection of the Northern Alliance, people of all races began coming, as they did before, from all corners of the known - and unknown - world to trade with the Dwarves of Knalga."
	[/message]


	[message]
	speaker=narrator
	message= _ "Thus, from a small, enslaved community, the people of Dwarven Doors - by their fortitude, valor, and wisdom - brought the Northlands out of the darkness and restored them to their former glory."
	[/message]

	


	[endlevel]
	result=victory
	[/endlevel]

	[/event]

[/scenario]
