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

BEGIN ~FTOWN1~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #2 /* Triggers after states #: 5 6 even though they appear after this state */
~RandomNum(5,1)~ THEN BEGIN 0 // from:
  SAY #14519 /* ~My husband told me that several clerics have gone missing lately.  How awful!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 5 6 even though they appear after this state */
~RandomNum(5,2)~ THEN BEGIN 1 // from:
  SAY #14387 /* ~Hmph.  The Council has raised taxes yet again.  Do they want to pave the streets with gold, do you think?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 5 6 even though they appear after this state */
~RandomNum(5,3)~ THEN BEGIN 2 // from:
  SAY #14389 /* ~I hope the weather doesn't stay like it has been.  Without a good crop, trade will certainly suffer.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 5 6 even though they appear after this state */
~RandomNum(5,4)~ THEN BEGIN 3 // from:
  SAY #14393 /* ~I don't know why they even let those Cowled Wizards stay in Athkatla.  They frighten me so!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 5 6 even though they appear after this state */
~RandomNum(5,5)~ THEN BEGIN 4 // from:
  SAY #14401 /* ~My sister was fleeced only a few minutes after leaving her home yesterday.  What is the city coming to?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Vicionia")
InParty("Viconia")
!StateCheck("Viconia",STATE_SLEEPING)
RandomNum(2,1)
Global("ftown1viconia","AR0700",0)
~ THEN BEGIN 5 // from:
  SAY #14536 /* ~Ah!  That elven woman's skin is black!  She is not a Drow, is she?~ */
  IF ~~ THEN DO ~SetGlobal("ftown1viconia","AR0700",1)~ EXTERN ~VICONIJ~ 1
END

IF WEIGHT #1 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,1)
Global("ftown1haerdalis","AR0700",0)
~ THEN BEGIN 6 // from:
  SAY #14540 /* ~Oh!  I saw you playing in that troupe a few days ago!  I thought it was all just lovely!~ */
  IF ~~ THEN DO ~SetGlobal("ftown1haerdalis","AR0700",1)~ EXTERN ~HAERDAJ~ 29
END
