// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(11,0) == 0;
	question = "special";
	text1 = "You enter the dark, dank tunnels north of Formello. These lands were long thought to be only good for mining. Then the mines were played out one by one, and now these tunnels aren't useful for much of anything.";
	text2 = "And yet, the Slith Horde has found a purpose for them. The ground is littered with gnawed bones and shed scales. The air is full of the sounds of hissing reptiles and screeching prey.";
	text3 = "And, based on the size of the claw scratches in the cave floor, you would guess that the lizards being bred back here are of considerable size. The feared warlizards of the horde have to come from somewhere, after all.";
	action = SET_SDF 11 0 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(11,1) == 0;
	question = "special";
	text1 = "You enter one of the abandoned mines. Any crystal that held appreciable value was hauled away many years ago.";
	text2 = "For the last few decades, the only miners working here were the desperate, the poor and the skribbane eaters, digging out small, flawed crystals good only for ornamentation or grinding up to make ink.";
	text3 = "Of course, all of the human miners are long gone. The stink of lizards is heavy in the mine. This is where they have been breeding, feeding and growing large on the flesh of the weaker among them.";
	action = SET_SDF 11 1 1;

begintalknode 3;
	state = -1;
	nextstate = -1;
	condition = get_sdf(11,2) == 0;
	question = "special";
	text1 = "The industrious Slith Horde is not content with their mundane varieties of warlizard. They have been trying to breed newer, larger, more magically gifted species of reptile.";
	text2 = "One of their more successful efforts is sleeping at the east end of the cave. It is a massive salamander, basking happily in the sweltering heat of the fumaroles.";
	text3 = "It is surrounded by clumps of eggs, divided by the breeders into small piles. If their experiments succeed, gigantic salamanders will be joining the horde warriors as they charge into battle.";
	action = SET_SDF 11 2 1;

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

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The enormous salamander finally collapses and dies. What a relief. The slith horde has been denied a potentially powerful weapon against your people.";

begintalknode 6;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The mother salamander, not entirely a bright creature, finally realizes that you are slaying her young. She lets out an enraged hiss.";
	text2 = "In her fury, her blows grow far more powerful.";

begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The massive salamander opens one eye. Then both. She had been dreaming of meat, fresh meat, a lot of it, the sort of meal she can get so rarely these days. And then she opens her eyes and finds that her wishes have been granted.";
	text2 = "She rises and begins to stomp her feet. And then, all around you, you hear an unsettling crackling noise.";
	text3 = "With growing unease, you realize what the sound is. Some eggs are starting to hatch.";

begintalknode 8;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The obelisk says:";
	text2 = "  BREEDING LANDS";
	text3 = "  BEWARE!";


//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is an old slithzerikai, tribal markings painted proudly on his face, sitting by the fire. A generous meal of wine and roast lizard meat surrounds him on the tattered carpet he sits on.";
	text2 = "And then he sees you enter. He rises unsteadily to his feet, shaking his head. _Ahssss ... I never thought thisss would happen. But I knew it might._";
	text3 = "_I am Trainer Oruss, of the mighty horde. I am ready. I only wish I was not surrounded by all thisss._ He waves at his home.";

begintalknode 11;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "You train the warlizards?";
	text1 = "_Train and breed them. My petsss have slain many of your kind, I am proud to say. And do not think slaying me will reduce their numbersss. I have trained many to do what I do._";

begintalknode 12;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "What's wrong with this home? Seems rather cozy.";
	text1 = "_Ahssss. Thisss is not the way of the horde. The wallsss, the roof, the bed. We left behind the old, harsh waysss, sucked in by the humansss comfortsss. And other ... weaknessess._";
	text2 = "_And, asss I got old, I wasss no better. But I wish I did not have to die around so many human thingsss._";

begintalknode 13;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "And what are you ready for?";
	text1 = "_You will kill me, yesss? Because, if not, I will kill you. I will not let spiesss wander around in our proud landsss._";

begintalknode 14;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "You don't have to die here. Perhaps you can buy your life back from us.";
	text1 = "He shakes his head. _I am old. I helped the horde regain itsss honor by defeating you. I have done what I wanted. And I see the way the lizardsss eye me. They will turn and take me down soon._";
	text2 = "He raises his spear. _I will die in honor, and I would never aid your kind. Not until I am sure our landsss are securely oursss once again._";

begintalknode 15;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "You seem civilized for a savage.";
	text1 = "He frowns. _You understand the horde little. If you had thought us less savage, you might have not lost so many of your landsss so easily._";

begintalknode 16;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "Never mind. I'll just leave you here. (Go.)";
	text1 = "Oruss shakes his head. _No! I will not be left! I will not be denied a proper end! I will not be left to the lizards! Ahssss!_ He lets out a long, low whistle.";
	text2 = "Then he charges you. You notice, too late, that he wears an odd charm around his neck. It is surrounded by a tiny cloud of sparks ...";
	action = END_TALK;
	code =
		alert_char(30015);
	break;
	
begintalknode 17;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "You want death, slith? I am happy to oblige. (Attack.)";
	text1 = "As you approach, Oruss lets out a long, low whistle. Then, as he tries to compose himself for the end, he meets your charge.";
	text2 = "You notice, too late, that he wears an odd charm around his neck. It is surrounded by a tiny cloud of sparks ...";
	action = END_TALK;
	code =
		alert_char(30015);
	break;

//

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