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

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

IF WEIGHT #2 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,1)~ THEN BEGIN 0 // from:
  SAY #21405 /* ~I've spent all day sharpening these knives... what do you think?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,2)~ THEN BEGIN 1 // from:
  SAY #21406 /* ~Watch it... the Shadow Thieves don't tolerate idiots.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,3)~ THEN BEGIN 2 // from:
  SAY #21407 /* ~Back off.  I may be a woman, but I'm also a Shadow Thief and I'm not to be trifled with!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,4)
!Global("TalkedToRenal","GLOBAL",1)~ THEN BEGIN 3 // from:
  SAY #21409 /* ~You should speak to Renal.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,5)~ THEN BEGIN 4 // from:
  SAY #21410 /* ~You're here to see Renal, aren't you?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 6 7 even though they appear after this state */
~RandomNum(6,6)
!Global("TalkedToRenal","GLOBAL",1)~ THEN BEGIN 5 // from:
  SAY #21414 /* ~I think the Bloodscalp has business with you.  If you're lucky, it's not the sort of business that makes you wind up dead.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Yoshimo")
InParty("Yoshimo")
!StateCheck("Yoshimo",STATE_SLEEPING)
RandomNum(2,1)
Global("thief3yoshimo","AR0500",0)
~ THEN BEGIN 6 // from:
  SAY #21415 /* ~Why, hello there --~ */
  IF ~~ THEN DO ~SetGlobal("thief3yoshimo","AR0500",1)~ EXTERN ~YOSHJ~ 4
END

IF WEIGHT #1 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,2)
Global("thief3haerdalis","AR0500",0)
~ THEN BEGIN 7 // from:
  SAY #21419 /* ~Mm?  We don't get many of your kind, here, bard.~ */
  IF ~~ THEN DO ~SetGlobal("thief3haerdalis","AR0500",1)~ EXTERN ~HAERDAJ~ 33
END
