// creator  : weidu.exe (version 23100)
// argument : VAELAS.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~VAELAS~

IF ~CheckStatLT(LastTalkedToBy([PC]),14,CHR)~ THEN BEGIN 0 // from:
  SAY #2271 /* ~Outsiders? You are not one of my pretty men! Why are you here?~ */
  IF ~False()~ THEN REPLY #2274 /* ~Wish Plot~ */ GOTO 2
  IF ~False()~ THEN REPLY #2816 /* ~Interesting.  You have much untapped power.~ [DPJON159] */ GOTO 3
  IF ~~ THEN REPLY #2817 /* ~I'm sorry to bother you. I will be leaving shortly.~ */ GOTO 4
  IF ~PartyHasItem("misc4n")~ THEN REPLY #37419 /* ~I apologize for bothering you. I have brought some acorns from your dryad sisters. They have been trapped by an evil mage for many years.~ */ GOTO 11
END

IF ~CheckStatGT(LastTalkedToBy([PC]),13,CHR)~ THEN BEGIN 1 // from:
  SAY #2818 /* ~A pretty one? Have you come to join the merriment for all eternity?~ */
  IF ~False()~ THEN REPLY #2819 /* ~Do you even realize your potential?~ [DPJON160] */ GOTO 2
  IF ~False()~ THEN REPLY #2820 /* ~More intruders have entered the complex, master.~ [GOLEM101] */ GOTO 3
  IF ~~ THEN REPLY #2821 /* ~I'm sorry to bother you. I will be leaving shortly.~ */ GOTO 5
  IF ~PartyHasItem("misc4n")~ THEN REPLY #37430 /* ~I apologize for bothering you. I have brought some acorns from your dryad sisters. They have been trapped by an evil mage for many years.~ */ GOTO 11
END

IF ~~ THEN BEGIN 2 // from: 9.0 3.2 1.0 0.0
  SAY #2833 /* ~They act sooner than we had anticipated.~ [DPJON161] */
  IF ~~ THEN REPLY #2834 /* ~No matter, they will only prove a slight delay.~ [DPJON162] */ GOTO 6
  IF ~~ THEN REPLY #2835 /* ~Tazok~ */ GOTO 7
  IF ~~ THEN REPLY #2836 /* ~Tazok~ */ GOTO 5
  IF ~~ THEN REPLY #2837 /* ~When asked about his past, VALYGAR is silent for a long time and his face becomes grim.  He explains briefly that he is the last of the Corthala noble line, a family that was once one of the wealthiest in Amn.  The Corthalas have always been cursed with magical ability, however, and Valygar spits the words with great derision.  Every Corthala who has used their magical talents has become obsessed with them and ultimately come to a grievous end.  His mother was the most recent victim, although the ranger does not elaborate on the point.  Valygar intends to fulfill his family's oath to find and destroy their ancestor, Lavok, and then he intends to let his cursed bloodline die out once and for all.~ */ GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 9.1 1.1 0.1
  SAY #2838 /* ~IMOEN is a shadow of her former self, but responds to your inquiries with as much of a smile as she can muster. Obviously shaken by the revelations about your shared origins, she seems determined to make the best of things, despite the uncharacteristic that has now made its presence known within her.  The taint of Bhaal was slow to manifest, kept at bay by her carefree outlook, but now the strength of it has shaken her.  She is scared of what she might become, and the insight she has gained has made her more concerned about your condition as well.~ */
  IF ~~ THEN REPLY #2839 /* ~When asked about his past, JAN stops tinkering with his gadgets and states that, despite all claims to the contrary, turnip beer has wondrous medicinal properties in addition to its fine taste.~ */ GOTO 7
  IF ~~ THEN REPLY #2840 /* ~When asked about his past, KELDORN sighs and is forced to think for a moment before counting the number of years he has been a paladin of Torm in the service of the Most Noble Order of the Radiant Heart.  He has battled to protect the defenseless and punish the evil on more occasions than he can recall.  A seasoned veteran with the scars to prove it, Keldorn speaks wistfully of retirement in the future and the opportunity to spend more time with his family.  Upon their mention, however, Keldorn's attention wanders and grows grim.  Duty is more important than personal considerations, he whispers harshly, so long as the Order has need of him.~ */ EXIT
  IF ~~ THEN REPLY #2841 /* ~You dare attack me here?!  Do you even know whom you face?!~ [IRENIC02] */ GOTO 2
