// 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 = "You come face to face with the leader of this band of vahnatai brigands. He is less filthy and emaciated than the others, and he holds his waveblade with the confidence of a trained warrior.";
	text2 = "Then he speaks, and you are surprised to find that he knows your tongue. He's really bad at it, but you can understand him. _Killer! Slave! I Gaddika. I wait. I you paying. Attack person deading!_";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(28,9) != 0;
	question = "_I can speak your language._ (Say in vahnatai.)";
	text1 = "_No. I speaking tongue of power. Of light and power am talking. No more old. No more of dead leading. We free of Crystal Soul!_";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "_What are you all doing here?_";
	text1 = "_Fight! Fight for light power new. No more of dead leading. Crystal Souls bad dead way we losing._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_Die, brigand!_ (Attack.)";
	text2 = "_Yes. Thank. You help us. Help prove we good. More reward for death. Dying you keep us weak._ Gaddika nods, and the vahnatai begin to advance on you.";
	action = END_TALK;
	
begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_You don't follow the Crystal Souls?_";
	text1 = "_No. Empire show good way. Talk. We follow. Great new way. Gaddika leading._";

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_How did you learn our tongue?_";
	text1 = "_Empire teach. Might of light. No listen to dead thing. Own way. Follow to light power._";
	text2 = "";

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_Do you know where the stolen Crystal Souls are?_";
	text1 = "_Gone. Not enough gone. All gone. Then we in power and light freeing._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_The Empire is not going to help you._";
	text1 = "_Lie! They tell us Avernum lie! Teach us new talk and new power. Many new cave freeing of dead thing._";
	text2 = "_Prove it now. Prove we good. More reward for death. Dying you keep us weak._ Gaddika nods, and the vahnatai begin to advance on you.";
	action = END_TALK;

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_Return the Crystal Souls and you have a chance to live._";
	text1 = "_Never. If we die to all Crystal Soul die is better. But no die. Prove. Rewarding!_";
	text2 = "_We prove we good. More reward for death. Dying you keep us weak._ Gaddika nods, and the vahnatai begin to advance on you.";
	action = END_TALK;

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_I want to know more about your beliefs._";
	text1 = "_You Avernum. You choose and live. No old dead thing making old dead way for all forever. You not know. Never know. We fix it. Empire free us._";
	text2 = "_You help us. Help prove we good. More reward for death. Dying you keep us weak._ Gaddika nods, and the vahnatai begin to advance on you.";
	action = END_TALK;

	
//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = "The last thing you expected to find here was a band of Empire soldiers. And yet, here they are, pale, heavily armed, and ready for battle. Their leader, a slender woman with a wicked blade, steps to the front.";
	text2 = "_I am Commander Aoka._ She makes a little salute. _The patrols said some worms were approaching, but I didn't expect the good fortune of your visit._";
	code =
		sf(2,11,1);
	break;
	
begintalknode;
	state = 40;
	nextstate = 41;
	condition = 1;
	question = "_What is the Empire doing here?_";
	text1 = "_A simple investment. The destruction of Avernum is behind schedule, but a few simple negotiations can bring us back to Garzahd's timetable._";
	text2 = "_You can't be allowed to let anyone know we are here. This will be the end for you._";

begintalknode;
	state = 40;
	nextstate = 41;
	condition = 1;
	question = "_Why are you helping the vahnatai?_";
	text1 = "_Oh, I'm sure, if you had time, you could figure it out. I won't give you that time, of course._";
	text2 = "_You can't be allowed to let anyone know we are here. This will be the end for you._";

begintalknode;
	state = 40;
	nextstate = 41;
	condition = 1;
	question = "_Are you a prisoner? I can free you!_";
	text1 = "Aoka laughs. _A prisoner? Of these miserable brigands? Hungry cultists? You Avernites have never understood the power you face. I can't let you live long enough to learn, of course._";

begintalknode;
	state = 41;
	nextstate = 42;
	condition = 1;
	question = "_I will let the vahnatai know you are here._";
	text1 = "_Really? You think they would ever believe you? These naive creatures could never comprehend their own kind having the wisdom to aid us._";

begintalknode;
	state = 41;
	nextstate = 42;
	condition = gf(30,14) > 0;
	question = "_I am already returning the Crystal Souls._";
	text1 = "Aoka is startled. _Wait ... That is you? Do you realize the promotion I will earn for killing you?_";
	text2 = "_Best of all, after you are dead, the foolish vahnatai to the south will die and never have any idea of how their own kind betrayed them._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_Eh. I'll just kill you now and work out the details later._";
	text1 = "_Of course. No more banter. It is tiresome. Die, worm!_";
	action = END_TALK;

begintalknode;
	state = 42;
	nextstate = -1;
	condition = has_spec_item(14) == 0;
	question = "_I will find proof._";
	text1 = "_Nonsense. I told Gaddika very clearly not to take any notes and to destroy our letters. I am sure he ... he ... Actually, I'll have to check all this. After we kill you, of course._";
	text2 = "The enemy attacks.";
	action = END_TALK;

begintalknode;
	state = 42;
	nextstate = -1;
	condition = has_spec_item(14) > 0;
	question = "_I already have proof._ (Show the letter.)";
	text1 = "_What? I told Gaddika very clearly not to take any notes and to destroy our letters. Very. Clearly. After you are dead and the letters are destroyed, I will take steps to prevent any such future mistakes._";
	text2 = "The enemy attacks.";
	action = END_TALK;
