// TOWN DIALOGUE SCRIPT
//    Town 31: Olgai

begintalkscript;

variables;

short i,j,k,r1,choice;

begintalknode;
	tag = 2;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "The vahnatai guards stands motionlessly at attention, alert for any threat that might invade and try to harm their leaders. When you try to speak with them, they ignore you.";
	
// Glantris-Bok

begintalknode;
	tag = 10;
	state = -1;
	nextstate = 1;
	question = "Glantris-Bok";
	text1 = "This stern, aged leader of the vahnatai sits at the end of the table, lost in thought. He still doesn't trust you, but he is at least willing to tolerate your presence.";
	text2 = "_I am Glantris, a Bok of the vahnatai people and their sworn protector._";
	text5 = "Glantris sits and watches you carefully. Even after all you've done, he still seems to be analyzing you, trying to find a flaw.";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	question = "_May I ask what you are thinking about?_";
	text1 = "_I am contemplating the reasons why some of you humans have decided to dishonor us._";

begintalknode;
	state = 2;
	nextstate = 3;
	question = "_What do you think the reasons might be?_";
	text1 = "_My theory is this. Many of the Boks have had magical powers, and these powers were retained by their crystal forms. The thieves may have felt our ancestors to be little more than precious magical items._";
	text2 = "He seems repulsed by the notion. _You humans greatly value your magical items. I shudder to think the spirits of my predecessors could be considered mere stones! Trinkets!_";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_What sorts of magical powers do the Crystal Souls have?_ ";
	text1 = "_They could use all the spells they could cast in life, and many more. The thieves must have been powerful, to avoid being slain by the Crystal Souls outright._";

begintalknode;
	state = 2;
	nextstate = -1;
	question = "_I do not want to dishonor the vahnatai._";
	text1 = "_Perhaps. I will not accuse you, but some humans are lowly creatures indeed._";
	text2 = "_You have to understand the importance of the Crystal Souls to us. They are the living history, wisdom and conscience of their people. They are living beings, the most valued of us all._";

begintalknode;
	state = 1;
	nextstate = -1;
	question = "_What do you think of Avernum?_";
	text1 = "_When all three of the Crystal Souls have been returned, it would be best for you to ask that question. Until then, I will be unable to regard you surface invaders with anything but honest loathing._";
	text3 = "_Since you returned our Crystal Souls, I must say there are elements of honor in the surface invaders. You are, at the same time, threats to us, occupiers of our caves. I must think long on the balance._";
	action = DEP_ON_SDF 30 11 0;

begintalknode;
	state = 1;
	nextstate = 4;
	condition = gf(30,15) == 0;
	question = "_Do you have any advice on how to find the Crystal Souls?_";
	text1 = "_I think I do. We have been watching you ... Avernites, you call yourselves?_";
	text2 = "_We hear speak often of a female of the human species, a powerful one, named Erika. If she is skilled in magic, she may be able to help you track the Souls down._";
	code =
		toggle_quest(114,1);
		toggle_quest(132,1);
	break;
	
begintalknode;
	state = 4;
	nextstate = -1;
	condition = 1;
	question = "_I will speak with Erika._";
	text1 = "_Yes. Her lands are remote, but there is one who speaks with her. We know of him from our ... Snooping? Is this a word?_";
	text2 = "_The wizard's name is Solberg. He is near your Formello city._";
	
begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(30,15) > 0 && gf(30,11) == 0;
	question = "_Do you have any advice on how to find the Crystal Souls?_";
	text1 = "_Not yet. I still search. Speak with the others on the Council. They may know more._";	
	
// Elohi-Bok

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 28;
	question = "Elohi-Bok";
	text1 = "A tired vahnatai, perhaps middle-aged, stares at you with huge, pale eyes. _I am Elohi-Bok, servant of the vahnatai people._ He wears a delicate golden torc.";
	text2 = "Elohi was silent during your interrogation, and he is mostly quiet now. He watches your movements silently, fascinated by your alien form.";
	text5 = "Though Elohi's eyes are pointing at you, he doesn't seem entirely present. Part of his mind is distracted by your alien form. Otherwise, he is simply lost in thought.";
	action = INTRO;

begintalknode;
	state = 28;
	nextstate = 29;
	question = "_What are you working on?_";
	text1 = "He holds up a thick sheaf of papers, covered with calculations, notes, and thick blocks of cramped handwriting. _It has fallen to me, I am afraid, to ponder the future._";

