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

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

IF WEIGHT #2 /* Triggers after states #: 3 4 even though they appear after this state */
~RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #25715 /* ~I can't wait until my ship leaves this rotten port, again.  I'm told that slavers come here, of all things.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 3 4 even though they appear after this state */
~RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #25716 /* ~Have you heard that there is some murderer flaying the skin from his victims?  Sounds like some ghoul or something equally disgusting is about.~ */
  IF ~~ THEN DO ~SetGlobal("knowsmurders","GLOBAL",1)~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 3 4 even though they appear after this state */
~RandomNum(3,3)
~ THEN BEGIN 2 // from:
  SAY #25717 /* ~The weather is so hot and humid, here...'tis the bane of sailing, I suppose, but all in all I'd rather be back in Waterdeep.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("InteractValygar","LOCALS",0)
InParty("Valygar")
!StateCheck("Valygar",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 3 // from:
  SAY #25718 /* ~You there... you seem like a rugged and handsome enough sort.  This sailor gal needs a break... care to join me for an eve?~ */
  IF ~~ THEN DO ~SetGlobal("InteractValygar","LOCALS",1)
~ EXTERN ~VALYGARJ~ 18
END

IF WEIGHT #1 ~Global("InteractNalia","LOCALS",0)
InParty("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 4 // from:
  SAY #25720 /* ~What's the matter, girlie?  Never seen a woman as a sailor before?~ */
  IF ~~ THEN DO ~SetGlobal("InteractNalia","LOCALS",1)
~ EXTERN ~NALIAJ~ 126
END
