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

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

IF WEIGHT #0 ~Gender(LastTalkedToBy(),male)
RandomNum(8,1)~ THEN BEGIN 0 // from:
  SAY #22641 /* ~Oy!  Ye're lookin' fer a good time, mayhap, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 8 9 even though they appear after this state */
~RandomNum(6,1)~ THEN BEGIN 1 // from:
  SAY #22642 /* ~Don't mind the scars, darlin'... I've skill enough t' please any man!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 8 9 even though they appear after this state */
~RandomNum(6,2)~ THEN BEGIN 2 // from:
  SAY #22643 /* ~Ye'll not find the guards anywhere in the docks, me dear.  The Shadow Thieves run this part o' the city, they does.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 4 8 9 even though they appear after this state */
~RandomNum(6,3)~ THEN BEGIN 3 // from:
  SAY #22646 /* ~I'm better than any o' the other girls in the Docks... and you can tells 'em I says so!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~Gender(LastTalkedToBy(),female)
RandomNum(8,2)~ THEN BEGIN 4 // from:
  SAY #22648 /* ~Sorry, darlin'... ye're lookin' in the wrong part o' town.  Try the Copper Coronet... they might haves somethin' for ye.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(6,4)~ THEN BEGIN 5 // from:
  SAY #22651 /* ~I pities the girls that works for Mae'Var, I does.  He's a sadistic man, he is.  I wouldn't put up with that.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(6,5)~ THEN BEGIN 6 // from:
  SAY #22652 /* ~I never bothers with those Harpers.  They don't pay well, an' they don't let us come near their precious base, neither.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 /* Triggers after states #: 8 9 even though they appear after this state */
~RandomNum(6,6)~ THEN BEGIN 7 // from:
  SAY #22653 /* ~Hmmm... you seen some sailors around here, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~See("Anomen")
InParty("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)
Global("dharlot1anomen","AR0500",0)
~ THEN BEGIN 8 // from:
  SAY #22656 /* ~Mmmm, now ye there in the robes... ye looks like a fine man.  Care t' barter, aye?~ */
  IF ~~ THEN DO ~SetGlobal("dharlot1anomen","AR0500",1)~ EXTERN ~ANOMENJ~ 120
END

IF WEIGHT #3 ~See("Yoshimo")
InParty("Yoshimo")
!StateCheck("Yoshimo",STATE_SLEEPING)
RandomNum(2,1)
Global("dharlot1yoshimo","AR0500",0)
~ THEN BEGIN 9 // from:
  SAY #22659 /* ~Hallo there, my lovely one!  Ye looks like a man o' the street, aye?  Care to taste a sample o' it?~ */
  IF ~~ THEN DO ~SetGlobal("dharlot1yoshimo","AR0500",1)~ EXTERN ~YOSHJ~ 5
END
