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

BEGIN ~FTOWFR~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #3 /* Triggers after states #: 3 6 even though they appear after this state */
~RandomNum(11,1)
~ THEN BEGIN 0 // from:
  SAY #860 /* ~Lunisia~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 3 6 even though they appear after this state */
~RandomNum(11,2)
~ THEN BEGIN 1 // from:
  SAY #861 /* ~Lunisia~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 3 6 even though they appear after this state */
~RandomNum(11,3)
~ THEN BEGIN 2 // from:
  SAY #862 /* ~After slaying the troll, you've obtained his decapitated head.~ */
  IF ~~ THEN JOURNAL #7253 /* ~The Transformation and the Dream

I have found Imoen in my dream.  Perhaps it is the real Imoen, somehow, or perhaps it is something else that I see as Imoen.  Regardless, all she would say is that I must go and find the 'Bhaal creature'... what she described as my instinct... and bring it to her so that we may fight it together.  If I fight it alone, win or lose, I will be killed.~ */ EXIT
END

IF WEIGHT #0 ~GlobalGT("Chapter","GLOBAL",2)
~ THEN BEGIN 3 // from:
  SAY #863 /* ~This is the stone horn of a minotaur statue.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(11,4)
~ THEN BEGIN 4 // from:
  SAY #864 /* ~This horn can be blown to signal the harbor guards. They will open the sea gates to allow a ship through. Without the horn, a ship would never leave the harbor.~ */
  IF ~~ THEN JOURNAL #7254 /* ~~ */ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(11,5)
~ THEN BEGIN 5 // from:
  SAY #865 /* ~This is the Light Gem obtained from the svirfneblin king. The light that it brings forth seems powerful enough to dispel any darkness.~ */
  IF ~~ THEN JOURNAL #7254 /* ~~ */ EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 6 // from:
  SAY #6420 /* ~I'll retrieve the documents, but I don't need you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #9057 /* ~Too late for that; I can't appear weak to my guests. Fortunately my comrades enjoy a bit of sport. Come! See these foolish creatures dispatched by my hand!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 ~RandomNum(11,6)
~ THEN BEGIN 8 // from:
  SAY #15950 /* ~No thanks, I'm not interested.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #9 ~RandomNum(11,7)
~ THEN BEGIN 9 // from:
  SAY #16038 /* ~Oh, of course!  Hes is never too curious not to sense an impatient dragon.  Come, I shall sell you on my goods.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #10 ~RandomNum(11,8)
~ THEN BEGIN 10 // from:
  SAY #16039 /* ~As you wish, good customer.  I meant no disrespect.  Do you want to see what Hes has in his stocks?  I can assure you that it is all of platinum quality!~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #11 ~RandomNum(11,9)
~ THEN BEGIN 11 // from:
  SAY #17709 /* ~This wand emits a vapor bubble that travels towards the target exploding into a deadly cloud of noxious gas that expands to fill an area roughly 20 feet in radius.  The cloud will instantly kill any creature with 4 HD or less with no saving throw.  Any creature within 5 to 6 HD must make a saving throw or be slain.  Creatures with greater than 6 HD simply take 1-10 damage for every round that they remain within the cloud.  The cloud will dissipate after approximately 1 turn.

STATISTICS:

Effects:  1-10 damage per round
  1-4 HD : Instant death no save
  5-6 HD : Save vs. spell or instant death
Range:  60 ft.
Area:  20' radius
Duration:  1D4 turns
Requires:  9 Intelligence
Usable by:
 Mage
 Bard~ */
  IF ~~ THEN REPLY #17711 /* ~Sorry, but I don't want to rejoin with you just yet.~ */ GOTO 13
  IF ~~ THEN REPLY #17712 /* ~Your loss, to be sure.  I'll be here or in the vicinity.  I want to be sure you can find me.  We are bound on the same course, though different paths.~ */ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.1
  SAY #17713 /* ~Good and done. We should make all speed to our destination.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 13 // from: 11.0
  SAY #17714 /* ~You have returned to my company, but I no longer know you. Tales of your deeds have spread before you... and the Harpers have kept certain tabs on you at all times. You will find no quarter here! Justice will take you!~ [JAHEIRE5] */
  IF ~~ THEN EXIT
END

IF WEIGHT #13 /* Triggers after states #: 17 even though they appear after this state */
~RandomNum(11,11)
~ THEN BEGIN 14 // from:
  SAY #17743 /* ~Then I suppose I shall have to obtain your acorns from this Ilyich fellow. Who is he and where can he be found?~ */
  IF ~~ THEN REPLY #17748 /* ~Key to Frennedan's Room~ */ GOTO 15
  IF ~~ THEN REPLY #17752 /* ~I will help you if you will help me. I am looking for a flask in order to free a djinni who is trapped in the Plane of Air. Have you seen one?~ */ GOTO 16
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #17754 /* ~That will be fine. I would appreciate having one of their own stand by me, though I still don't know why I am needed here.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16 // from: 14.1
  SAY #17755 /* ~I don't intend to see them at all. Join my party once more and we will forget all about them.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #12 ~RandomNum(11,10)
~ THEN BEGIN 17 // from:
  SAY #17982 /* ~I've no interest.  I'll have problems enough with the Cowled Wizards after this.~ */
  IF ~~ THEN EXIT
END
