[scenario]
	id=Reject
	#textdomain wesnoth-ei
	name= _ "Weldyn Besieged"
	map_data="{campaigns/Eastern_Invasion/maps/Weldyn_Besieged}"
	turns=30
	next_scenario=null

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

	{DEFAULT_MUSIC_PLAYLIST}

	{campaigns/Eastern_Invasion/utils/deaths.cfg}

	[side]
	type=Lieutenant
	description=Gweddry
	user_description= _ "Gweddry"
	side=1
	canrecruit=1
	controller=human
	[/side]

	[side]
	type=Lich
	description=Mal-Akranbral
	user_description= _ "Mal-Akranbral"
	side=2
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[side]
	type=Lich
	description=Mal-Drakanal
	user_description= _ "Mal-Drakanal"
	side=3
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[side]
	type=Lich
	description=Mal-Larakan
	user_description= _ "Mal-Larakan"
	side=4
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[side]
	type=Lich
	description=Mal-Ravanal
	user_description= _ "Mal-Ravanal"
	side=5
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 200 250 300}
	team_name=bad
	profile=portraits/mal-ravanal.png
	[/side]

	[side]
	type=Lich
	description=Mal-Xaskanat
	user_description= _ "Mal-Xaskanat"
	side=6
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[side]
	type=Lich
	description=Mal-Katklagad
	user_description= _ "Mal-Katklagad"
	side=7
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[side]
	type=Lich
	description=Mal-Hadanak
	user_description= _ "Mal-Hadanak"
	side=8
	canrecruit=1
	controller=ai
	recruit=Bone Shooter,Revenant,Wraith,Shadow
	{GOLD 150 200 250}
	team_name=bad
	[/side]

	[event]
	name=prestart
		[objectives]
		side=1
			[objective]
			description= _ "Defeat Mal-Ravanal"
			condition=win
			[/objective]
			[objective]
			description= _ "Death of Gweddry"
			condition=lose
			[/objective]
			[objective]
			description= _ "Death of Dacyn"
			condition=lose
			[/objective]
			[objective]
			description= _ "Death of Owaec"
			condition=lose
			[/objective]
			[objective]
			description= _ "Letting any enemy unit on to your keep"
			condition=lose
			[/objective]
		[/objectives]
	[/event]

	[event]
	name=start
		[recall]
		description=Dacyn
		[/recall]
		[recall]
		description=Owaec
		[/recall]
		[recall]
		description=Grug
		[/recall]
		[message]
		description=Mal-Drakanal
		message= _ "You people are fools! You decided to reject my master's duel... very well, you will all DIE! And know, my master is here, watching your very demise. For he does not fear you at all, and knows that you will never be able to find him and kill him! There are seven of us, and only ONE of us is the real leader! ha ha ha ha! To be fair about it, we will all tell you our names."
		[/message]
		[message]
		description=Dacyn
		message= _ "Remember, we have to kill Mal-Ravanal. He's here somewhere..."
		[/message]
	[/event]

	[event]
	name=die
		[filter]
		description=Mal-Ravanal
		[/filter]
		[message]
		description=Mal-Ravanal
		profile=portraits/mal-ravanal.png
		message= _ "How did you know...?"
		[/message]
		[endlevel]
		result=victory
		[/endlevel]
	[/event]

	[event]
	name=moveto
		[filter]
		x=24
		y=14
			[not]
			side=1
			[/not]
		[/filter]
		[message]
		speaker=unit
		message= _ "Kill the king!"
		[/message]
		[message]
		description=Gweddry
		message= _ "They killed Konrad... now, even if we save Weldyn, Wesnoth has fallen."
		[/message]
		[endlevel]
		result=defeat
		[/endlevel]
	[/event]
[/scenario]
