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

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

IF WEIGHT #1 /* Triggers after states #: 4 even though they appear after this state */
~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
Global("HelpWenric","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #14922 /* ~Are you sure you don't know anything about this 'special performance'?~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 4 even though they appear after this state */
~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
Global("HelpWenric","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #14923 /* ~What kinds of things did you see when you fled, Fearghus?~ */
  IF ~~ THEN DO ~SetGlobal("HelpWenric","GLOBAL",1)
~ JOURNAL #15721 /* ~Idle hands in Imnesvale.

Well, I finally encountered the three kids from Imnesvale I gave the swords to.  They just about got themselves killed at the hands a shadow creature.  Hopefully the scare will dissuade them from such foolishness for a while, yet, but I doubt it...~ */ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 4 even though they appear after this state */
~Global("ZombiesDead","GLOBAL",20)
~ THEN BEGIN 2 // from:
  SAY #14925 /* ~I think I may have to take a closer look into this.~ */
  IF ~~ THEN DO ~AddexperienceParty(800)
GivePartyGold(150)
IncrementGlobal("ZombiesDead","GLOBAL",1)
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 even though they appear after this state */
~GlobalLT("ZombiesDead","GLOBAL",20)
~ THEN BEGIN 3 // from:
  SAY #14926 /* ~I've never heard such a ridiculous story in my life.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #0 ~false()~ THEN BEGIN 4 // from:
  SAY #14928 /* ~N-no!  It's the truth!  I s-swear!  (shudder)~ */
  IF ~~ THEN DO ~~ EXIT
END

IF WEIGHT #5 ~True()
~ THEN BEGIN 5 // from:
  SAY #14929 /* ~I wouldn't g-go in the tent if I were you.  Oh, I don't know what I'm going to d-do!  (shudder)  I'm so frightened!~ */
  IF ~~ THEN DO ~~ EXIT
END