begintalknode;
	state = 29;
	nextstate = 30;
	question = "_What do you predict will happen in the future?_";
	text1 = "_Beyond the wars? The caves now are very different from what they were when we began our last Resting. There are humans now, and nephilim and nepharim, and the sliths, and the other races you told us of. And only we can hibernate._";
	text2 = "_One day, I fear, we will fall to squabbling._";

begintalknode;
	state = 30;
	nextstate = -1;
	question = "_How often do the vahnatai hibernate?_";
	text1 = "_Every few centuries, to give the caves a chance to regenerate. Life down here is hard, as you no doubt have found. The resources we require to live are limited._";

begintalknode;
	state = 30;
	nextstate = 31;
	question = "_Squabbling over the caves?_";
	text1 = "_Yes. We are only one of many tribes, and there is only so much space in our caves. The future may be ugly. The question is whether you all may one day be happier on your surface._";

begintalknode;
	state = 31;
	nextstate = -1;
	question = "_Many Avernites would be happier on the surface._";
	text1 = "_That is where you belong. I suspect we will need to fight the Empire one day. When we do, the battle may continue to the surface. Perhaps you will then be able to return there._ He looks down at his notes and back up at you.";
	text2 = "_I cannot be sure, but in the long run this may be the only way for us all to have peace._";

begintalknode;
	state = 28;
	nextstate = -1;
	condition = gf(30,15) == 0;
	question = "_Where do you think I should look for the Crystal Souls?_";
	text1 = "_I spend every spare moment trying to answer that question. As yet, I have learned nothing. Speak with others on the Council. They may know more._";

begintalknode;
	state = 28;
	nextstate = 32;
	condition = gf(30,15) > 0 && gf(30,16) == 0;
	question = "_Where do you think I should look for the Crystal Souls?_";
	text1 = "_There are two forces of humans: Avernum, and the Empire. Suppose the Empire is responsible for the theft? Then you should search well any Empire fortresses you can find, especially if they have signs of stolen vahnatai artifacts._ ";

begintalknode;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "_Anywhere you think I should start?_";
	text1 = "_In an advance fort, perhaps. One not deep in enemy lands. Such as ..._ He checks his records. _There is one called Limoncelli. An Empire leader in Fort Dolthar, an island fort in the middle of Avernum._";
	text2 = "_Many of the Empire soldiers we watch speak of him as a spymaster and gainer of knowledge. How can he not know of the theft?_";
	code =
		toggle_quest(115,1);
	break;
	
begintalknode;
	state = 28;
	nextstate = -1;
	condition = gf(30,16) > 0 && gf(30,11) == 0;
	question = "_Do you have any advice on how to find the Crystal Souls?_";
	text1 = "_Not yet. I still search. Speak with the others on the Council. They may know more._";	
	
begintalknode;
	state = 28;
	nextstate = -1;
	condition = gf(30,14) == 0;
	question = "_Did you want me to be brought to vahnatai lands?_";
	text1 = "_I feel that it was a foolish act. It revealed us to the humans and brought us no gain in return. Were you to recover a Crystal Soul, I might change my opinion, but I have little faith in you._";
	text3 = "_I opposed the idea, at first, but, now that you have aided us in regaining what was stolen, I realize that I may have been mistaken._";
	action = DEP_ON_SDF 30 14 0;

begintalknode;
	state = 28;
	nextstate = -1;
	condition = gf(31,0) >= 1 && gf(30,16) == 0;
	question = "_Tell me again how to get into Pyrog's lair?_";
	text1 = "_There is a secret entrance in the back. Approach the lair not by ground but by boat, to its north. There is a secret passage that will let you enter from the north. Once inside, you will be able to find a Crystal Soul._";
	
// Prossis-Bok

begintalknode;
	tag = 50;
	state = -1;
	nextstate = 55;
	question = "Prossis-Bok";
	text1 = "You meet a tall, stately vahnatai woman, wearing the thin gold torc all the Boks wear. She is the only member of the Council who stood up for you, but she is cautious when you approach. You still have much to prove.";
	text2 = "_I am Prossis-Bok, friend to the vahnatai people. I will be friend to you, if you prove yourself worthy of our trust. We should not have attacked Avernum so quickly._";
	text5 = "Prossis absent-mindedly rubs her torc of office as she watches you. _What is it, creature from the surface? How may we have peace with Avernum?_ She seems intent on assisting you as well as she can.";
	action = INTRO;

