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

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

IF WEIGHT #0 ~RandomNum(4,1)
~ THEN BEGIN 0 // from:
  SAY #25694 /* ~Ah, this is my kind of town, it is!  Fresh from the sea, ye comes to appreciate the finer things a city has to offer!~ */
  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 #25695 /* ~I been hearin' there's been some murderin' here in this part o' the city?  Does ye know somethin' about that?~ */
  IF ~~ THEN DO ~SetGlobal("knowsmurders","GLOBAL",1)~ 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 #25699 /* ~Helm take me, I think one o' the bloody seagulls just went and do'ed on me cap!~ */
  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 #25700 /* ~I'd jump ship, but me cap'n would whip me hide raw!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~Global("InteractNalia","LOCALS",0)
InParty("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 4 // from:
  SAY #25701 /* ~You wouldn't be lookin' to spend time with a sailor lad, would ye?~ */
  IF ~~ THEN DO ~SetGlobal("InteractNalia","LOCALS",1)
~ EXTERN ~NALIAJ~ 125
END

IF WEIGHT #2 ~Global("InteractHaerDalis","LOCALS",0)
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 5 // from:
  SAY #25703 /* ~Hey, mate!  How about comin' for a night on th' town with the lads and me, aye?~ */
  IF ~~ THEN DO ~SetGlobal("InteractHaerDalis","LOCALS",1)
~ EXTERN ~HAERDAJ~ 42
END
