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

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

IF WEIGHT #2 /* Triggers after states #: 1 7 even though they appear after this state */
~RandomNum(6,1)~ THEN BEGIN 0 // from:
  SAY #13918 /* ~I can't wait to get t' the tavern.  I 'aven't sluiced me gob in a few days.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Edwin")
InParty("Edwin")
!StateCheck("Edwin",STATE_SLEEPING)
RandomNum(2,1)
Global("slumm4edwin","AR0400",0)
~ THEN BEGIN 1 // from:
  SAY #13942 /* ~I 'eard they found someone usin' foul magic down here.  Arrested 'im, they did.  Good riddance.~ */
  IF ~~ THEN DO ~SetGlobal("slumm4edwin","AR0400",1)~ EXTERN ~EDWINJ~ 19
END

IF WEIGHT #3 /* Triggers after states #: 7 even though they appear after this state */
~RandomNum(6,2)~ THEN BEGIN 2 // from:
  SAY #13983 /* ~I wish me wife would up an' get back from Trademeet.  The hussy i' such a kobold, she never lets me spend so much as a copper without her permission.  How's a workin' man supposed to live, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 7 even though they appear after this state */
~RandomNum(6,3)~ THEN BEGIN 3 // from:
  SAY #14166 /* ~I heard there's always lots goin' on at the Copper Coronet.  Plenty of strange people, too.  If me wife weren't such a dragon, I'd be spendin' some time there, sure as gold.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 7 even though they appear after this state */
~RandomNum(6,4)~ THEN BEGIN 4 // from:
  SAY #14188 /* ~I saw a circus once when I were a child.  Liked it sure enough, then.  I wonders what the new one that's come is like?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 7 even though they appear after this state */
~RandomNum(6,5)~ THEN BEGIN 5 // from:
  SAY #14480 /* ~The Council says that slavery is done illegal in Athkatla, but I know tha' t' be a load o' horse-shite.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 7 even though they appear after this state */
~RandomNum(6,6)~ THEN BEGIN 6 // from:
  SAY #14481 /* ~My new babe's gone and gotten the croup.  I 'ave to drink good an' well just t' get to sleep.  At least, that's wot I tells me wife.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~See("Minsc")
InParty("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
RandomNum(2,1)
Global("slumm4minsc","AR0400",0)
~ THEN BEGIN 7 // from:
  SAY #14495 /* ~Aye, now, is that a rat yer carryin' there, fella?  He looks nice an' plump.  How's about two coppers for 'im?~ */
  IF ~~ THEN DO ~SetGlobal("slumm4minsc","AR0400",1)~ EXTERN ~MINSCJ~ 32
END
