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

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

IF WEIGHT #2 /* Triggers after states #: 1 even though they appear after this state */
~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #3315 /* ~Kundane +2~ */
  IF ~~ THEN DO ~SetGlobalTimer("Farmer","GLOBAL",20)
~ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 1 // from:
  SAY #6142 /* ~Bladesinger Chain +4~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~GlobalTimerExpired("Farmer","GLOBAL")
~ THEN BEGIN 2 // from:
  SAY #6893 /* ~Lose the scroll, Edwin. Evil begets evil, and can only lead to ruin and despair.~ */
  IF ~~ THEN DO ~SetGlobalTimer("Farmer2","GLOBAL",40)
~ EXIT
END

IF WEIGHT #4 ~GlobalTimerExpired("Farmer2","GLOBAL")
~ THEN BEGIN 3 // from:
  SAY #6894 /* ~I'll wait no longer! I have studied enough! This will be mine! Life eternal and unlimited power!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #8985 /* ~Ah, she is long since gone.  If I began ignoring her while she was still here, why can't you release yourself after years? Best you learn to control yourself.~ */
  IF ~~ THEN EXIT
END
