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

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

IF ~~ THEN BEGIN 0 // from:
  SAY #1126 /* ~Don't patronize me, Haer'Dalis, for I have never done the same to you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 1 // from:
  SAY #1127 /* ~Then we will not disturb his body further. We will honor his loss with future deeds.~ */
  IF ~~ THEN EXTERN ~JEBADO~ 3
END

IF ~~ THEN BEGIN 2 // from:
  SAY #1128 /* ~Whatever you say, though I still think you are just giving up.~ */
  IF ~~ THEN EXTERN ~JEBADO~ 3
END

IF ~~ THEN BEGIN 3 // from:
  SAY #1129 /* ~And I shall, Haer'Dalis.  I shall.~ */
  IF ~~ THEN EXTERN ~JEBADO~ 3
END

IF ~~ THEN BEGIN 4 // from:
  SAY #1130 /* ~~ */
  IF ~~ THEN REPLY #1798 /* ~Quite, quite. All my best, my dear.~ */ GOTO 5
  IF ~~ THEN REPLY #1799 /* ~Isaea, what have you told him?  That I was run off and afraid to go back? Is that how you intend to take control of my home, my life? I'll not have it!~ */ GOTO 6
  IF ~~ THEN REPLY #1800 /* ~Nalia, descend further into these whims of yours and you shall be a laughing stock. Come now, our combined names would carry quite the weight. What do you say?~ */ EXTERN ~JEBADO~ 4
END

IF ~~ THEN BEGIN 5 // from: 9.0 7.0 4.0
  SAY #1131 /* ~Ha, my dear, 'tis true for had your family patronized me while I was still with the theater, I would be far wealthier than I am today!~ */
  IF ~~ THEN DO ~SetGlobal("HelpJebadoh","GLOBAL",1)
~ JOURNAL #6279 /* ~Getting Inside the Palace in Suldanessellar

Irenicus is apparently inside the palace, and has sealed the gates with his magic.  Queen Ellesime is also within, as is the Tree of Life... This must be Irenicus' true target.~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from: 4.1
  SAY #1132 /* ~Should we try to have him saved? If we are careful and bring him to a temple...~ */
  IF ~~ THEN EXTERN ~TELMAN~ 2
END

