// TOWN DIALOGUE SCRIPT
//    Town 81: Island Hut

begintalkscript;

variables;

short i,j,k,r1,choice;

// Bentis-Ka

begintalknode;
	tag = 10;
	state = -1;
	nextstate = 1;
	question = "Bentis-Ka";
	text1 = "The vahnatai bobs its head, performing some sort of greeting. You hope that it is respectful.";
	text2 = "The vahnatai seems glad that you're greeting it peacefully. _I am called Bentis-Ka by my people. The Ka is sign of my position as mage._ It speaks your tongue, but haltingly and with many errors. It thinks. _A mage woman, I think you say._";
	text5 = "The vahnatai stares at you expectantly. She seems like a very tranquil creature. You can't recognize any of the emotions in her pale eyes. Maybe she is calm. Maybe she's terrified. You simply can't tell.";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	condition = gf(81,2) == 0;
	question = "_Uh ... Hello. I come in peace._";
	text1 = "She nods. _I have been wait here for humans to be coming. Before you begin the dark journey, you must learn of my persons._ She pours liquid from a nearby flask into several small crystal cups. _Have a drinking._";

begintalknode;
	state = 2;
	nextstate = -1;
	question = "_What is in this drink?_";
	text1 = "_Water of mold. One of our favorite drink. It will be safe in you._";
	
begintalknode;
	state = 2;
	nextstate = 1;
	condition = gf(81,2) == 0;
	question = "(Back away.) _Creature, keep that foul drink away from me._";
	text1 = "Bentis bows her head. _I am sad of your response. If your hostility continue, you can not make safe journey ahead, and your persons suffer greatly. You must think. Decide what your attitude in future may be._";
	text2 = "_I give chance now, to try and maybe talks._";
	action = SET_SDF 81 2 1;

begintalknode;
	state = 2;
	nextstate = 1;
	question = "Drink some of the beverage.";
	condition = gf(81,2) == 0;
	text1 = "You sip it nervously. It's nasty, but it doesn't kill you. She sips the drink as well. _We greet in peace. A good start. Now, I think and much tell I give you._";
	action = SET_SDF 81 2 1;

begintalknode;
	state = 1;
	nextstate = 8;
	condition = gf(81,2) > 0;
	question = "_You've been waiting for any humans to show up?_";
	text1 = "_Yes, you seem a worthy persons in ways. Sadness that we are hate you. There has been a great crime._";

begintalknode;
	state = 8;
	nextstate = -1;
	question = "_Hold on, you hate us. Why?_";
	text1 = "She reflects for a moment. _That is not for my telling. That must you take journey for first._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(81,2) > 0;
	question = "_You are very strange. You can speak our language?_";
	text1 = "_We are watches you, and some of us learn your speak. At end of a journey, persons of you may be taught our speak and work with us._";

begintalknode;
	state = 1;
	nextstate = 3;
	condition = gf(81,2) >= 1;
	question = "_Now that we have greeted each other, what do you have to tell us?_";
	text1 = "_You must take a dark journey now. Refuse, and all your persons are full of suffering. Great war may happen if not is done._";

begintalknode;
	state = 3;
	nextstate = 4;
	question = "_A dark journey? Doesn't sound too welcoming._";
	text1 = "She nods. _It is dangerous, but this black river is the only way some of your human persons can get to the land. We must bring persons to our land, to try to prevent horroring. I was put here to tell you of my persons, and to tell you the route._";
	text2 = "_I can be giving you some small assistance._";
	action = SET_SDF 81 3 1;

begintalknode;
	state = 4;
	nextstate = 5;
	question = "_Where should I go?_";
	text1 = "_To Avit, city of our vahnatai persons. The route is simple. Take the boat south, down the many tunnels and waterfalls. It will have dangers, for this was once lands of the vahnatai persons before the Resting. The ruins now may have many traps and hurting things._";
	text2 = "_Go south and south, and you may then find the tunnel to Avit._";

begintalknode;
	state = 5;
	nextstate = 6;
	question = "_Tell me, what is Avit like?_";
	text1 = "_Avit is one of few vahnatai cities Awakened. Go. Meet Bon-Ihrno, a great master, who will tell you how you may save your persons._";

begintalknode;
	state = 6;
	nextstate = 4;
	question = "_The whole population of Avit was asleep?_";
	text1 = "_Sleeping? Ah. No. The vahnatai are Awakening from the long Rest. You can learn more in Avit. Do not fear. We hope to not do many killings. We will only sometimes must kill._";

begintalknode;
	state = 1;
	nextstate = 7;
	condition = gf(81,2) >= 1;
	question = "_Who are the vahnatai?_";
	text1 = "_I see horror in your eyes from looking. But that may change I hope, for you find we are like you. Different hair and faces. Still all persons. We are women and men, as yours. I am the former._";
	text2 = "She sips her drink. _One true difference. We are natives of caves. You are not._";

begintalknode;
	state = 7;
	nextstate = -1;
	question = "_If you're the natives, I guess that makes us the invaders?_";
	text1 = "_You call land Avernum. That is meaning old word for underworld, I understand, this is not your true home land. Avernum is word of punishment place, place is deep. But us. Here is our true home, and was for lots years._";
	text2 = "_This place is our love. Here we can only be. We need not be alone. It is some of our hope for peace, and not being killing all not us persons, that am helping you go to Avit._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What sort of assistance can you give me?_";
	text1 = "_In the boxes by door are many foods for your long journey. Once you go, there isn't turning back. Have food._";


begintalknode;
	state = 5;
	nextstate = 8;
	question = "_The Resting?_";
	text1 = "_Many passing times vahnatai slept. Of late awaking and find you in the land and great crime done against us. Now we meet you and learn what you are. That is why you go now to Avit._";

begintalknode;
	state = 8;
	nextstate = -1;
	question = "_A crime? What happened?_";
	text1 = "She remains silent for a minute. Then she says, _Master Bon-Ihrno say what I can tell you now and what waits. That something must wait._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(81,2) >= 1;
	question = "_I will begin the journey then._";
	text1 = "Bentis-Ka nods solemnly. _You are honor and brave. Your effort may save all persons, but you are succeeding. I wish your life._";
	action = END_TALK;
	
// Lizard

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 32;
	question = "Lizard";
	text1 = "A fat, sluggish lizard wanders around the house. It's either a pet or food.";
	text5 = "The lizard continues to waddle around.";
	action = INTRO;

begintalknode;
	state = 32;
	nextstate = 33;
	question = "Approach lizard.";
	text1 = "It hisses at you. It takes a while for it to build up the strength.";

begintalknode;
	state = 33;
	nextstate = -1;
	question = "_Good lizard._ Try to pet it.";
	text1 = "_HISSSssss...._ The hiss seems to tire it out. The pudgy creature rolls onto its side and falls asleep.";
	action = END_TALK;