END

IF ~~ THEN BEGIN 4 // from: 6.1 2.3 0.2
  SAY #2842 /* ~Go then and leave the circle.  You should never have come here without an invitation.  Away with you, mortal!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 9.2 2.2 1.2
  SAY #2843 /* ~Are you leaving so soon? I had hoped you would stay with us for awhile.  Ahhh, well... mortals must be as they are.  So be it!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.0
  SAY #2844 /* ~You will suffer!  You will all suffer!~ [DPJON132] */
  IF ~~ THEN REPLY #2854 /* ~So godchild, you have escaped.  You are more resourceful than I had thought.~ [DPJON133] */ DO ~Enemy()~ EXIT
  IF ~~ THEN REPLY #2855 /* ~You're not going to torture us any longer.~ [CSIMO01] */ GOTO 4
  IF ~~ THEN REPLY #2857 /* ~Torture?  Silly girl, you just don't understand what I'm doing, do you?~ [DPJON134] */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.2 3.0 2.1
  SAY #2858 /* ~I don't care what you're doing!  Let us go!~ [CSIMO02] */
  IF ~~ THEN REPLY #2859 /* ~I won't let you leave, not when I'm so close to unlocking your power.~ [DPJON135] */ EXIT
  IF ~~ THEN REPLY #2863 /* ~We don't want anything from you!~ [CSIMO03] */ EXIT
  IF ~~ THEN REPLY #2864 /* ~When asked about her past, NALIA is a bit hesitant.  She comes from a wealthy land-owning family headed by Lord de'Arnise, and while she speaks of her relatives with affection, the fact of her upbringing seems to embarrass her at the same time.  Nalia clearly identifies more with the 'poorer classes'... but also looks upon them with the eyes of the privileged.  She has been educated and taught the magical arts, as per her dead mother's wishes, but Nalia states that her years of sneaking out of the castle have taught her the other side of life as well.  She still has much to learn about life beyond her caste, however, and she knows it... and she is sure adventuring is the answer.~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.2
  SAY #2865 /* ~Enough, I will no longer listen to the babbling of ignorant children.~ [DPJON136] */
  IF ~~ THEN EXIT
END

IF ~NumTimesTalkedToGT(0)~ THEN BEGIN 9 // from:
  SAY #2866 /* ~This is an unsanctioned use of magical energy!~ [CSCOW102] */
  IF ~~ THEN REPLY #2868 /* ~All involved will be held!  This disturbance is over!~ [CSCOW501] */ GOTO 2
  IF ~~ THEN REPLY #2869 /* ~Must I be interrupted at every turn!  Enough of this!~ [DPJON137] */ GOTO 3
  IF ~~ THEN REPLY #2870 /* ~You have been involved in illegal use of magic.  You will come with us!~ */ GOTO 5
END

IF ~~ THEN BEGIN 10 // from:
  SAY #3353 /* ~<PLAYER3> follower of <CHARNAME>~ */
  IF ~~ THEN EXTERN ~YOSHJ~ 6
END

IF ~~ THEN BEGIN 11 // from: 1.3 0.3
  SAY #37420 /* ~I've been waiting for you. Ulene, Cania and Elyme must have their trees replanted so that they might be free. Give the acorns to me <BROTHERSISTER>.~ */
  IF ~~ THEN DO ~TakePartyItem("misc4n")
CreateCreature("idryad01",[3894.3122],0)
CreateCreature("idryad02",[4041.3174],0)
CreateCreature("idryad03",[3974.3174],0)~ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #37424 /* ~Sisters! We've longed to see you again, loves!~ */
  IF ~~ THEN EXTERN ~IDRYAD1~ 12
END

IF ~~ THEN BEGIN 13 // from:
  SAY #37426 /* ~Nay, little sister. You are not doomed. Come Llyna! Plant our sister's seeds that they may again taste the wind.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #37427 /* ~Ulene, Cania, and Elyme. Follow Llyna and she shall bring you back to the safety of the forest. Go well and know that I shall protect you forever more.~ */
  IF ~~ THEN EXTERN ~IDRYAD1~ 13
END

IF ~~ THEN BEGIN 15 // from:
  SAY #37429 /* ~Thank you, <CHARNAME>. The forest welcomes you. There has been evil near here and I pray for your safety as you travel. Good bye!~ */
  IF ~~ THEN EXIT
END
