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

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

IF WEIGHT #1 /* Triggers after states #: 4 even though they appear after this state */
~RandomNum(5,1)~ THEN BEGIN 0 // from:
  SAY #14391 /* ~My poor son was leapt upon by footpads in the slums.  He survived, thank Helm, but I'll not be sending him there again.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 4 even though they appear after this state */
~RandomNum(5,2)~ THEN BEGIN 1 // from:
  SAY #14396 /* ~It is a good thing the Cowled robes took away that wizard.  They should take away anyone who even thinks about magic, if you ask me.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 4 even though they appear after this state */
~RandomNum(5,3)~ THEN BEGIN 2 // from:
  SAY #14400 /* ~I'm so sad that services were cancelled this morning at the Lathander church.  It seems that one of their acolytes has disappeared.  How dreadful!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 even though they appear after this state */
~RandomNum(5,4)~ THEN BEGIN 3 // from:
  SAY #14399 /* ~Excuse me, but I'm not about to speak to a strange <LADYLORD>.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Minsc")
InParty("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
RandomNum(2,1)
Global("ftown4minsc","AR0700",0)
~ THEN BEGIN 4 // from:
  SAY #14531 /* ~Mmm, what a fine specimen of warrior you have, there.~ */
  IF ~~ THEN DO ~SetGlobal("ftown4minsc","AR0700",1)~ EXTERN ~MINSCJ~ 33
END

IF WEIGHT #5 ~RandomNum(5,5)~ THEN BEGIN 5 // from:
  SAY #14448 /* ~My daughter just got married to a fisherman.  I think she could have done far better.~ */
  IF ~~ THEN EXIT
END
