// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(26,0) == 0 && gf(170,8) == 0;
	question = "special";
	text1 = "There is a stone circle on the rise ahead. There are no unholy altars, though. Instead, there is what looks like a meeting place. Two rows of benches face each other in the center.";
	text2 = "There are six slithzerikai, all members of the horde, standing in the circle. They appear to be having an animated argument. That must be why they haven't yet noticed you.";
	text3 = "If you slipped closer in a careful manner, you might be able to hear what they are saying.";
	action = SET_SDF 26 0 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(26,1) == 0 && gf(170,8) == 0 && char_ok(2813) && get_attitude(2813) < 10;
	question = "special";
	text1 = "It isn't difficult to eavesdrop on the argument. There are two groups, each containing three members of the horde, facing each other across the circle.";
	text2 = "The leader of one side says, _Ahssss! The Triad is going too far! They have accomplished much, but lossesss are rising. The Scourge is not pleased._";
	text3 = "The leader of the other three snorts. _Khsssss! Ess-Kalyn saysss that our gainsss are not secure. Avernum isss still strong. You think the mighty horde will ignore the Manburner? They will not, no matter what the Scourge saysss._";
	text4 = "The first slith is furious. _What wasss that? You threaten to resist the Scourge? Even after what the Impaler promised? You would dare? When, even now, there are reports of enemy infiltratorsss deep in our landsss?_";
	text5 = "_The problem with the spiesss isss under control. And ... Wait! What's that?_ The slith sniffs the air. Then he points in your direction. _Someone ... Someone is there!_";
	action = SET_SDF 26 1 1;
	code =
		set_attitude(30019,10);
		set_act_at_dist(30019,1);
		alert_char(30019);
	break;
	

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

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

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

begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The sign says:";
	text2 = "  Breeding Grounds - North";
	text3 = "  Only trainers or those of the Scourge should proceed!";

begintalknode 8;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "_Squeak!_";


//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is a lone slithzerikai woman in this home, dug out of the cave wall. And, no doubt, stolen from a human or nephil family.";
	text2 = "She is old. Her green scales are dull and cracked. The markings of the horde have been painted on her face, but they have faded. They have not been touched up in a while. There is a beautiful necklace around her neck.";
	text3 = "When she sees you, she looks sad, but not surprised. _Ahssss. You have come. I am Kesha. This is my little home. I mean you no harm, but you do what you must do._";
	text5 = "Kesha looks at you sadly and fingers her necklace. _You are still here. I understand. You do what you must do._";
	action = INTRO;

begintalknode 11;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "You speak my tongue very well.";
	text1 = "_Not all of the horde always hide in the low tunnel. Some emerge to trade. Some live near your kind. Most of the horde is poor. Alwaysss hungry. I wasss not._";
	text2 = "_Not all of the horde wanted this war._";

begintalknode 12;
	state = 10;
	nextstate = 12;
	condition = 1;
	question = "What do you think I will do to you?";
	text1 = "_You killed usss. We killed you. You will kill me. My clanmatesss will kill you._";
	text2 = "_We hoped thisss war with you would be the final one, the one that restored our honor. Now ... we are not sure._";

begintalknode 13;
	state = 10;
	nextstate = 15;
	condition = gf(170,6) ==0 ;
	question = "I need some help.";
	text1 = "She shakes her head. _I know who you are. I know where you will go. I am not your friend. I will not betray my clan. I will simply let you go. If you do what ... what I suspect must be done, I will not stop destiny._";
	text2 = "_Go on to Formello and what must happen will happen, but I will not be a traitor._";

begintalknode 14;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Time to die, invader!";
	text1 = "Kesha nods sadly. _And so it continuesss. I knew it would end thisss way. Come on, then. I will not just let you slay me, but I know how thisss will end._";
	action = END_TALK;
	code =
		set_attitude(2834,10);
	break;
	
begintalknode 15;
	state = 10;
	nextstate = -1;
	condition = gf(170,8) > 0;
	question = "I have destroyed the Triad.";
	text1 = "She nods. _All know if it. There is much chaosss. I bear no grudge. I know now you did what must be done. The othersss will not see it that way, though._";

begintalknode 16;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "I'm going now.";
	text1 = "She nods. _I wish you ... I do not know what to wish you. I will not say that you were here. I do not ... not know what should happen now. It is greater than me. Goodbye._";
	action = END_TALK;

begintalknode 17;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "And did any of you resist?";
	text1 = "_No. We still obey our clan, even when we do not think they are wise._";

begintalknode 18;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "And now here you are, living in an Avernite's home.";
	text1 = "_No. I am living in a slith home, that the Avernitesss stole from usss._";

begintalknode 19;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "Restore your honor?";
	text1 = "_You Avernitesss took our land, killed our people, took the mighty and wise Sss'Thsss from usss, and this blow tearsss open our heartsss. Death would be better than living with that insult forever._";
	text2 = "_But now we have what we need to face ourselvesss, but ... What? What next?_";
	
begintalknode 20;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "What aren't you sure of?";
	text1 = "_Our mighty war council, they have what we need, but they are not sure how to end the war. They want more vengeance. More blood. They ... Some of usss think we will lose all we have gotten back for greed and bloodlust._";
	text3 = "_Our mighty war council is gone, but the problem remains._";
	text4 = "_We have what we need, but we are not sure how to end the war. We are afraid we will lose all we have gotten back. We want peace, but also to keep our homesss._";
	action = DEP_ON_SDF 170 8 0;
	
begintalknode 21;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "Do you know how I might enter Formello?";
	text1 = "She is silent for a long time. Finally, she says, _I might have seen thingsss. People. But I can't be sure, and I will not betray my kind._";
	text2 = "And then, just for a moment, her eyes flick to the window. For a moment, she looked out the hole in the cave wall toward the northeast.";

begintalknode 22;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "You've no supplies I can have?";
	text1 = "_I am an old woman. You will take what you take. I will not give. The horde is being unwise, but I am still of it, body and soul._";


//

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 = "";
		