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

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

IF WEIGHT #3 /* Triggers after states #: 4 5 6 even though they appear after this state */
~RandomNum(4,1)
~ THEN BEGIN 0 // from:
  SAY #25786 /* ~I hope me husband gets back soon from Trademeet... I hear that there's been trouble there as o' late.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 5 6 even though they appear after this state */
~RandomNum(4,2)
~ THEN BEGIN 1 // from:
  SAY #25787 /* ~Have ye ever traveled much out by the Umar Hills?  Me husband says there be good minin' there... if they could ever makes it safe, that is.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 5 6 even though they appear after this state */
~RandomNum(4,3)
~ THEN BEGIN 2 // from:
  SAY #25788 /* ~I hope ye doesn't go out much to the Docks District...'tis far worse than the Bridge and ruled by thieves, as well.  Tsk.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 4 5 6 even though they appear after this state */
~RandomNum(4,4)
~ THEN BEGIN 3 // from:
  SAY #25789 /* ~The thieves in this city have been gettin' mighty bold if ye asks me.  Step out in the night an' you're sure to be either robbed or murdered, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("InteractKeldorn","LOCALS",0)
InParty("Keldorn")
See("Keldorn")
!StateCheck("Keldorn",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 4 // from:
  SAY #25790 /* ~I don't know why the guards don't take a harsher stance against th' thieves in this city... hang them all, I says.~ */
  IF ~~ THEN DO ~SetGlobal("InteractKeldorn","LOCALS",1)
~ EXTERN ~KELDORJ~ 65
END

IF WEIGHT #1 ~Global("InteractYoshimo","LOCALS",0)
InParty("Yoshimo")
See("Yoshimo")
!StateCheck("Yoshimo",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 5 // from:
  SAY #25792 /* ~They should round up all the thieves, here... especially them Shadow Thieves... and just kick 'em out o' the city, I thinks!~ */
  IF ~~ THEN DO ~SetGlobal("InteractYoshimo","LOCALS",1)
~ EXTERN ~YOSHJ~ 16
END

IF WEIGHT #2 ~Global("InteractAnomen","LOCALS",0)
See("Anomen")
InParty("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)~ THEN BEGIN 6 // from:
  SAY #48711 /* ~There be no justice in the world.  If there were, there'd be no thieves, I think.~ */
  IF ~~ THEN DO ~SetGlobal("InteractAnomen","LOCALS",1)~ EXTERN ~ANOMENJ~ 192
END
