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

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

IF WEIGHT #3 /* Triggers after states #: 2 3 5 even though they appear after this state */
~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
RandomNum(2,1)
~ THEN BEGIN 0 // from:
  SAY #15037 /* ~Are you actually speaking to me?  A commoner?  Oh, I think I might faint.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 2 3 5 even though they appear after this state */
~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
RandomNum(2,2)
~ THEN BEGIN 1 // from:
  SAY #15038 /* ~A million pardons, but it is simply red ink to speak to one of such obvious low birth.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Mazzy")
InParty("Mazzy")
!StateCheck("Mazzy",STATE_SLEEPING)
RandomNum(2,1)
Global("noblew2mazzy","AR0700",0)
~ THEN BEGIN 2 // from:
  SAY #15039 /* ~Oh, how cute!  You've given one of the little people a weapon to play with!  If my children were here to see this, they would be SO delighted!~ */
  IF ~~ THEN DO ~SetGlobal("noblew2mazzy","AR0700",1)~ EXTERN ~MAZZYJ~ 68
END

IF WEIGHT #1 ~See("Korgan")
InParty("Korgan")
!StateCheck("Korgan",STATE_SLEEPING)
RandomNum(2,2)
Global("noblew2korgan","AR0700",0)
~ THEN BEGIN 3 // from:
  SAY #15043 /* ~Oh dear!  A smelly dwarf!  I had no idea they were allowing their kind into the city!~ */
  IF ~~ THEN DO ~SetGlobal("noblew2korgan","AR0700",1)~ EXTERN ~KORGANJ~ 14
END

IF WEIGHT #5 /* Triggers after states #: 5 even though they appear after this state */
~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
RandomNum(4,1)
~ THEN BEGIN 4 // from:
  SAY #15045 /* ~I suppose you will all be going onto that dreadful Copper Coronet in the slums.  You seem like the sort of folk who would be found there.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
RandomNum(4,2)
!Dead("KalahIllusion")
~ THEN BEGIN 5 // from:
  SAY #15046 /* ~Something happened at the circus and nobody can come out of the tent.  How awful!  My maidservant is still in there and I've no one to carry the trail of my dress!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
RandomNum(4,3)
~ THEN BEGIN 6 // from:
  SAY #15047 /* ~The weather has been so awful, lately.  My hair is so limp and my maids can do nothing with it!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
RandomNum(4,4)
~ THEN BEGIN 7 // from:
  SAY #15048 /* ~My husband's gone on a hunting trip outside of Trademeet.  I do so hope he will be alright.~ */
  IF ~~ THEN EXIT
END
