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

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

IF WEIGHT #2 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,1)~ THEN BEGIN 0 // from:
  SAY #22360 /* ~Be careful to hold onto yer gold, my <LADYLORD>... there not be a single guard in this part of town to cry out for if ye loses it.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,2)~ THEN BEGIN 1 // from:
  SAY #22362 /* ~I so despise the smell o' fish!  It be everywhere in th' bloody docks, I'm afraid.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,3)~ THEN BEGIN 2 // from:
  SAY #22364 /* ~What does they expect us to do if they keeps raisin' our taxes, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,4)~ THEN BEGIN 3 // from:
  SAY #22365 /* ~The thieves rule the Docks, me friend.  Just you be wary, now.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Viconia")
InParty("Viconia")
!StateCheck("Viconia",STATE_SLEEPING)
RandomNum(2,1)
Global("dftown1viconia","AR0500",0)
~ THEN BEGIN 4 // from:
  SAY #22368 /* ~Well, now, I thought that the Docks be gettin' bad, but with one o' the black harlots showin' her face, here... now I knows it's far worse.~ */
  IF ~~ THEN DO ~SetGlobal("dftown1viconia","AR0500",1)~ EXTERN ~VICONIJ~ 6
END

IF WEIGHT #1 ~See("Keldorn")
InParty("Keldorn")
!StateCheck("Keldorn",STATE_SLEEPING)
RandomNum(2,1)
Global("dftown1keldorn","AR0500",0)
~ THEN BEGIN 5 // from:
  SAY #22370 /* ~Oh!  It be so long since I seen a man in armor!  Are ye here to clean up the Docks o' lowlives, then, my lord?~ */
  IF ~~ THEN DO ~SetGlobal("dftown1keldorn","AR0500",1)~ EXTERN ~KELDORJ~ 61
END
