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

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

IF WEIGHT #1 /* Triggers after states #: 19 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #82100 /* ~Wait!  I must speak with you; it's of utmost importance.  Will you wait and listen?~ */
  IF ~~ THEN REPLY #82101 /* ~We don't have time.~ */ GOTO 1
  IF ~~ THEN REPLY #82102 /* ~What is it you want?~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #82103 /* ~Well then make time!  I must speak with you!~ */
  IF ~~ THEN REPLY #82104 /* ~Don't get your panties in a knot. What do you want?~ */ GOTO 3
  IF ~~ THEN REPLY #82105 /* ~We don't have to make time for no one.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.1
  SAY #82106 /* ~I didn't realize Gorion had raised such a rude child.~ */
  IF ~~ THEN REPLY #82107 /* ~Hey wait; you knew Gorion?  Well then, we have something to talk about.~ */ GOTO 3
  IF ~~ THEN REPLY #82108 /* ~Ya, well I guess I turned out to be a bad apple.~ */ DO ~SetGlobal("TalkedToDelthyr","GLOBAL",1)
SetGlobalTimer("Delthyr","GLOBAL",TEN_DAYS)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 2.0 1.0 0.1
  SAY #82109 /* ~Good then.  I am Delthyr; I represent those who harp.  I have been seeking you out for many weeks now.  Just recently I discovered that you had left the city some time ago.  Things have changed since you were gone, I can tell you everything you need know.~ */
  IF ~~ THEN REPLY #82110 /* ~No, we've already found out through other sources.~ */ EXIT
  IF ~~ THEN REPLY #82112 /* ~No, we like to operate with no knowledge of the world around us.  Duh?!~ */ GOTO 4
  IF ~~ THEN REPLY #82113 /* ~Of course we do.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.1
  SAY #82114 /* ~Uhhhh Huh.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToDelthyr","GLOBAL",1)
SetGlobalTimer("Delthyr","GLOBAL",FIVE_DAYS)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 3.2
  SAY #82115 /* ~The second in command of the Flaming Fist, Scar, was assassinated.  Grand Duke Eltan has come down with some mysterious ailment.  No one knows how long he has to live.  The most important news for you concerns your recent return to Candlekeep.  You've been accused of murdering the leaders of the Iron Throne.  Everyone believes that you are agents of Amn.  They think your persecution of the Iron Throne was just a coverup for Amn.  Tensions run pretty high right now.  The new Iron Throne president, Sarevok, has placed a price on all of your heads.  The Flaming Fist has a warrant for your arrest.  Before I continue, tell me, are you guilty?~ */
  IF ~~ THEN REPLY #82116 /* ~Yep, those scum deserved everything coming to them.~ */ JOURNAL #82117 /* ~A Harper named Delthyr told us about what has been happening in Baldur's Gate.  He told us that Duke Eltan is deathly ill, and that his second in command, Scar, has been assassinated.  We are wanted by the Flaming Fist for the murder of the Iron Throne leaders, and Sarevok, the new Iron Throne leader, has put a price on our heads.  He also told us that tensions are very high between Baldur's Gate and Amn.  Some people are predicting a war between the two.~ */ GOTO 6
  IF ~~ THEN REPLY #82118 /* ~No, we were framed.~ */ JOURNAL #82117 /* ~A Harper named Delthyr told us about what has been happening in Baldur's Gate.  He told us that Duke Eltan is deathly ill, and that his second in command, Scar, has been assassinated.  We are wanted by the Flaming Fist for the murder of the Iron Throne leaders, and Sarevok, the new Iron Throne leader, has put a price on our heads.  He also told us that tensions are very high between Baldur's Gate and Amn.  Some people are predicting a war between the two.~ */ GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #82119 /* ~Killing is never the answer to anything, your father should have taught you that.  Nevertheless, it is in the past, we must talk of your future.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #82120 /* ~I am relieved.  Now we must speak of your future.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0 6.0
  SAY #82121 /* ~From what our network has gathered, the Iron Throne is preparing to make a grab for power in Baldur's Gate.  It would be in your best interest to investigate what they're up to.  Perhaps if you could break into their citadel, you might learn something.  I know these are very troubled times for you, but you know more about the Iron Throne than anyone else.  If you have any questions for me, ask them now, I'll be gone for the next few days.~ */
  IF ~~ THEN REPLY #82122 /* ~Who killed Scar?~ */ UNSOLVED_JOURNAL #82123 /* ~The rise of Sarevok

Delthyr, a Harper we met in Baldur's Gate, told us that the Iron Throne stands ready to make a power grab within the city, and then suggested that we break into the Iron Throne's citadel to discover what they have been up to.  I am reminded of Diarmid's disclosure of Sarevok's plans in the catacombs under Candlekeep...~ */ GOTO 9
  IF ~~ THEN REPLY #82124 /* ~What sickness has Eltan come down with?~ */ UNSOLVED_JOURNAL #82123 /* ~The rise of Sarevok

Delthyr, a Harper we met in Baldur's Gate, told us that the Iron Throne stands ready to make a power grab within the city, and then suggested that we break into the Iron Throne's citadel to discover what they have been up to.  I am reminded of Diarmid's disclosure of Sarevok's plans in the catacombs under Candlekeep...~ */ GOTO 12
  IF ~~ THEN REPLY #82125 /* ~We don't have any questions right now.~ */ DO ~SetGlobal("TalkedToDelthyr","GLOBAL",1)
