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

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

IF WEIGHT #0 ~Global("Kaishas1","GLOBAL",0)
Global("FarDoll","GLOBAL",0)
Global("FarTalk","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #21079 /* ~I'll not let it be, Cernd.  The wizard killed Suna in such an offhand fashion... he cared not a spit for her life.  Doesn't he deserve to suffer for it?~ [VALYGA64] */
  IF ~~ THEN JOURNAL #23515 /* ~~ */ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 9 10 11 12 13 14 even though they appear after this state */
~Global("Kaishas1","GLOBAL",1)
Global("FarDoll","GLOBAL",0)
Global("FarTalk","GLOBAL",0)
Global("GotDoll","GLOBAL",0)~ THEN BEGIN 1 // from:
  SAY #21080 /* ~If your thoughts are only of vengeance, how can they be on the path that lies ahead of us?  There are more immediate dangers.~ */
  IF ~~ THEN REPLY #21089 /* ~Of course it eludes you, wizard.  I've no interest in power and even less interest in magic.~ [VALYGA66] */ DO ~SetGlobal("FarTalk","GLOBAL",1)
~ GOTO 2
  IF ~~ THEN REPLY #21090 /* ~I've been told the gods love a fool.  They must think often and fondly of you, then, ranger.~ */ DO ~SetGlobal("FarTalk","GLOBAL",1)~ GOTO 3
  IF ~~ THEN REPLY #21091 /* ~You remind me more and more as each day passes of what makes magic vile and evil, wizard.~ [VALYGA48] */ DO ~SetGlobal("FarTalk","GLOBAL",2)~ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #21081 /* ~Greater Ghast~ */
  IF ~~ THEN REPLY #21092 /* ~You would do well to be reminded of what makes magic powerful, fool.  I've power enough to hold your life in my hands if I choose.~ [EDWIN45] */ DO ~SetGlobal("FarDoll","GLOBAL",1)~ JOURNAL #22940 /* ~~ */ GOTO 5
  IF ~~ THEN REPLY #21093 /* ~Your words do not frighten me, Edwin.  I could slice you to ribbons before the first incantation of your threat was carried out.~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #21082 /* ~Well I know it.  And you have no need to worry... I shall pay the closest attention to every step that brings me closer to that foul mage!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #21083 /* ~Greater Ghast~ */
  IF ~~ THEN REPLY #21094 /* ~Indeed?  Your lack of fear for the arcane arts must explain, then, why you cowered before Lavok and the Cowled Wizards.  Your actions belie your bravado.~ */ GOTO 7
  IF ~~ THEN REPLY #21098 /* ~You did what you could and that is enough. I appreciate it, but I also worry that you suffered worse.~ */ GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 14.0 2.0
  SAY #21084 /* ~We don't know all there is to know about this, Valygar.  We should not be so quick to jump to conclusions.~ */
  IF ~~ THEN REPLY #22190 /* ~Kitty always poops in the turnip garden and Ma gets angry.~ */ DO ~SetGlobal("FarDoll","GLOBAL",1)~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 14.1 2.1
  SAY #21085 /* ~He killed Suna!  There is nothing else to know!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 4.1 4.0
  SAY #21086 /* ~Nothing?  Like there was nothing else to be considered of Lavok?  Your ancestor was not quite what you expected, was he?~ */
  IF ~~ THEN DO ~SetGlobal("FarTalk","GLOBAL",2)~ EXIT
END

IF WEIGHT #8 /* Triggers after states #: 9 10 11 12 13 14 even though they appear after this state */
~Global("FarTalk","GLOBAL",2)
Global("FarDoll","GLOBAL",0)
!Dead("karoug")~ THEN BEGIN 8 // from:
  SAY #21087 /* ~I... damn you, druid, just leave me be!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~PartyHasItem("misc1g")
~ THEN BEGIN 9 // from:
  SAY #21099 /* ~I am not surprised.  Irenicus seemed to have a special interest in you.  I imagine he will not be the last, and I cannot blame him.  I have an interest as well.~ */
  IF ~~ THEN DO ~SetGlobal("GotDoll","GLOBAL",1)
TakePartyItem("misc1g")
AddexperienceParty(1400)~ JOURNAL #23522 /* ~~ */ EXIT
END

IF WEIGHT #2 ~Dead("karoug")
Global("GotDoll","GLOBAL",1)~ THEN BEGIN 10 // from:
  SAY #21103 /* ~I am fine, but I've no desire to allow the same to happen again.~ */
  IF ~~ THEN JOURNAL #23523 /* ~Escaping the Asylum

Irenicus saw no point in fighting over the asylum now that the ritual on me has been completed.  His 'plans' can apparently be done anywhere, and so he left with my soul, and Imoen's.  He has released the assassins he had enspelled, making this a real madhouse.  I must flee this place and find some way off of this island!~ */ EXIT
END

IF WEIGHT #3 ~Dead("karoug")
!PartyHasItem("misc1g")~ THEN BEGIN 11 // from:
  SAY #22191 /* ~One of our friends is still in the cult. You must approach him and say the phrase 'the eye is blind.' He will then know who you are and be able to help you.~ */
  IF ~~ THEN JOURNAL #23523 /* ~Escaping the Asylum

Irenicus saw no point in fighting over the asylum now that the ritual on me has been completed.  His 'plans' can apparently be done anywhere, and so he left with my soul, and Imoen's.  He has released the assassins he had enspelled, making this a real madhouse.  I must flee this place and find some way off of this island!~ */ EXIT
END

IF WEIGHT #4 ~Global("GotDoll","GLOBAL",1)
!Dead("karoug")~ THEN BEGIN 12 // from:
  SAY #21088 /* ~I do not understand you, ranger.  You have the blood of a necromancer coursing through you and the ability to take the planar sphere for yourself.  Why you did not do so eludes me.~ [EDWIN71] */
  IF ~~ THEN JOURNAL #23522 /* ~~ */ EXIT
END

IF WEIGHT #5 ~Global("FarDoll","GLOBAL",1)
!Dead("karoug")~ THEN BEGIN 13 // from:
  SAY #22192 /* ~You must be friends of Jan, garbed as you are with all that armor and such. If he's not here you might catch him in the Government District selling turnips. He might even be downstairs in the garden.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~Global("FarTalk","GLOBAL",1)~ THEN BEGIN 14 // from:
  SAY #23307 /* ~Enge~ */
  IF ~~ THEN REPLY #23308 /* ~Enge
~ */ DO ~SetGlobal("FarDoll","GLOBAL",1)~ JOURNAL #22940 /* ~~ */ GOTO 5
  IF ~~ THEN REPLY #23309 /* ~Pleassse!  Do not hurt usss!~ */ GOTO 6
END
