// dlg.txt

begintalkscript;

variables;

short i;



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

begintalknode 5; // shadow letter
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The box contains some personal effects of minimal interest and a letter. It says, simply:";
	text2 = "_I have made good on my half. You have food. You have blades. Now you must pay for them, in the currency of havoc. Join the others of this region in harassing the Avernites, or you will not share in the mercy of the Horde._";
	text3 = "_Signed, Khrez-Yss, The Shadow._";

begintalknode 6;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The ghost of Skunky Joe gets kind of fed up. _Fine. You want me to be destroyed? Again? Then come find me! In my lair! Wooooooo!_";
	text2 = "And then the peculiar ghost sinks straight down through the floor. It is gone.";
	code =
		erase_char(6812);
		sf(63,5,2);
	break;
	
begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The strange ghost ignores you.";

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

begintalknode 9;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The ghost of Skunky Joe lets out a long, anguished shriek. _No! Nooooo! I can't believe it happened again! It's not fair! Wait ... maybe I will take a new form. Maybe I ..._";
	text2 = "_Wait! No! I am staring into eternal nothingness! And it is pulling me in! Aiyeeeeee!_";
	text3 = "And then the spirit disappears, leaving you in merciful silence.";



//

begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is a ghost walking around this barren corner of the Eastern Gallery. Its form is misty and insubstantial, but you think that you can make out the shape of mage's robes.";
	text2 = "Surprisingly, the shade doesn't seem to immediately be hostile. Instead, it floats up to you and says, _Boo!_";


begintalknode 11;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "Eeek!";
	text1 = "The ghost seems gratified by this reaction. It continues, _Wooo! Wooooo!_";

begintalknode 12;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "Boo to you too.";
	text1 = "The ghost seems disappointed by this reaction. It tries again. _Wooo! Wooooo!_";

begintalknode 13;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "Ummm ... Hi.";
	text1 = "The ghost reflexively responds, _Hi._ Then, remembering its purpose, it tries again. _Wooo! Wooooo!_";

begintalknode 14;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "Ahhhhh! Ahhhhhhhh!";
	text1 = "The shade nods, satisfied. _So, once again, the spirit of Skunky Joe spreads terror through this region!_";

begintalknode 15;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "Sorry. I'm just not feeling it.";
	text1 = "The shade quivers with irritation. Or maybe it's only shaking because of a draft. _Tremble in fear, mortal! The spirit of Skunky Joe spreads terror through these lands!_";

begintalknode 16;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "Who?";
	text1 = "_In life, I was Skunky Joe! A feared and respected brigand, until wandering warriors slew me. Now I strike terror into all who would harm simple rogues and robbers who are only trying to earn a living._";

begintalknode 17;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "So some soldiers killed you?";
	text1 = "_Yes. And then I came back to this form. I was a mage in life. Sometimes that happens in our line of work. Ummmm. So be afraid!_";

begintalknode 18;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "You aren't going to attack me?";
	text1 = "_The last time I attacked soldiers around here, I ended up like this. I just wanted to terrify you. And I suppose I did._";

begintalknode 19;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "Well, now that that's done, I'll be going.";
	text1 = "The ghost of Skunky Joe nods. _All right. Woooo! Woooooo!_ It floats off.";
	action = END_TALK;
	
begintalknode 20;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "Your reign of terror has ended, undead fiend! (Attack!)";
	text1 = "Startled, the spirit shouts, _Oh, no! Not again!_ It floats off as quickly as it can. But it's not fast enough, so, regretfully, it turns to face you.";
	action = END_TALK;
	code =
		set_attitude(6812,10);
	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 = "";
		