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

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

IF WEIGHT #1 /* Triggers after states #: 2 even though they appear after this state */
~RandomNum(2,1)
~ THEN BEGIN 0 // from:
  SAY #28877 /* ~Far too many beggars about, these days. Raise the taxes and force them to work, I say!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 2 even though they appear after this state */
~RandomNum(2,2)
~ THEN BEGIN 1 // from:
  SAY #28882 /* ~Wouldn't you find the Copper Coronet more to your liking, peasant?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~InParty("Jan")
See("Jan")
!StateCheck("Jan",STATE_SLEEPING)
RandomNum(2,1)
Global("Jan","LOCALS",0)
~ THEN BEGIN 2 // from:
  SAY #28886 /* ~By the gods! A gnome in the Mithrest! I shan't be visiting here again!~ */
  IF ~~ THEN DO ~SetGlobal("Jan","LOCALS",1)
~ EXTERN ~JANJ~ 72
END

IF ~~ THEN BEGIN 3 // from:
  SAY #29008 /* ~But you are a gnome! You're a smelly big-nosed little gnome!~ */
  IF ~~ THEN EXTERN ~JANJ~ 73
END

IF ~~ THEN BEGIN 4 // from:
  SAY #29014 /* ~Stop it, you freakish little man! Get away! Get away!~ */
  IF ~~ THEN EXTERN ~JANJ~ 74
END
