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

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

IF WEIGHT #1 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #28658 /* ~I am the mage of this mercenary troupe... I get paid well, and I'll thank you to leave me be.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #28659 /* ~It matters not that Riatavin has petitioned to join Tethyr... their rebellion will not succeed.  We shall crush them.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(3,3)
~ THEN BEGIN 2 // from:
  SAY #28660 /* ~The Cowled Wizards do not prevent mages from operating with the army... or with mercenaries.  Especially mages of my skill.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~InParty("Edwin")
See("Edwin")
!StateCheck("Edwin",STATE_SLEEPING)
RandomNum(2,1)
Global("loutm02Edwin","GLOBAL",0)
~ THEN BEGIN 3 // from:
  SAY #28662 /* ~I have no doubt that there are few mages of my equal here in this skill-poor city.~ */
  IF ~~ THEN DO ~SetGlobal("loutm02Edwin","GLOBAL",1)
~ EXTERN ~EDWINJ~ 29
END
