// creator  : weidu.exe (version 23100)
// argument : _FOOLS.DLG
// game		 : .
// source	 : ./override/_FOOLS.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~_FOOLS~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #2 /* Triggers after states #: 1 2 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #79437 /* ~Aye, share a glass with Gorpel Hind and his Band of Merry Fools.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Dead("gorpel")
~ THEN BEGIN 1 // from:
  SAY #79438 /* ~We must go. For all its light, your friendship has brought darkness upon us. Gorpel Hind, our leader and soulmate, has fallen in this petty battle.~ */
  IF ~~ THEN DO ~ActionOverride("farluck",EscapeArea())
ActionOverride("turpin",EscapeArea())
ActionOverride("nelik",EscapeArea())
~ EXIT
END

IF WEIGHT #1 ~Dead("gretek")
Dead("pargus")
Dead("wilf")
Dead("nader")
Dead("arlin")
Dead("caturak")
~ THEN BEGIN 2 // from:
  SAY #79439 /* ~A brave and hearty fight and it was good to share it with you. We must go, however, and tend to our wounds elsewhere. I do not think the bartender will tolerate our type of merriment for long. Well met, brave <CHARNAME>, and do not walk softly into that dark night.~ */
  IF ~~ THEN DO ~ActionOverride("farluck",EscapeArea())
ActionOverride("turpin",EscapeArea())
ActionOverride("nelik",EscapeArea())
ActionOverride("gorpel",EscapeArea())
~ EXIT
END
