[scenario]
	id=12_Northern_Winter
	#textdomain wesnoth-httt
	name= _ "Northern Winter"
	map_data="{campaigns/Heir_To_The_Throne/maps/12_Northern_Winter.map}"
	{SCENARIO_MUSIC "wanderer.ogg"}
	{TURNS 50 40 40}

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

	next_scenario=13_The_Dwarven_Doors

	[event]
	name=prestart
		[objectives]
		side=1
			[objective]
				description= _ "Defeat all 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 Kalenz"
				condition=lose
			[/objective]
			[objective]
				description= _ "Turns run out"
				condition=lose
			[/objective]
		[/objectives]
	[/event]

	[story]
		[part]
		story= _ "Across the river were lands few humans had ever visited. The occasional distant thutter of orcish signal drums made the abundant pine forests nestled in rolling foothills both breathtaking and ominous."
		background="maps/wesnoth-httt.jpg"
		show_title=no
		[/part]
		[part]
		story= _ "Swirling, snow-laden winds tore at Konrad's army, signaling the final exit of autumn and the onset of what would be a harsh winter."
		background="maps/wesnoth-httt.jpg"
		show_title=no
		[/part]
	[/story]

	{BIGMAP_NORTHERN_WINTER}

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

	[side]
	type=Orcish Warrior
	description=Halgar Du'nar
	user_description= _ "Halgar Du'nar"
	experience=0
	side=2
	canrecruit=1
	recruit=Orcish Grunt,Wolf Rider,Orcish Archer,Troll Whelp,Ogre
		[ai]
		{ATTACK_DEPTH 4 5 5}
		recruitment_pattern=scout,scout,fighter,fighter,archer
		[/ai]
		[ai]
		time_of_day=dusk,first_watch,second_watch
		aggression=0.75
		caution=-1.0
		[/ai]
	{GOLD 90 150 210}
	{INCOME 2 4 8}
	team_name=orcs
	[/side]

	[side]
	type=Orcish Warrior
	description=Halgar Du'nar
	user_description= _ "Halgar Du'nar"
	experience=0
	side=3
	canrecruit=1
	recruit=Orcish Grunt,Wolf Rider,Orcish Archer,Troll
		[ai]
		{ATTACK_DEPTH 4 5 5}
		recruitment_pattern=scout,scout,fighter,fighter,archer
		[/ai]
		[ai]
		time_of_day=dusk,first_watch,second_watch
		aggression=0.75
		caution=-1.0
		[/ai]
	{GOLD 110 170 230}
	{INCOME 2 4 8}
	team_name=orcs
	[/side]

	[event]
	name=prestart
		[role]
		role=human-advisor
		type=Knight,Paladin,White Mage,Mage of Light,Red Mage,Arch Mage,Great Mage,Horseman
		[/role]
		[recall]
		role=human-advisor
		[/recall]
		[recall]
		description=Delfador
		[/recall]
		[recall]
		description=Kalenz
		[/recall]
	[/event]

	[event]
	name=start
		[message]
		description=Konrad
		message= _ "This winter is bitterly cold! Perhaps we should stop here and rest a while."
		[/message]
		[message]
		description=Kalenz
		message= _ "Stop and rest? My lord, we must go hard after the Scepter of Fire, lest it fall into the hands of our enemies!"
		[/message]
		[message]
		description=Konrad
		message= _ "We have had a hard march ever since we were besieged by the undead in that foul valley. Now winter bears down upon us, and we have spent most of our money. This land looks fertile enough. Surely we can settle here for the winter!"
		[/message]
		[message]
		role=human-advisor
		message= _ "Yes, let us rest a while! I am sure there are many challenges ahead, and I do not think I could endure another like the fording of the river for many days."
		[/message]
		[message]
		description=Kalenz
		message= _ "We are pursued by the forces of your arch-enemy, chasing the Scepter of Fire, the fate of the realm in our hands, and you humans want to stop and rest? Onward, I say!"
		[/message]
		[message]
		description=Delfador
		message= _ "They are right, Kalenz. I had wanted to acquire the Scepter within a moon, but it is not to be. Our soldiers will begin to desert if they do not rest soon. But in these wild north lands, we must fight even for the right to rest. Look to the north! Those foul orcs will not allow us any peace!"
		[/message]
		[message]
		description=Konrad
		message= _ "Then we shall wrest control of the land from them. To arms men!"
		[/message]
	[/event]

	[event]
	name=turn 6
		[terrain]
		x=1-2,3,5,6,7-12,22-23,31-33,34
		y=20-26,21-25,27-28,26-28,26-29,35-36,38-40,39-40
		letter=Aa
		[/terrain]
		[terrain]
		x=2,5,11,13
		y=27,26,25,31
		letter=Aa^Vha
		[/terrain]
		[message]
		description=Konrad
		message= _ "More snow is falling. We must finish this battle quickly. Onward men!"
		[/message]
	[/event]

	[event]
	name=turn 12
		[terrain]
		x=17-20,21,22,30-32,29,29,28,27,33-34
		y=11-14,11-13,11,11-19,11-12,14-16,11-13,11-12,13-17
		letter=Aa
		[/terrain]
		[terrain]
		x=29,33,36
		y=13,12,11
		letter=Aa^Vha
		[/terrain]
		[message]
		description=Konrad
		message= _ "We must make haste before the snow overwhelms us!"
		[/message]
	[/event]

	[event]
	name=victory
		[message]
		description=Delfador
		message= _ "Victory is ours! We have secured the land from the orcs. Now we can rest here while the cold winter passes."
		[/message]
		[message]
		description=Kalenz
		message= _ "Let us not rest for too long though, friends. We must still reach the ancient dwarven lands before our foes do."
		[/message]

		[if]
		[variable]
		name=get_gryphons
		numerical_equals=1
		[/variable]
		[then]
			[message]
			speaker=narrator
			image="wesnoth-icon.png"
			message= _ "A camp was pitched in a secluded valley that protected its occupants from the worst of the winter weather and roving orc patrols. During this time, the valley walls echoed with the squeaks of gryphon hatchlings, who happily frolicked across the camp."
			[/message]
			[message]
			speaker=narrator
			image="wesnoth-icon.png"
			message= _ "Konrad set his shamans to the task of corralling the animals. The elvish shamans had a natural rapport with the gryphlets, whose wings were still too small to carry a mount."
			[/message]
			[message]
			speaker=narrator
			image="wesnoth-icon.png"
			message= _ "Konrad finally decided he could not wait until the gryphons grew to maturity - Delfador's insistence that the scepter must be recovered was too compelling. And so after many days of rest, the party set out once again for the dwarven kingdom..."
			[/message]
		[/then]
		[else]
			[message]
			speaker=narrator
			image="wesnoth-icon.png"
			message= _ "A camp was pitched in a secluded valley that protected its occupants from the worst of the winter weather and roving orc patrols."
			[/message]
			[message]
			speaker=narrator
			image="wesnoth-icon.png"
			message= _ "Eventually Delfador's insistence that the scepter must be recovered proved too compelling, even when it meant dismantling the camp without the spring having yet fully arrived. And so after many days of rest, the party set out once again for the dwarven kingdom..."
			[/message]
		[/else]
		[/if]
	[/event]

	{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
[/scenario]
