// 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(12,1) == 0;
	question = "special";
	text1 = "You have found what used to be some sort of ... magic ... thing. There is a ring of glowing crystals around a circle inscribed with runes. Energy in the air, making your skin tingle. Something magical was happening here.";
	text2 = "But then the slithzerikai came, and they adapted this odd workshop to a new purpose: Breeding strange new varieties of lizard. You can see them milling around the circle, happily absorbing waves of raw magical energy.";
	action = SET_SDF 12 1 1;



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

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You approach this mutilated body nervously, only to find that it's not a body at all. It's a remarkably realistic dummy, made to train warlizards. It has been repeatedly savaged by their sharp teeth and powerful jaws.";

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 a nephil lying on this dirty, torn bedroll. He is in miserable shape. He is hungry, and the multiple deep scratches on his body haven't been tended to. He is clearly not long for this world.";
	text2 = "He looks up at you, confused. _Mrrrr ... I am Arrorra. Of the Fang Clan. You ... Are you there? Do not think you are._";
	text5 = "Arrorra is still here and still alive. The second part won't be true for much longer.";
	action = INTRO;
	code =
		sf(12,6,1);
	break;
	
begintalknode 11;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "I am real.";
	text1 = "_Mrrrr._ He gives a weak smile. _Is just what a ... a hallucination would say. Will act as if Avernite is here. Though is not possible._";

begintalknode 12;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "Can I help you?";
	text1 = "He shakes his head. The effort takes a lot out of him. _Too late ... Too late for me. Mrrr. Was ... I tried. I failed._";

begintalknode 13;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "(Try to help him.)";
	text1 = "He tries to push you away, but he is far too weak. You try to tend to his wounds, but it is soon clear that he is beyond even your power.";
	text2 = "_I am a warrior. I know ... I know the death stink. I tried. I failed._";

begintalknode 14;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "Failed in what?";
	text1 = "_The horde killed so many of us. Ahrrr. Tried for vengeance. Killed some of them. Slew a whole patrol ... when they slept. But ... Not enough. And they cornered me._";
	text2 = "_Wanted to ... Wanted to hurt the Scourge. But no use._";

begintalknode 15;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "Who cornered you?";
	text1 = "_The warlizards. Just animals. Thought I was safer up here. Easier to hide. Stupid mistake. The warlizards ... Too fast. Smelled me. Hunted me down._";

begintalknode 16;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "What is the Scourge?";
	text1 = "_True leaders of the horde. The leaders, the Shadow, Impaler, Manburner, all answer to the Scourge. Wanted to slip in. To hunt them. But ..._ He drifts off for a little bit.";

begintalknode 17;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "(Leave him alone.)";
	text1 = "You make Arrorra comfortable and let him die in peace. It doesn't take long. You place a cairn of stones on this brave warrior. It's all you can do.";
	action = END_TALK;
	code =
		erase_char(1330);
	break;
	
begintalknode 18;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "What happened when you tried to hunt them?";
	text1 = "You shake him gently. With effort, you get him to talk. _The Scourge is ... east. Huge gates. Always locked. Guards ... Nobody can get in there. Don't go. Stay away. Stay ..._ And he drifts off again.";

begintalknode 19;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "Hang on! I think I can save you!";
	text1 = "_No ... No ... Too much pain. Too many lost. Let me go beyond ... Let me join my fellows._";


//

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