begintalknode;
	state = 55;
	nextstate = 56;
	question = "_What do you do for the vahnatai?_";
	text1 = "_I contemplate the direction our people will take in this time of turmoil. I look for the direction we may travel to find peace. Then I make my recommendations to the Council. Often, we disagree._";

begintalknode;
	state = 56;
	nextstate = -1;
	question = "_Why are you seeking peace?_";
	text1 = "_Living in these caves is a hard, hard thing in the best of times. War makes it nearly impossible._";

begintalknode;
	state = 56;
	nextstate = -1;
	question = "_What ideas have you come up with?_";
	text1 = "_I contemplate our direction to take in the future: whom to attack, how, and when, and whether the group we are attacking is the right one. Alas, our targets aren't always the correct ones, as you now know._";

begintalknode;
	state = 55;
	nextstate = 57;
	question = "_Why did you attack Avernum so quickly, without even trying to contact us?_";
	text1 = "_That was unfortunate. Glantris and Elohi fear and dislike humans, although they can still be rational when faced with facts. Rentar-Ihrno is much the same way, and is much more powerful._";

begintalknode;
	state = 57;
	nextstate = -1;
	question = "_Exactly how powerful is Rentar-Ihrno?_";
	text1 = "__";
	code =
	run_hardcode(108);
	break;

begintalknode;
	state = 55;
	nextstate = -1;
	condition = gf(30,16) == 0;
	question = "_Where do you think the lost Crystal Souls might be hidden?_";
	text1 = "_I don't know. It is important to admit when one is ignorant._";
	text2 = "_Speak with others on the Council, and give me time. I will try learn more._";

begintalknode;
	state = 55;
	nextstate = 59;
	condition = gf(30,17) == 0 && gf(30,16) > 0 && has_spec_item(16) == 0;
	question = "_Where do you think the lost Crystal Souls might be hidden?_";
	text1 = "_There is a village called Mancuso, east of here. To the north of it, you will find a fortress filled with rogue vahnatai. I suspect that they might have had something to do with the theft of the Crystal Souls. It is worth investigation._";
	text2 = "_Before going, though, you should prepare yourselves in your own lands. The vahnatai in that fortress are very strong._";
	code =
		toggle_quest(116,1);
	break;
	
begintalknode;
	state = 59;
	nextstate = -1;
	condition = 1;
	question = "_Rogue vahnatai?_";
	text1 = "_Ones who stand apart. Thieves and brigands. Thugs. I'm sure humans have such deviants among them._";
	
begintalknode;
	state = 59;
	nextstate = -1;
	condition = 1;
	question = "_You think vahnatai helped to steal the souls?_";
	text1 = "_I can barely think of the possibility. It is too horrible. Only ... Search the castle. Look for evidence. Scrolls or other writings. I hope you find nothing. If you do, I will need something solid to convince the Council._";
	
begintalknode;
	state = 59;
	nextstate = -1;
	condition = 1;
	question = "_Can you give me any more advice about infiltrating the fort?_";
	text1 = "_There is a vahnatai in Mancuso, to the east, named Tokor-Te. That hunter has an interest in hunting the leader of the brigands. He follows his path with an intensity that is ... disturbing._";
	text2 = "_I only care about evidence for the theft, not hunting bandit vahnatai. Still, if you help him, he might be able to help you._";

begintalknode;
	state = 55;
	nextstate = -1;
	condition = gf(30,11) > 0;
	question = "_What will happen now that the Crystal Souls are returned?_";
	text1 = "_Now we prepare. The rage of the vahnatai has been raised. We will punish those who harmed us and aid those who showed honor._";
	
begintalknode;
	state = 55;
	nextstate = 58;
	question = "_It seems like everyone we have met knew about our journey to your lands._";
	text1 = "_That is because we watched everything. We saw every step of your journey, using our magic viewing crystals. We judged you by the courage you showed during the perilous trip._";

begintalknode;
	state = 58;
	nextstate = -1;
	question = "_Could I use the viewing crystal?_";
	text1 = "_At this point, it would not be for the best. When all three Crystal souls are returned, perhaps._";
	text3 = "_It would be wise. Now that you have returned the three Crystal Souls, we have told the viewing crystals to reward you with knowledge. They are to the east, and there is a concealed passage which will help you reach them._";
	action = DEP_ON_SDF 30 11 0;

