// dlg.txt

begintalkscript;

variables;

short i;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(103,0) == 0;
	question = "special";
	text1 = "This building used to be a tannery. Some of the skins are still here, and the smell of the vile chemicals used to treat and dye them still hangs in the air.";
	text2 = "It has been abandoned and mostly looted.";
	action = SET_SDF 103 0 1;


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

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The sign has been smashed. Only one word is still visible:";
	text2 = "  TANNERY";


//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is a man hiding at the end of this long gallery. Two huge wolves sit at either side of him, looking very, very hungry. He is looking pretty thin himself.";
	text2 = "He shouts, _Hold it right there! This is my cave. Just back up and move out, unless you want to dance with Fang and Fire here._ The wolves snarl.";
	text5 = "The man is still lurking at the end of this tunnel with his wolves. He says, _Thought I told you, you have to go. You aren't welcome here. Move out, or pay the price._";
	action = INTRO;

begintalknode 11;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Who are you?";
	text1 = "_My name? My name is Shut Your Mouth and Get Moving._ He points behind you. _The exit is that way._";

begintalknode 12;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Nice wolves.";
	text1 = "_Yeah. They are. Let me know if you want to see them much closer._";

begintalknode 13;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "I'm not going anywhere.";
	text1 = "_Oh? I say you are. Though, come to think of it, I like the look of your blade. I'd like to use it. Fang and Fire, sic!_";
	action = END_TALK;
	code =	
		set_attitude(30031,10);
	break;
	
begintalknode 14;
	state = 10;
	nextstate = 11;
	condition = gf(128,15) == 1 || gf(115,2) > 0;
	question = "Your name wouldn't happen to be Koepp, would it?";
	text1 = "Your question takes the arrogant look off his face in a moment. Now he is starting to panic. This makes him no less dangerous.";
	text2 = "_What? They sent a bounty hunter? After me? Just because of that slith? But you're just gonna let me go, right?_";

begintalknode 15;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "What happened with the slith?";
	text1 = "_It was self-defense! I swear! I got no problems with the sliths. What did they tell you? I don't think they made the Blight! They're lying! Lying!_";

begintalknode 16;
	state = 11;
	nextstate = -1;
	condition = gf(128,15) == 1;
	question = "You need to turn yourself in to Dharmon. You will be treated fairly.";
	text1 = "He thinks about this. Then he gets a wily smile on his face. _You know, I know someone there. Estragon. The law there is harsh, but ... If that's what you heard ... I can't hide out here forever. I might have a hope._";
	text2 = "_All right. I'll go turn myself in. Killing that slith was stupid, but this is the best way out of it._";
	text3 = "_Fang, Fire, come!_ Smirking at you as he passes, he walks back down the corridor.";
	action = END_TALK;
	code =
		erase_char(30031);
		toggle_quest(163,4);
		sf(103,1,2);
	break;
	
begintalknode 17;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "You're a murderer, and you need to die.";
	text1 = "Koepp nods. _I knew it. I knew those sliths would never let me go. They got so many friends, even after what they did. What they're doing. We'll never be free of them until brave people act._";
	text2 = "He whips out his blade. _But I won't submit just like that. Fang and Fire, sic!_";
	action = END_TALK;
	code =	
		set_attitude(30031,10);
	break;

begintalknode 18;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "Actually, never mind. I'll just be going.";
	text1 = "_What? And tell them where I am? Oh, no ... You're not going anywhere. But your stuff will help me to hole up here. Fang and Fire, sic!_";
	action = END_TALK;
	code =	
		set_attitude(30031,10);
	break;
	
//begintalknode 19;
	//state = 10;
	//nextstate = -1;
	//condition = 1;
	//question = "";
	//text1 = ".";
	//text2 = "";
	
begintalknode 22;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Sorry to bother you. I'll be going. (Leave.)";
	text1 = "He debates for a moment, figuring out if it's worthwhile to rob you. Finally, he decides to let you go.";
	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 = "";
		