// TOWN DIALOGUE SCRIPT
// 	Town 20: Mount Galthrax (L2)

// This is the dialogue for this town.
// You can use states numbered from 1 to 99.

begintalkscript;

variables;

// *** Experimental Lich ***

begintalknode 1;
	state = -1;
	personality = 200;
	nextstate = 1;
	condition = 1;
	question = "Experimental Lich";
	text1 = "You approach the lich on the table. It stares at you, unable to move anything more than its eyes. Those eyes seem to follow you very carefully, though: it is deeply interested in your movements.";
	text2 = "If you're not mistaken, this lich's body appears reptilian in origin. This lich was once a slith!";
	
begintalknode 2;
	state = 1;
	personality = 200;
	nextstate = 2;
	condition = 1;
	question = "What are you?";
	text1 = "For the first time, the lich's face moves. Its whispered, raspy, hollow voice begins to vibrate, first in its throat, then in its mouth, and after a seemingly impossibly long time, the words reach you.";
	text2 = "_I am the hissing of a thousand snakes in the darkness. I am the darkness, the destruction, and the damnation. I am the twice-dead._";
	
begintalknode 3;
	state = 2;
	personality = 200;
	nextstate = 3;
	condition = 1;
	question = "Twice-dead?";
	text1 = "_Yes. Yesssss. I was once a living mortal, like you. Then the dread lord Dargenloth slew me and revived me as a lich. I was a powerful undead caster, and I served him well. But one day I displeased him, and he ordered me to become an experiment_";
	text2 = "_He killed me again and revived me once more to become a twice-dead lich. I am far removed from this mortal plane. He did not allow me to develop the normal bonds to this reality that a lich needs in order to become an independent entity._";
	text3 = "_As a result, I am a slave. I was magically bound so that he could conduct experiments on me in order to try to create stronger undead servants. But now, I could be free._";

begintalknode 4;
	state = 3;
	personality = 200;
	nextstate = -1;
	condition = 1;
	question = "How could you be free?";
	text1 = "_You could release me. All that you need to do is rub out the red rune a short distance away from me. If you do that, I will be released._";
	text2 = "_I am sure you are wondering why you would want to free me. I have been slave to the undead master Dargenloth for untold ages. My fury is eternal, just as my life is, and Dargenloth has earned my unquenchable rage._";
	text3 = "_If you wish to pass through these mountains, the only way to do it is past Dargenloth. The only way you will be able to pass him is to kill him. I want only to kill him. Our goals are mutually beneficial; help me, and I will help you._";
	text4 = "_Remember: rub out the red rune._";
	action = SET_SDF 20 4 1;
	
begintalknode 5;
	state = 1;
	personality = 200;
	nextstate = -1;
	condition = get_flag(19,13);
	question = "Dargenloth is dead.";
	text1 = "_Truly?_ The lich's face, previously contorted in a kind of agony, relaxes. _Please, then, rub out the red rune that holds me prisoner here. Set me free._";
	code =
	set_flag(20,4,1);
	end();
break;
	
// *** Phaedra identification ***

begintalknode 198;
	state = -1;
	personality = 250;
	nextstate = 99;
	condition = 1;
	question = "Phaedra";
	text1 = "You ask Phaedra if she can identify your items for you. _I sure can,_ she replies, grinning.";

begintalknode 199;
	state = 99;
	personality = 250;
	nextstate = -1;
	condition = 1;
	question = "Please do, then.";
	text1 = "_Sure thing. Only 5 coins per item._ She flashes you another grin,  daring you to ask why she is charging you. You don't.";
	action = ID 5;