begintalknode;
	state = 55;
	nextstate = -1;
	condition = has_spec_item(16) > 0;
	question = "_What should I do with these orders for Fort Haledon?_";
	text1 = "_Fort Haledon is far to the west. Nearby is Ornotha Ziggurat, where one of the Crystal Souls is hidden. Take the orders to Fort Haledon, and they will help you recover the Crystal Soul._";


// Riditas

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 82;
	question = "Riditas";
	text1 = "A vahnatai woman sits at a long table, covered with all manner of mushrooms and herbs. She is busily sealing sticky lumps of savory fungus in stone jars. _I am Riditas. Welcome to my shop, outsider._";
	text5 = "Riditas continues to preserve the large, spotted mushrooms. They are a breed which is edible to humans, though it can cause indigestion and other, stranger, effects.";
	action = INTRO;

begintalknode;
	state = 82;
	nextstate = 83;
	question = "_What are you preparing?_";
	text1 = "She holds up two stone jars. _I have fine preserved mushrooms for you to buy, if you are interested._";

begintalknode;
	state = 83;
	nextstate = -1;
	question = "_Why do you use stone jars?_";
	text1 = "_The best way to preserve the food that I've found. I can not always get the supplies I need, so I use what I can._";

begintalknode;
	state = 83;
	nextstate = -1;
	condition = 1;
	question = "_How long will they stay edible?_";
	text1 = "_A minimum of three centuries is expected. We vahnatai make caches to last for a long time. That is why my kitchen has so much equipment._";

begintalknode;
	state = 82;
	nextstate = -1;
	question = "_How are your mushrooms?_";
	text1 = "_Only the best. Large, soft, well treated, and very energizing. And few harmful hallucinations!_";

begintalknode;
	state = 82;
	nextstate = -1;
	question = "_Let me buy some mushrooms, please._";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Fine Mushrooms","Riditas offers to sell you fresh mushrooms. Your need for provisions that stay good for centuries is low.",26,2,3);
	break;

begintalknode;
	state = 82;
	nextstate = -1;
	condition = 1;
	question = "_I don't need any mushrooms._";
	text1 = "_Then return when you do!_";
	action = END_TALK;

// Spira

begintalknode;
	tag = 90;
	state = -1;
	nextstate = 109;
	question = "Spira";
	text1 = "A withered old vahnatai sits cross-legged in front of the brazier. He holds a waveblade in his long spiderlike fingers and runs a stone along its edge with almost microscopic detail.";
	text2 = "He speaks without turning to look at you. _Hello, aliens. I am Spira, master bladesmith._";
	text5 = "Spira continues to run the stone down the edge of the waveblade, slowly, precisely, again and again. He must work days, or even months, to make a single blade.";
	action = INTRO;

begintalknode;
	state = 109;
	nextstate = 110;
	question = "_How do you make those waveblades?_";
	text1 = "_I spend weeks on each blade, demanding only perfection from each one. No less will do. Bon-Ihrno has spoken with me, and convinced me to let you buy some of my goods, so humans can see the glory of vahnatai crafts._";

begintalknode;
	state = 110;
	nextstate = 111;
	question = "_Would you normally be that reluctant to sell to me?_";
	text1 = "_My goods are crafted and molded by hand, formed from the metal with heat and magic, then buffed and worked to perfection. It takes days, pride, and patience. You should appreciate the honor it is to use my weapons._";
	text2 = "_Normally, it would disgust me to know my work is in the hands of aliens. But an Ihrno requested it as a favor, so there you are._";

begintalknode;
	state = 111;
	nextstate = -1;
	question = "_Perfection. Sounds demanding._";
	text1 = "_The other day I threw a buckler better than any you carry into the trash heaps south of the city. It had a minor flaw. Better chitrachs lay eggs in my body than I let one of my fellows trust his or her life to flawed goods._";
	text2 = "_This is the pride we bladesmiths take in our work. Always have and always will._";

begintalknode;
	state = 109;
	nextstate = -1;
	question = "_It would be an honor to purchase an item from you._";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Spira the Bladesmith","Spira takes as much care forging his blades and other weapons as any human you have ever met.",30,5,3);
	break;

