// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(67,0) == 0 && gf(67,9) == 0;
	question = "special";
	text1 = "You are near the north wall of the Eastern Gallery. Looking up, you see a ledge about fifty feet above you. There are no lights up there, but you think you can see figures moving in the shadows.";
	text2 = "From that vantage point, one could have a marvelous view of Avernite defenses and troop movements.";
	text3 = "There are some old, crumbling stone walls below the ledge. If you investigate, you might be able to find a route up there.";
	action = SET_SDF 67 0 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(67,1) == 0 && gf(67,9) == 0;
	question = "special";
	text1 = "You walk through a gap in the ruined walls. On the other side, you find what was once the entrance to ... something. Some fort or cave complex. A vicious cavequake sheared the entire entryway, burying it.";
	text2 = "The surviving tunnels have been captured by slithzerikai of the horde. Alas, from here, there is no way to reach the tunnels above you and dislodge their scouts.";
	action = SET_SDF 67 1 1;



begintalknode 4;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The sign says:";
	text2 = "  WARNING - HORDE TERRITORY TO EAST";
	text3 = "  CIVILIANS TURN BACK";
	text4 = "  SOLDIERS ONLY PROCEED ON DIRECT ORDERS";


begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The sign says:";
	text2 = "  WARNING - HORDE TERRITORY TO NORTH";
	text3 = "  CIVILIANS TURN BACK";
	text4 = "  SOLDIERS ONLY PROCEED ON DIRECT ORDERS";


//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is a massive slith sitting on the other side of this fire, watching you calmly. Then he stands, towering over all of his minions. He bears the tribal marks of the horde, but they are burned onto his skin, not painted.";
	text2 = "He holds out a massively muscled arm and points his two-tined spear at you. _Foolsss,_ he rumbles. _I am Kerek'Oess, servant of the horde. I do not serve Khrez-Yss the Shadow, like a coward hiding in the low tunnelsss._";
	text3 = "_No, I was sent here by Ghavassa-Oss the Impaler! High general and warmaster! I will not be moved, not after receiving such an honor!_";

begintalknode 11;
	state = 10;
	nextstate = -1;
	condition = gf(170,7) == 0;
	question = "Who is Ghavassa-Oss the Impaler?";
	text1 = "_Our master and tactician, who directs usss from his throne in Formello. Your Formello, taken by usss, directed by him. Hisss plans are what will help usss run you to ground._";

begintalknode 12;
	state = 10;
	nextstate = -1;
	condition = gf(170,7) > 0;
	question = "Ghavassa-Oss the Impaler? Ummm ... I killed him.";
	text1 = "Kerek'Oess is enraged. _What? That wasss you? Then this is the day our mighty warmaster is avenged! I must fight you ... I could not live knowing I had a chance to slay you and backed down._";
	text2 = "He lowers his spear and charges.";
	action = END_TALK;
	
begintalknode 13;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Why are you up here?";
	text1 = "_Because, asss long asss we are here, nothing the Avernites do can surprise usss. The view isss lovely._";

begintalknode 14;
	state = 10;
	nextstate = -1;
	condition = gf(80,2) > 0;
	question = "I am only here at the request of Wyrgryss.";
	text1 = "_What? That miserable worm hasss led you to usss? Once, the warmaster might have spared that creature, if it begged for mercy._";
	text2 = "_Now, I will kill it myself. After you._";

begintalknode 15;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Prepare to die, slithzerikai.";
	text1 = "_Yesss! We will fight! And, in your last, agonizing momentsss, you will know that your kind hasss no hope against 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 = "";
		