// TOWN DIALOGUE SCRIPT
//    Town 66: Lair of Sulfras

begintalkscript;

variables;

short i,j,k,r1,choice;

begintalknode;
	tag = 1;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "Sulfras has bound the spirits of several Empire soldiers. They are trapped here in lasting torment, compelled to stay here and defend the dragon's lair.";
	text2 = "They can't talk. They stare at you and moan.";

// Sulfras

begintalknode;
	tag = 10;
	state = -1;
	nextstate = 1;
	question = "Sulfras";
	text1 = "Once again, you meet the dragon Sulfras. This time, she stands tall and proud, her massive wings raised above her. She looks down at you as if you were an insect.";
	text2 = "_Welcome back, tiny rescuer. I am Sulfras, true master of this fort._";
	text5 = "The dragon smiles, and her rumbling voice is deep and confident. _You still stand in my domain. I would have you go, so I can rebuild. Move to conclude your business. I have much to do._";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	question = "_How do you fare, mighty dragon?_";
	text1 = "_I am rebuilding my lair and reaccumulating my treasure. The Empire did much damage, and they will pay._";

begintalknode;
	state = 2;
	nextstate = -1;
	question = "_Good luck clearing away the mess._";
	text1 = "_It is a massive job. Those humans razed my beautiful palace to the ground to make room for their squalid fort. Yet, I will rebuild it, grander than before!_";

begintalknode;
	state = 2;
	nextstate = 3;
	question = "_Where do you plan to get more treasure from?_";
	text1 = "She furiously grinds her huge, stained teeth. Smoke trails up from one of her nostrils. _They stole my treasure. They took all of it that wasn't hidden away. But I have started building a new trove, starting with the gold and weapons I stripped from their corpses!";
	text2 = "_I must get treasure, if I am to have status in the eyes of my siblings. I will get it off of the bodies of Empire soldiers, upon whom I have my glorious revenge._";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_So then your finest treasures were hidden?_";
	text1 = "Sulfras looks at you with distrust. _You should not concern yourself with such things. Some of my treasure was well hidden. Not enough._";

begintalknode;
	state = 3;
	nextstate = 4;
	question = "_Might I inquire who your siblings are?_";
	text1 = "_Khoth and Athron. And Motrax. I am stronger than all of them, but I will have no status in their eyes if I don't have a trove._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What do you know of Khoth?_";
	text1 = "Sulfras shoots flames in anger. _Quisling! He aids the Empire! I suspect it was he who told them how to catch me! I will have pointed words with him before all of this ends._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What do you know about Athron?_";
	text1 = "_The recluse. I have not spoken with her in a long time._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What do you know about Motrax?_";
	text1 = "_Motrax is my brother. We come from the same brood. Yet, some dragons age more quickly than others. I hope he passes on soon. His weakness gives our kind a bad name._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(66,11) == 0;
	question = "_I have freed you, I demand the Onyx Scepter!_";
	code =
	run_hardcode(50);
	break;

begintalknode;
	state = 1;
	nextstate = 5;
	condition = gf(66,11) >= 1;
	question = "_The scepter is not enough. I demand more!_";
	text1 = "_Do not presume upon my gratitude. Your arrogance offends me. Leave me now, or I will serve you as I served the foolish Empire soldiers._";

begintalknode;
	state = 5;
	nextstate = -1;
	question = "_All right. I'm leaving._ (Leave.)";
	text1 = "Sulfras watches silently as you back away. She is furious at the Empire. She manages to keep from transferring that anger to you.";
	action = END_TALK;

begintalknode;
	state = 5;
	nextstate = -1;
	question = "_No! You will pay me or die!_ (Attack.)";
	text1 = "_Fools! You think I have not recreated my defenses! Now, you die!_";
	action = END_TALK;
	code =
		set_attitude(6600,10);
		set_attitude(30003,10);
	break;

begintalknode;
	state = 1;
	nextstate = -1;
	question = "_Can you teach me any magic?_";
	text1 = "_I can, but I will not. You will have the reward you were promised. No more._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = 1;
	question = "_That is all I need._";
	text1 = "_Then leave me. I have much to plan. A long road, that ends in vengeance. The surface worlders will pay for what they have done to us. I promise it._";
	action = END_TALK;