begintalknode;
	state = 109;
	nextstate = 112;
	question = "_What do you think of my weapon?_ (Show it to him.)";
	text1 = "He snorts. _Beneath my notice._";

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(31,19) == 0;
	question = "_You shouldn't mock. Avernites can do mighty things._";
	text1 = "_You can do mighty things with a rock, if you throw it hard enough. I am not impressed._ He holds up the sword he's working on. _This! This is a true weapon!_ You have to admit, it is impressive.";
	action = SET_SDF 31 19 1;

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(31,19) == 0;
	question = "_True. Avernum's weapons are no match for yours._";
	text1 = "He nods. _You are gaining in wisdom, alien._";
	action = SET_SDF 31 19 1;

begintalknode;
	state = 109;
	nextstate = -1;
	condition = 1;
	question = "_I don't need anything._";
	text1 = "Spira quietly continues his work.";
	action = END_TALK;
	
// Corman

begintalknode;
	tag = 110;
	state = -1;
	nextstate = 136;
	question = "Corman";
	text1 = "This woman stands upright on a small carpet, humming in a low monotone, contemplating the bow on the carpet before her. She occasionally reaches out and touches the crystal before her, and then she continues her reverie.";
	text2 = "When you get close, she stops humming and opens her eyes to look at you. _Ah. You. I am Corman. I am a Ponder. We can trade._";
	text5 = "Corman sways slowly back and forth as she talks to you. She is simultaneously staring at her bow and listening to some speech you can't hear.";
	action = INTRO;

begintalknode;
	state = 136;
	nextstate = 137;
	question = "_Can you explain to me what a Ponder is?_";
	text1 = "_I am a Ponder. I contemplate what I have been asked to, in this case the different, strange items you humans use._";
	text2 = "_We have much to learn, and I am pausing my other work to help learn it._";

begintalknode;
	state = 137;
	nextstate = -1;
	condition = 1;
	question = "_What is your normal work?_";
	text1 = "_Shaping and treating crystals. It is valued work, but now we need knowledge more than stones._";

begintalknode;
	state = 137;
	nextstate = -1;
	condition = 1;
	question = "_What do you think of human tools?_";
	text1 = "_Few of my kind admit it, but the humans and sliths and such show great ingenuity. We have much to learn._";
	
begintalknode;
	state = 136;
	nextstate = -1;
	question = "_I would like to trade with you._";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Corman the Ponder","Corman is willing to sell you human artifacts she is done studying.",31,3,3);
	break;

begintalknode;
	state = 136;
	nextstate = -1;
	condition = 1;
	question = "_I would like to sell something._";
	text1 = "You conclude your business.";	
	code = 
		begin_sell_mode();
	break;

begintalknode;
	state = 136;
	nextstate = -1;
	condition = 1;
	question = "_I don't need anything._";
	text1 = "_I see. Return when you have human trinkets I can play with._ She returns to contemplating the crystal and the bow.";
	action = END_TALK;
	
// Ublis-Ihrno

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 163;
	question = "Ublis-Ihrno";
	text1 = "You meet a vahnatai male in intricate robes. He wears the same flowing poncho as all of the vahnatai, but covered with a bold pattern of lines. He says, _I am Ublis-Ihrno, honored healer of my people._";
	text5 = "Ublis-Ihrno waits to see if he can help you. His head remains humbly bowed.";
	action = INTRO;

begintalknode;
	state = 163;
	nextstate = 164;
	question = "_I have never met a vahnatai healer before._";
	text1 = "_I am the only healer who is currently awake. Thus, it is fortunate that I only have one patient. I have time to heal you, if you wish, for a small donation._";

begintalknode;
	state = 164;
	nextstate = 165;
	question = "_Are others being woken up now?_";
	text1 = "_We are waking up our tribe as fast as we can, but it takes a long time and is dangerous, as you can see..._ He points at his patient.";

begintalknode;
	state = 165;
	nextstate = -1;
	question = "_What is wrong with your patient?_";
	text1 = "_His name is Kiffme. He was attacked by chitrachs while awaking some of us. He'll live, but for a while he'll wish he hadn't._";

begintalknode;
	state = 163;
	nextstate = -1;
	question = "_May I buy some of your healing services?_";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Ublis-Ihrno","A small subset of Ublis-Ihrno's healing skills can aid humans.",32,3,3);
	break;