IF ~~ THEN BEGIN 7 // from:
  SAY #1133 /* ~No, but I would at least try to save him. I hope you do not make a habit of this.~ */
  IF ~~ THEN REPLY #1807 /* ~Kindly turn your eyes downward, your gaze makes me feel unclean. As for your threat, you should really know who you are addressing before you do such things.~ */ GOTO 5
  IF ~~ THEN REPLY #1808 /* ~Crawl back under the rock you were born of, and leave my comments to those that understand them. Nalia will, and perhaps you will learn too. This is unfinished.~ */ JOURNAL #6283 /* ~~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.1
  SAY #1134 /* ~I suppose not. Very well, we will honor him by bringing his killer to justice.~ */
  IF ~~ THEN DO ~Global(HelpJebadoh","GLOBAL",2)
ActionOverride("Telman",EscapeArea())
ActionOverride("Jebadoh",EscapeArea())
EscapeArea()
~ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 21 23 24 25 even though they appear after this state */
~Global("HelpJebadoh","GLOBAL",2)
~ THEN BEGIN 9 // from:
  SAY #1135 /* ~Mazzy, Mazzy, Mazzy.  All the ferocity of Cattie-Brie in a package half her size! ... You would have made a fine and noble knight, my little falcon.~ */
  IF ~~ THEN REPLY #1809 /* ~A fine girl, that Nalia. Good head on her shoulders. Never understood what she saw in Isaea. Fetch me a drink, will you?~ */ GOTO 5
  IF ~~ THEN REPLY #1810 /* ~Get yourself some rest, my dear. You've had quite a shock and a bumpy ride. We'll get it sorted out in good time.~ */ DO ~~ JOURNAL #6283 /* ~~ */ GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.1
  SAY #1136 /* ~Nature is a cycle of birth and... death.  Interrupting that cycle isn't... natural!  Ah, there's no time for this!  I will mourn, but we must still rescue ourselves!~ */
  IF ~~ THEN DO ~ActionOverride("Telman",EscapeArea())
ActionOverride("Jebadoh",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #1137 /* ~Aye, falcon... Aye, I believe it.~ */
  IF ~~ THEN REPLY #1811 /* ~I am sorry for that extended exchange but he is such a bounder, such a... a manipulating... such a... oh, to hades with the manners, he is a complete bastard, and calling him that insults bastards everywhere!~ [NALIA77] */ DO ~IncrementGlobal("FisherPrice","GLOBAL",100)
~ GOTO 19
  IF ~Global("TenyaStory","GLOBAL",1)
~ THEN REPLY #1812 /* ~Has he always been that... driven? He is quite intent on enforcing your betrothal.~ */ EXTERN ~TELMAN~ 6
  IF ~~ THEN REPLY #1813 /* ~He did say he could 'help or hinder,' and 'he'd done it before.' What's that about?~ */ EXTERN ~JEBADO~ 4
END

IF ~~ THEN BEGIN 12 // from:
  SAY #1138 /* ~Korgan~ */
  IF ~~ THEN REPLY #1814 /* ~It would be quite beneficial to marry him. You have thought of this, haven't you?~ */ DO ~IncrementGlobal("FisherPrice","GLOBAL",50)
~ GOTO 19
  IF ~Global("TenyaStory","GLOBAL",1)
~ THEN REPLY #1815 /* ~I don't want a role in this mess. Will we be meeting up with that foppish lout again?~ */ EXTERN ~TELMAN~ 6
  IF ~~ THEN REPLY #1816 /* ~I do not understand him.  If he were not the son of Lord Roenall I would think him capable of anything.  Anything short of the criminal, of course.~ */ EXTERN ~JEBADO~ 4
END

IF ~~ THEN BEGIN 13 // from: 14.2
  SAY #1139 /* ~A word, good knight Anomen... in the last battle, I noticed you pulling back and parrying... Next time you see an opening like that, my advice is to take advantage of it.~ [HAERDA46] */
  IF ~~ THEN DO ~SetGlobal("HostileFishermen","GLOBAL",1)
~ JOURNAL #6283 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 14 // from:
  SAY #1140 /* ~That is the way of things. There will be... there will be payment for this crime, and I shall not rest until it is collected. When we are able, there will be...~ */
  IF ~~ THEN REPLY #1818 /* ~I am reminded each and every day when I wake up and realize what has changed.  Father had everything balanced and stable.  Now it's all topsy-turvy.~ */ JOURNAL #6405 /* ~The Drow Summoning Ritual

An imp claiming to come from the Silver Dragon appeared, telling me that in order for me to be able to flee the city with the eggs, Matron Ardulace must first be killed.  Doing so will only leave me minutes to get out of the city before my disguise is revealed by the angry Handmaidens of Lolth.  No doubt my chance will come during the ritual... cutting it close, indeed.~ */ GOTO 15
  IF ~~ THEN REPLY #1819 /* ~Hopefully he'll give me space now.  Actually, this was the first time I said no directly.  Father always handled it.  I bet Isaea found him as maddening as me.~ */ DO ~IncrementGlobal("FisherPrice","GLOBAL",100)
~ JOURNAL #6403 /* ~The Drow Summoning Ritual

I have given Phaere the real silver eggs... I had little choice... and she has gone on to the Temple of Lolth and commanded me to follow.~ */ GOTO 19
  IF ~~ THEN REPLY #1820 /* ~Well, if it isn't Nalia's trained chimps come to call.~ */ JOURNAL #6404 /* ~~ */ GOTO 13
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #1141 /* ~As you wish, though we are obviously of different minds. Let us go.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #1142 /* ~If you would not help your husband, how are you to be trusted to help another?~ */
  IF ~~ THEN DO ~GiveItem("MISC53",[PC])
~ GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.0
  SAY #1143 /* ~You will get no further argument from me. I apologize.~ */
  IF ~~ THEN DO ~GiveItem("MISC53",[PC])
SetGlobal("HostileFishermen","GLOBAL",1)
~ JOURNAL #6406 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 18 // from:
  SAY #1144 /* ~Enough. I would leave this place.~ */
  IF ~~ THEN DO ~GivePartyGoldGlobal("FisherPrice","GLOBAL")
AddexperienceParty(1000)
GiveItem("BLUN03",[PC])
ActionOverride("Telman",EscapeArea())
ActionOverride("Jebadoh",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 19 // from: 14.1 12.0 11.0
  SAY #1817 /* ~What does any of it mean?  That he is a rounder, and were he not the son of Lord Roenall I would think him capable of anything short of the criminal.~ */
  IF ~~ THEN JOURNAL #6282 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 20 // from:
  SAY #417 /* ~Berries in my pocket.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 21 // from:
  SAY #6921 /* ~This is bad.~ [EDWINW01] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 22 // from:
  SAY #9003 /* ~Help me, comrades. To my aid!~ [DERILX06] */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~NumTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN BEGIN 23 // from:
  SAY #142 /* ~'Twas only the Lady of Pain, herself, Mistress of all Sigil, who through her unplumbed whimsy sent us careening through a portal to emerge where we are now, in this place you know as Amn.~ */
  IF ~~ THEN DO ~ActionOverride("Jebadoh",SetNumTimesTalkedTo(1))
ActionOverride("Telman",SetNumTimesTalkedTo(1))
~ EXTERN ~JEBADO~ 0
END

IF WEIGHT #3 ~NumTimesTalkedTo(0)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN BEGIN 24 // from:
  SAY #622 /* ~If it makes you happy, you can tell your friends that I've pressured you into joining.~ */
  IF ~~ THEN DO ~ActionOverride("Jebadoh",SetNumTimesTalkedTo(1))
ActionOverride("Telman",SetNumTimesTalkedTo(1))
~ EXTERN ~JEBADO~ 1
END

IF WEIGHT #4 ~NumTimesTalkedTo(0)
ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN BEGIN 25 // from:
  SAY #629 /* ~Yes, Miss Nalia. He fought bravely, but didn't make it to his flail, or perhaps didn't get enough parts. There is one hidden around here somewhere, I guess, but he never told anyone where.~ */
  IF ~~ THEN DO ~ActionOverride("Jebadoh",SetNumTimesTalkedTo(1))
ActionOverride("Telman",SetNumTimesTalkedTo(1))
~ EXTERN ~JEBADO~ 2
END

IF WEIGHT #6 ~Global("HelpJebadoh","GLOBAL",1)
~ THEN BEGIN 26 // from:
  SAY #1035 /* ~Kha... Khalid?~ [JAHEIRC3] */
  IF ~~ THEN DO ~~ EXTERN ~TELMAN~ 3
END
