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

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

IF WEIGHT #0 ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #8021 /* ~I spoke with Faldorn, a Shadow Druid. She awaits challenge from another druid.~ */
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #8029 /* ~The dog huddles in his mansion in the Bridge District plotting further indignities for me. It is a huge house in the center, ill-gotten by the bastard, no doubt.~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #8030 /* ~Return to me when you have accomplished your task. Your friends may keep what treasure they find within Saerk's house and I shall honor their names forever more.~ */ GOTO 2
  IF ~~ THEN REPLY #8031 /* ~So shall it be done, father. Saerk will die for his deeds. Where might we find him?~ [ANOMENB6] */ GOTO 3
  IF ~~ THEN REPLY #8032 /* ~We go then.~ */ GOTO 4
  IF ~~ THEN REPLY #8033 /* ~Have you done what you must do? Is Saerk dead?~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #8022 /* ~I spoke to Shadow Druid Faldorn. She challenged me, because only a druid can remove power from her.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #8023 /* ~I spoke with Shadow Druid Faldorn. I think she made sense. I may side with her.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #8024 /* ~Faldorn smells of honey, but she will undoubtedly crush any foolish enough to taste of it.  Forgive my repetition, but we must get back to the business at hand.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #8025 /* ~Squire Anomen, a word if you please.~ [KAYLXX02] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.4
  SAY #8026 /* ~~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 8 even though they appear after this state */
~ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN BEGIN 6 // from:
  SAY #8027 /* ~Get out of my house, dogs! You have corrupted my son. I would spit in your face but you aren't worth the effort.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 8 even though they appear after this state */
~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN BEGIN 7 // from:
  SAY #8028 /* ~You have seen the grave of your sister, Anomen. Let this terrible act... not go unpunished! Gird thy heart with righteous anger and slay thy sister's murderer!~ [COR06] */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 8 // from:
  SAY #8034 /* ~Excellent, my son. Return to me when you have accomplished your task. Your friends may keep what treasure they find within Saerk's house and I shall honor their names forever more.~ */
  IF ~~ THEN DO ~GiveItem("CHAN01",LastTalkedToBy())
~ EXIT
END

IF ~~ THEN BEGIN 9 // from:
  SAY #9075 /* ~As you will.  It was only a humble suggestion.  I've no wish to intrude upon your relationship with <CHARNAME>.~ */
  IF ~~ THEN EXIT
END