begintalknode;
	state = 163;
	nextstate = 166;
	question = "_Have you been able to inspect any aliens this closely?_";
	text1 = "_No. I have heard some things about humans. They are pink and soft. I also hear tell that there are similar creatures, called nephilim and sliths._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = nephil_present() > 0;
	question = "_You have a nephil before you._";
	text1 = "Ublis-Ihrno is thrilled at the prospect of meeting an actual nephil. He stares openly for several minutes, without the slightest trace of embarrassment. _Fascinating. Very nimble creature._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = slith_present() > 0;
	question = "_You are in the presence of a slith now._";
	text1 = "Ublis-Ihrno is fascinated. _Marvelous! What scales! What musculature! A fantastic specimen._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = nephil_present() == 0 && slith_present() == 0;
	question = "_Alas, all of the sliths and nephilim are still in Avernum._";
	text1 = "_Ah, well. I can be patient. I'm sure I will be able to examine specimens of their races soon enough._";

begintalknode;
	state = 163;
	nextstate = -1;
	condition = 1;
	question = "_I don't need anything._";
	text1 = "_I am pleased. I hope your good health continues._";
	action = END_TALK;
	
// Pider

begintalknode;
	tag = 150;
	state = -1;
	nextstate = 190;
	question = "Pider";
	text1 = "This is a rare sight: a vahnatai child. She's slightly shorter than you, with impossibly thin limbs, barely more than bones. She wears the closed, luminescent wrap characteristic of all vahnatai. She bows and introduces herself. _I'm Pider._";
	text5 = "Pider looks up at you, frightened and curious at the same time.";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = 191;
	question = "_Working hard?_";
	text1 = "She looks confused. _Work?_ She giggles, a strangely deep noise. _I don't work, silly! I'm only twenty!_";

begintalknode;
	state = 191;
	nextstate = -1;
	question = "_Twenty? Perhaps you should be in school?_";
	text1 = "_I won't be schooling for years and years, silly!_ She twirls, trying to make her wrap fly out. It's too stiff for that.";

begintalknode;
	state = 190;
	nextstate = 192;
	question = "_How do you like living here?_";
	text1 = "_It is lonely. My parent has not yet been awakened, so I walk around and talk to my kind._";

begintalknode;
	state = 192;
	nextstate = 193;
	question = "_Anyone interesting?_";
	text1 = "_I am interested in Gnee. He skulks around the passages that way._ She points to the southwest. _He keeps saying I should go away, that he is waiting to meet with someone important. He is strange._";

begintalknode;
	state = 193;
	nextstate = -1;
	question = "_Anyone else I should know about?_";
	text1 = "_Not really._";

// Ortala-Te

begintalknode;
	tag = 170;
	state = -1;
	nextstate = 217;
	question = "Ortala-Te";
	text1 = "The male sitting at the end of the table has three waveblades and a dozen razordisks spread out before him. He is polishing and sharpening one after another. When he gets to the end of the row, he starts over again.";
	text2 = "_I am Ortala-Te._ His voice is grim. He's not happy to be talking with you.";
	text5 = "Ortala-Te continues to sharpen his weapons, ignoring you. They look like they could cut solid rock.";
	action = INTRO;

begintalknode;
	state = 217;
	nextstate = 218;
	question = "_Excuse me, may I speak with you?_";
	text1 = "_I am the guardmaster of Olgai, and I don't have time to deal with outsiders, guests or not. Why don't you find one of us who is interested in you?_";

begintalknode;
	state = 218;
	nextstate = 219;
	question = "_What do you think of humans?_";
	text1 = "_I don't trust humans. I don't want to speak to you. Some of us do trust you. Go bother them._";

begintalknode;
	state = 219;
	nextstate = -1;
	question = "_Who trusts us, then?_";
	text1 = "He snorts. _Fools like Gnee. He's been wandering around saying how interesting humans are. He said something about their Empire once. Go ask him about it. I'm sure he'd love to talk to you._ He goes back to sharpening his blades, ignoring you.";
	action = END_TALK;

// Gnee

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 244;
	question = "Gnee";
	text1 = "An unusually bulky vahnatai sits alone in this quiet, dusty hall. He reclines at a table and watches you approach. _I'm Gnee,_ he mutters. He is truly fascinated by you. He stares at your body with an unnerving intensity.";
	text5 = "Gnee watches you carefully. He finds your body very interesting. You, in turn, can't help but note how unusually thick and muscular he is.";
	action = INTRO;