SetGlobalTimer("Delthyr","GLOBAL",TEN_DAYS)
EscapeArea()
~ UNSOLVED_JOURNAL #82123 /* ~The rise of Sarevok

Delthyr, a Harper we met in Baldur's Gate, told us that the Iron Throne stands ready to make a power grab within the city, and then suggested that we break into the Iron Throne's citadel to discover what they have been up to.  I am reminded of Diarmid's disclosure of Sarevok's plans in the catacombs under Candlekeep...~ */ EXIT
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #82126 /* ~From the evidence found where he was murdered, it would seem that the Shadow Thieves killed him.  I think that it is far too convenient to lay the blame on that organization; I would assume that the Iron Throne remains involved in some way.~ */
  IF ~~ THEN REPLY #82127 /* ~Who are the Shadow Thieves?~ */ GOTO 10
  IF ~~ THEN REPLY #82128 /* ~What clues incriminated the Shadow Thieves?~ */ GOTO 11
  IF ~~ THEN REPLY #82124 /* ~What sickness has Eltan come down with?~ */ GOTO 12
  IF ~~ THEN REPLY #82129 /* ~That's enough questions for now.~ */ GOTO 13
END

IF ~~ THEN BEGIN 10 // from: 17.0 9.0
  SAY #82130 /* ~The Shadow Thieves are an extensive organization of thieves and assassins that has power bases all along the Sword Coast.  Its main base of operation however, is located in Amn.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 11 // from: 17.1 9.1
  SAY #82131 /* ~The signature mask and stiletto were left on Scar's body.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 12 // from: 17.2 9.2 8.1
  SAY #82132 /* ~So far Eltan's healer has been unable to discover what has been ailing him.  It must be magical in nature.  I find the whole affair rather strange.  From what I know, Eltan's healer, Rashad, was a priest of no mean faith and power.  It is unusual that he has been unable to effect a cure for the Grand Duke.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 13 // from: 17.3 9.3
  SAY #82133 /* ~If that is the last of your questions, then I must be off.  If you must see me again, I'll be at the Three Old Kegs Inn.~ */
  IF ~~ THEN DO ~SetGlobal("DelthyrMove","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 19 even though they appear after this state */
~Global("DelthyrMove","GLOBAL",1)
~ THEN BEGIN 14 // from:
  SAY #82134 /* ~Hello again!  It's me, Delthyr.  I hope things have been going well.  I have much to tell you.~ */
  IF ~Global("RescuedEltan","GLOBAL",0)
~ THEN DO ~SetGlobal("DelthyrMove","GLOBAL",2)
~ GOTO 15
  IF ~Global("RescuedEltan","GLOBAL",1)
~ THEN DO ~SetGlobal("DelthyrMove","GLOBAL",2)
~ GOTO 16
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #82135 /* ~Have you investigated Duke Eltan's mysterious illness?  I would suggest that you investigate Rashad, his personal healer.  I have my suspicions about him.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #82136 /* ~Duke Eltan's illness

Delthyr has suggested that we investigate Rashad, Duke Eltan's healer.~ */ EXIT
END

IF ~~ THEN BEGIN 16 // from: 14.1
  SAY #82137 /* ~I've learned that two assassins have been operating in the city.  They're both members of the Night Masks out of Westgate.  I think they're working for Sarevok.  From what I've learned they've been staying at the Undercellars.  It would be good for you to check it out.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 17 // from: 12.0 11.0 10.0
  SAY #82138 /* ~So... do you have any other questions?~ */
  IF ~Global("AskedDelthyr1","GLOBAL",0)
~ THEN REPLY #82127 /* ~Who are the Shadow Thieves?~ */ DO ~SetGlobal("AskedDelthyr1","GLOBAL",1)
~ GOTO 10
  IF ~Global("AskedDelthyr2","GLOBAL",0)
~ THEN REPLY #82128 /* ~What clues incriminated the Shadow Thieves?~ */ DO ~SetGlobal("AskedDelthyr2","GLOBAL",1)
~ GOTO 11
  IF ~Global("AskedDelthyr3","GLOBAL",0)
~ THEN REPLY #82124 /* ~What sickness has Eltan come down with?~ */ GOTO 12
  IF ~~ THEN REPLY #82129 /* ~That's enough questions for now.~ */ GOTO 13
END

IF ~~ THEN BEGIN 18 // from:
  SAY #82139 /* ~I don't really have much more to say to you.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 19 // from:
  SAY #82140 /* ~I am an agent of the Harpers.  I was sent to the city of Baldur's Gate to find out what has been happening to you, <CHARNAME>.  We know that you have something to do with Alaundo's prophecies on the death of Bhaal.  Some of the Harpers feel that you are one of the spawn of Bhaal, which is one of the reasons why I'm down here.  I don't think I have any other information for you, my friend.~ */
  IF ~~ THEN JOURNAL #82141 /* ~When we charmed Delthyr, he told us that the Harpers think I am the offspring of the dead god Bhaal!  This information is most unsettling.~ */ EXIT
END

IF ~~ THEN BEGIN 20 // from:
  SAY #75335 /* ~Not to be rude, but I'd rather you left immediately.~ */
  IF ~~ THEN EXIT
END
