// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(36,0) == 0;
	question = "special";
	text1 = "This camp was recently inhabited by slithzerikai warriors. You can tell that sliths were here by noting the bits of green scale at the outskirts of the camp. Slithzerikai shed.";
	text2 = "Now the camp is empty, but you aren't entirely sure why. There are also long, thin tracks of dried slime. Perhaps something disgusting and malevolent drove them away.";
	action = SET_SDF 36 0 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(36,1) == 0;
	question = "special";
	text1 = "You are near a campsite, inhabited by several warriors of the slithzerikai horde. They are staying near a small lake, stocked with fish. Normally, they would be watching for intruders.";
	text2 = "Currently, they are occupied fighting off a handful of large, slimy fungus monsters. The hideous masses of sentient flora lumber quietly toward them, hoping to enfold them and ingest their materials.";
	text3 = "Somehow, seeing this makes you feel strangely happy. For so long, Avernum has had to work hard to fend off the monsters that seem to settle and resettle every unoccupied tunnel. Now the horde gets to bear the load for a while.";
	action = SET_SDF 36 1 1;
	code =
		activate_hidden_group(49);
		
		set_name(3891,"Horde Warrior");
		set_name(3892,"Horde Warrior");
		set_name(3893,"Horde Warrior");
		set_name(3894,"Horde Flinger");
		set_name(3895,"Horde Flinger");
		set_level(3894,30);
		set_level(3895,30);
		
		set_attack_bonus(3888,20);
		set_attack_bonus(3889,20);
		set_attack_bonus(3890,20);
	break;


begintalknode 4;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "You are somewhat surprised to find a demon walking around out here. It has a steel collar around its neck, with a broken length of chain hanging from it. It is wandering around lost, deranged, and extremely hungry.";
	text2 = "When it sees you it lets out a long, hideous screech and charges you. Being separated from one's master is apparently very bad for a demon's psychological well-being.";

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The demon evaporates in a cloud of foul, greasy smoke, which soon dissipates. The beast's spirit returns, free, to the infernal realms from which it was pulled.";

begintalknode 6;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "This sign looks like it has been used for javelin practice. It is still barely legible. It says:";
	text2 = "  Fort Draco - East";
	text3 = "  Formello - East";

//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "As you explore this oddly deserted section of the occupied lands, you sense that someone is following you. There is only a flicker of shadow, the faint sound of a rattling pebble. Most would completely miss it, but you've done a lot of traveling.";
	text2 = "And then a head pops out from behind a stalagmite. Human, female, and smiling. She whispers, _I knew you'd seen me. You're good. The horde's never even come close._";
	text3 = "She steps out and you see that her armor is dirty and torn. She has a bow over her shoulder. She gives you a jaunty salute. _I'm Private Weir, sir. I'm a scout. You aren't alone out here. We have a camp. You should drop in for a visit._";
	text5 = "Private Weir talks to you, asking for news from the rest of Avernum. Her voice is always low, mindful of how easily sound travels in these tunnels.";
	text6 = "_It's so good to see a new face. We've gotten a little tired of each other. As you can imagine._";
	action = INTRO;

begintalknode 11;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "You have a camp near here?";
	text1 = "_Amazingly enough. We've been harassing the horde for months. With no losses, so far. Not for a while, anyway. I was just scouting down here. I was on my way back when I saw you._";

begintalknode 12;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "How have you survived?";
	text1 = "_There aren't many of the horde out here. Most of them are east, looking for an opening to invade the Eastern Gallery. And we've been lucky._";
	text2 = "_Soon, the Impaler is going to realize that we're a problem and send a real force to track us down. Until then, we do what we can._";

begintalknode 13;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "How many of you are there?";
	text1 = "_About a dozen. Captain Esmee is in charge. We have enough to do some nasty ambushes._";

begintalknode 14;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "Where is your camp?";
	text1 = "_To the north. The slithzerikai have a small fort up there. We're in the tunnels below. Find a way down. You'll find some wolves on guard. They should let you by. Don't kill them._";
	text2 = "_I promise you that Captain Esmee would love to see a friendly face._";

begintalknode 15;
	state = 10;
	nextstate = 12;
	condition = 1;
	question = "Tell me about these caves.";
	text1 = "_I don't have long, but I'll tell you what I can. There aren't many sliths here. There are a lot to the east, though._";

begintalknode 16;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "Why aren't there slithzerikai patrolling this area?";
	text1 = "_There is some sort of weird forest to the south. It's full of fungus creatures. They keep stalking out and hunting the lizards._";
	text2 = "_The horde doesn't have enough forces to do anything about it, so they just stay away. It's good for us._";

begintalknode 17;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "What is to the east?";
	text1 = "_A huge chunk of the horde's army. There's a bridge over the river there, and it's heavily guarded. If you're going to Formello, that road will take you there, but it'll be a hard path to travel._";
	text2 = "_If you come to our camp, Esmee can tell you more._";

begintalknode 18;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "There is something else I want to know.";
	text1 = "She shakes her head. _Not here. Come to our camp. It's far safer to talk there._";

begintalknode 19;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "I'll be going now.";
	text1 = "She nods. _All right. Be safe. And remember, our camp is to the north. I'll be going there as soon as I've finished this patrol._ She hides behind a nearby stalagmite, preparing to continue her patrol.";
	action = END_TALK;
	
begintalknode 20;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

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

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

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

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

//

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