begintalknode;
	state = 244;
	nextstate = 245;
	question = "_Why are you staring at me?_";
	text1 = "_I'm interested in outsiders. Like us. Not like us._ He speaks quietly. He's clearly nervous about something.";

begintalknode;
	state = 245;
	nextstate = 246;
	condition = gf(31,18) == 0;
	question = "_Why are you interested in me?_";
	text1 = "He leans close to you. _You're humans. There are lots of interesting sorts of humans. I love hearing about the different tribes of humans. What tribes they are from._";
	text2 = "He watches you carefully, seemingly waiting for something.";

begintalknode;
	state = 246;
	nextstate = -1;
	question = "_I'm from Avernum._";
	text1 = "He backs away. _Oh. Then I suppose that that is interesting._ He turns away.";
	action = END_TALK;

begintalknode;
	state = 246;
	nextstate = 247;
	question = "_I'm from the Empire. On the surface._";
	text1 = "_Good._ He starts to speak very quietly. He looks very nervous. _I thought you would never get here. I left the key for you in Avit. It's in the old, twisted tree behind the barracks._ He looks around.";
	text2 = "_Now go. I'll be suspected if I'm seen talking too much to humans._";
	code =
		sf(31,18,1);
	break;

begintalknode;
	state = 247;
	nextstate = -1;
	question = "_Why? Are you doing something wrong talking to me?_";
	text1 = "_I have said what I need to say. Now go._ He turns away.";
	action = END_TALK;

begintalknode;
	state = 244;
	nextstate = -1;
	condition = gf(31,18) > 0;
	question = "_I want to talk to you._";
	text1 = "_No. Go. I told you of the key. Old tree in Avit. Behind barracks. If I am seen talking to you, I could be hurt. Go._";
	action = END_TALK;
	
// Glantris-Bok

begintalknode;
	tag = 210;
	state = -1;
	nextstate = 271;
	question = "Glantris-Bok";
	text1 = "A savagely scarred vahnatai fighter slumps back on a stool. He's clearly in agony. He moans very softly. _Kif ... Kiffme. Weak. Must sit._";
	text5 = "The warrior Kiffme sits and moans.";
	action = INTRO;

begintalknode;
	state = 271;
	nextstate = 272;
	question = "_What did this to you?_";
	text1 = "He looks up at you. _Chitrach,_ he mumbles. _Lots of them. But we beat them. We won._";

begintalknode;
	state = 272;
	nextstate = -1;
	question = "_I'm glad you won._";
	text1 = "He mumbles incoherently. He must have been given some sort of very powerful pain-killing herb. You leave him in peace.";
	action = END_TALK;

// Vaina-Te

begintalknode;
	tag = 230;
	state = -1;
	nextstate = 298;
	question = "Vaina-Te";
	text1 = "An exceptionally tall vahnatai female practices bladework here. Her waveblade traces frighteningly intricate paths through the air. She stops her practicing and walks up to you.";
	text2 = "She turns when you approach. _I am Vaina-Te. Teacher of vahnatai._";
	text5 = "Vaina-Te continues to practice her elaborate fighting motions.";
	action = INTRO;

begintalknode;
	state = 298;
	nextstate = -1;
	condition = gf(30,14) == 0;
	question = "_That is some impressive bladework._";
	text1 = "_Yes. I know. I was told to offer you humans training if you need it. First, you need to prove yourself. You have not. Leave me._";
	action = END_TALK;

begintalknode;
	state = 298;
	nextstate = 299;
	condition = gf(30,14) > 0;
	question = "_That is some impressive bladework._";
	text1 = "_Yes. I was told to offer you humans training if you need it. I don't like it, but I'll do it. You have proved yourself._";

begintalknode;
	state = 299;
	nextstate = -1;
	condition = 1;
	question = "_Please train me._";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Vaina-Te",
		  "Vaina-Te can teach you the martial techniques of the vahnatai. She doesn't want to, but you have proved yourself.",
		  33,5,0);	
	break;
	
begintalknode;
	state = 299;
	nextstate = -1;
	condition = 1;
	question = "_I don't need any more training._";
	text1 = "_Good. Leave me._";
	action = END_TALK;
