// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(9,0) == 0;
	question = "special";
	text1 = "This narrow bridge looks like recent construction. It might even have been completed only a few months before the Slith Horde invaded. Its survival is unfortunate.";
	text2 = "If the Avernites had destroyed it quickly, they might have been able to slow down the horde invasion. Alas, Avernum had been arrogant and underestimated their foe. Now the bridge enables the horde to move supplies and troops quickly.";
	text3 = "There are several slith guards on the bridge, watching you warily. They suspect that you might have switched sides and are fighting for the horde. That's why they haven't attacked yet.";
	text4 = "They can't see any other reason why Avernite soldiers might be this far behind the lines. Arrogance is not solely a human trait.";
	action = SET_SDF 9 0 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(9,1) == 0;
	question = "special";
	text1 = "There is a mine here, burrowed in the north wall of the gallery. You are surprised that there is still anything worth mining out here. This area has been picked over repeatedly by prospectors over the last century.";
	text2 = "And yet, you can see several slithzerikai around a fire, eating a meager meal. One of them, probably a mage, is working on a stone construct. Engrossed in their activities, that haven't yet noticed you.";
	action = SET_SDF 9 1 1;



begintalknode 4;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The nephil looks away when you try to talk to him.";

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "This stone servant is malfunctioning. It can barely move.";

begintalknode 6;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "This stone servant is slowly clearing away rubble.";

begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";


//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "You are surprised to find a group of armed nephilim sitting at this encampment. No slithzerikai in sight. Their leader approaches you nervously. The others keep their bows and blades close at hand.";
	text2 = "The nephil raises his hand to hail you. _Hmrrrr ... I am Kyarra. Is a surprise to see you here. Rare to see those from Avernum. Good to see you. Am glad._";
	text3 = "_I ask you. Why are you here? Maybe we can help you._";
	code =
		set_attitude(30001,10);
	break;
	
begintalknode 11;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "I am an Avernite soldier, here to infiltrate horde lands.";
	text1 = "The nephil nods. _Mrrrr. I thought so. We know there are Avernites hiding out here. We are looking for them. And we have found you._";
	text2 = "_Our masters will be pleased that we have found you._";

begintalknode 12;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "I am working for the Slith Horde.";
	text1 = "Kyarra nods. Then he looks at the insignia on your shoulder. _You do not need to lie to me. I don't think it will make a difference. If you were supposed to be here, I would know of it._";
	text2 = "_Our masters will be pleased that we have found you._";

begintalknode 13;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "It is none of your business. Why are you here?";
	text1 = "Kyarra nods. _A good response. What I would have said to you. Though the end would be the same, I think._";
	text2 = "_This is fortunate. A lucky stroke. Our masters will be pleased that we have found you._";

begintalknode 14;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "Your masters?";
	text1 = "_We serve the Slith Horde now. We were sent out to hunt Avernite spies. And I think I have found one. This will be very good for us._";

begintalknode 15;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "Why do you serve the horde?";
	text1 = "_Because they will spare us. The rest of our tribe are gone. Only we live, because we were wise enough to join the stronger side._";

begintalknode 16;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "And you are going to try to kill me?";
	text1 = "_Of course. We will take your head and insignia and present it to the horde. Then we will get more food and better treatment. With luck, Ghavassa-Oss will be told of us, and we will rise farther._";
	text2 = "_I am grateful to you for stumbling into us and giving us this chance._";

begintalknode 17;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "I'd better get going then. (Run.)";
	text1 = "_No! Don't let the Avernite get away! We need the head! Give chase!_ The nephilim rush after you.";
	action = END_TALK;
	
begintalknode 18;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "It will be a pleasure to kill traitors and servants of the horde. (Attack.)";
	text1 = "Kyarra says, _I knew there would be a battle. Yet another way to prove ourselves to the horde!_";
	action = END_TALK;


//

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

begintalknode 31;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 32;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 33;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 34;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 35;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 36;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 37;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 38;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 39;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

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

begintalknode 41;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 42;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 43;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 44;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
//

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

begintalknode 51;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

	
begintalknode 52;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 53;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 54;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 55;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 56;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 57;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 58;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 59;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 60;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 61;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 62;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 63;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 64;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

////

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