// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);

begintalkscript;

variables;



// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "The master of the fortress is waiting patiently for you in his private chambers. He is a small middle-aged man, wearing stylish robes of the most contemporary surface styles. He smiles and stifles a little yawn with his hand.";
	text2 = "_You have done well to get this far, Avernite. As I am sure you have guessed, I am Elderan. Because of your obvious strength, I will allow you to leave. I will continue with my harmless work. You can go on your way._";
	text5 = "Elderan is irritated by your continued presence. _Still here, Avernite? You tempt my wrath. You need to go, before I have a violent whim._";
	action = INTRO;

begintalknode;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "_Why are you here?_";
	text1 = "_Oh, standard services for the Empire. I provide magical services. Intelligence. The occasional interrogation. Mainly I am here for the same reasons you are._";

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_And those reasons are?_";
	text1 = "_Freedom, mainly. The laws restricting magic on the surface are painfully strict. They keep me from allowing my magical creativity to truly flower._";
	text2 = "_Here I can do whatever I want, to whatever I want._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_And what is your final goal?_";
	text1 = "_To create an army of magical horrors the likes of which the world has never seen. Then I will put them to the service of the Empire. Earning fabulous fame and wealth._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_Can you teach me any magic?_";
	text1 = "_Of course not, worm._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about your tower._";
	text1 = "_You have seen all of it, doing no small measure of damage in the process. It will take weeks for me to repair the damage, reanimate the corpses, and so on._";

begintalknode;
	state = 10;
	nextstate = 13;
	condition = 1;
	question = "_I have come to expel you._";
	text1 = "_You want to kick me out of my own tower? Named after me? After I spent all these months getting it perfect? It's not enough that Garzahd insults me. I have to put up with this from worms?_";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_I'll be going now._";
	text1 = "_You do that. Take what trinkets you wish, but, if you return, you will face my rage._";
	text2 = "He considers this. _If I feel like it, I mean._";
	action = END_TALK;

begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_Garzahd insults you?_";
	text1 = "_He thinks I can no longer be trusted with Empire secrets. They have all been removed. Infuriating._";

begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_There is something I want to know. Tell me, and you might live._";
	text1 = "_You will receive no secret from my lips. Skilled as I am, Garzahd's minions watch me closely. They could have me flayed in an instant._";
	
begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_Fine. I spare you._";
	text1 = "_Wise decision. Now leave me. I have much cleaning to do._";
	action = END_TALK;

begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_You must die, invader._";
	text1 = "Elderan sighs. _Of course._ He mutters a word of command. Glowing forms begin to appear above the platforms to the east. _Then face my defenses. I just had them installed. I thank you for the chance to test them out._";
	action = END_TALK;
	code =
		spawn_creature(10214);
		spawn_creature(10217);
		set_attitude(10213,10);
	break;

//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				