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

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

IF WEIGHT #2 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,1)~ THEN BEGIN 0 // from:
  SAY #21385 /* ~I'm waitin' here for some of me friends, mate.  Don't bother me.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,2)~ THEN BEGIN 1 // from:
  SAY #21388 /* ~Ye been here much?  I don' be recognizin' ye.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,3)
!Global("TalkedToRenal","GLOBAL",1)~ THEN BEGIN 2 // from:
  SAY #21389 /* ~Mmm... aren't you here to speak t' Renal?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,4)~ THEN BEGIN 3 // from:
  SAY #21390 /* ~I'm nay movin' an inch.  I jus' spent half th' bleedin' morning being chased by one of 'em ambitious guards in th' graveyard district.  Phew!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,5)~ THEN BEGIN 4 // from:
  SAY #21391 /* ~I've got enough coin here t' please me gal for some time, let me tells you!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,6)~ THEN BEGIN 5 // from:
  SAY #21392 /* ~The Shadow Thieves rule the night o' the city, let me tell ye surely.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,7)~ THEN BEGIN 6 // from:
  SAY #21393 /* ~There's no double-crossin' the Shadow Thieves.  Don't even try it.  Renal'll sick assassins on yer throat faster 'an you can blink.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(8,8)
!Global("TalkedToRenal","GLOBAL",1)~ THEN BEGIN 7 // from:
  SAY #21394 /* ~Ye should be talkin' to Renal... the Bloodscalp wants business with ye, he does.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Jaheira")
InParty("Jaheira")
!StateCheck("Jaheira",STATE_SLEEPING)
RandomNum(2,1)
Global("thief2jaheira","AR0500",0)
~ THEN BEGIN 8 // from:
  SAY #21402 /* ~Aye, now, who's this sweet thing, hmm?~ */
  IF ~~ THEN DO ~SetGlobal("thief2jaheira","AR0500",1)~ EXTERN ~JAHEIRAJ~ 214
END

IF WEIGHT #1 ~See("Keldorn")
InParty("Keldorn")
!StateCheck("Keldorn",STATE_SLEEPING)
RandomNum(2,2)
Global("thief2keldorn","AR0500",0)
~ THEN BEGIN 9 // from:
  SAY #21403 /* ~Aye, now... you looks like some kinda knight?  What's a fella like you doin' here?~ */
  IF ~~ THEN DO ~SetGlobal("thief2keldorn","AR0500",1)~ EXTERN ~KELDORJ~ 59
END
