// TOWN DIALOGUE SCRIPT
//    Town 50: Dark Tunnel

begintalkscript;

variables;

short i,j,k,r1,choice;

// Galthos

begintalknode;
	tag = 10;
	state = -1;
	nextstate = 1;
	question = "Galthos";
	text1 = "A dim shade lurks in this cave. It is vaguely shaped like a vahnatai, long dead. It looks at you sadly.";
	text2 = "Its voice is barely audible. _I was Galthos. I am here to give warning._";
	text5 = "Galthos still lurks in the shadows. This ghost of a long-dead vahnatai is barely visible.";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	question = "_Why are you lurking around this cavern?_";
	text1 = "_I haunt this place. Give warnings._";

begintalknode;
	state = 2;
	nextstate = 3;
	question = "_Why are you haunting this god-forsaken place?_";
	text1 = "_My soul is trapped here._";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_Can you be freed?_";
	text1 = "_Oh yes. Yes. Yes. When the lich is slain._";
	text3 = "_You have freed me, but it will still take time to break the bond that has held me to this place for centuries. Still, I will prevail. And I thank you._";
	action = DEP_ON_SDF 50 9 0;

begintalknode;
	state = 1;
	nextstate = 4;
	question = "_What warning do you have for me?_";
	text1 = "Its translucent form grows red for a moment, apparently in anger. _Farther in, these caves host a foul, wicked creature. A lich._";
	text3 = "_But I give warnings no longer. And I thank you for ending the tyranny of the evil lich that lives here._";
	action = DEP_ON_SDF 50 9 0;

begintalknode;
	state = 4;
	nextstate = 5;
	question = "_What is a lich?_";
	text1 = "It twists as if it is howling in anger. You don't hear anything. _One of my people, who studied wicked magics. I was sent by Elika-Bok to negotiate with him._";
	text3 = "_An unnatural horror. That is dead now, and I thank you._";
	action = DEP_ON_SDF 50 9 0;

begintalknode;
	state = 5;
	nextstate = -1;
	question = "_Whatever happened to Elika-Bok?_";
	text1 = "_She is long dead. Her spirit free._";

begintalknode;
	state = 5;
	nextstate = 6;
	question = "_What did Elika-Bok negotiate for?_";
	text1 = "_To try to dissuade him from his rituals. But when I arrived, he was completing the rites to attain immortality in lichhood. I suffered the worst of luck._";

begintalknode;
	state = 6;
	nextstate = 7;
	question = "_How so?_";
	text1 = "_I arrived just before he completed the ritual, and he slew me instantly, just to keep me from bothering him. And, with the magics he was unleashing, my spirit became trapped here until he dies._";
	text2 = "_Oh, how I suffer, how my loneliness afflicts me! But I can hope my ordeal ends soon._";

begintalknode;
	state = 7;
	nextstate = -1;
	question = "_I will try to help end your ordeal, spirit._";
	text1 = "_Yes, it will end when the lich is slain._";
	text3 = "_When I finally fade away, my ordeal will be ended. I have been here a long time, and it will take time for my bonds to fade, but I have hope._";
	action = DEP_ON_SDF 50 9 0;

