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

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

IF WEIGHT #3 /* Triggers after states #: 1 2 6 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #2432 /* ~Hold a moment, Korgan, we were hasty with our words. We will accompany you to Pimlico's.~ */
  IF ~~ THEN REPLY #15297 /* ~You've told me nothing I didn't already know, fool.  Good-bye.~ */ DO ~StartStore("tem3402",LastTalkedToBy())~ EXIT
  IF ~!Dead("BASSILUS")
~ THEN REPLY #15298 /* ~Ah!  Ye are a shaint, ye are.  The Morninglord's praishes upon ye.~ */ GOTO 8
  IF ~Dead("BASSILUS")
~ THEN REPLY #20626 /* ~Hannah~ */ EXIT
END

IF WEIGHT #0 ~Dead("bassilus")
PartyHasItem("MISC04")
!Global("BassilusDead","GLOBAL",2)~ THEN BEGIN 1 // from:
  SAY #2435 /* ~This is our territory.~ */
  IF ~~ THEN DO ~GiveGoldForce(5000)
SetGlobal("BassilusDead","GLOBAL",2)
AddexperienceParty(1000)
TakePartyItem("MISC04")
~ JOURNAL #10250 /* ~Finding Irenicus in Hell

Having Blackrazor obviously gives me the ability to dispatch the genie and gain the Tear of Bhaal for myself, and I have chosen to do so.  I am not about to give up this sword so easily.~ */ EXIT
END

IF WEIGHT #1 ~Dead("bassilus")
!PartyHasItem("MISC04")
!Global("BassilusDead","GLOBAL",2)~ THEN BEGIN 2 // from:
  SAY #2436 /* ~Not so fast, Korgan. Your desire to gain the tome is admirable, but we've other irons in the forge.
~ */
  IF ~~ THEN DO ~StartStore("tem3402",LastTalkedToBy())
~ EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY #2437 /* ~Scimitar +3~ */
  IF ~~ THEN DO ~GivePartyGold(2000)
~ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #2438 /* ~Allow? Perhaps yer new gang of bowelhives would like t' know that rockrunt here took it upon himself, whiles we were out and about, ta up and dirtnap three of the crew.~ */
  IF ~~ THEN DO ~TakePartyGold(300)
~ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #2439 /* ~Then onward to victory and spoils!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~PartyHasItem("MISC52")
!Global("wyvernp","GLOBAL",1)
~ THEN BEGIN 6 // from:
  SAY #2440 /* ~Fools! Scurvy whelps! Only scent stronger than weakness is the stink of cowardice!  If that's the way you want it, then I'll take me leave of ye.~ */
  IF ~~ THEN DO ~GiveGoldForce(2000)
TakePartyItem("MISC52")
SetGlobal("wyvernp","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #2441 /* ~Damn, ye've all taken too long!  Ransacked she is, looted she was. Ye can't tell from barking in the street, but indoors is spiced rum, dilligrout and Pimlico's noon-meats.~ [KORGAN76] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 0.1
  SAY #10717 /* ~Well, I could use some of that wisdom right now, Keldorn. Have you the freedom to travel once more at my side?~ */
  IF ~~ THEN JOURNAL #10718 /* ~Investigate activities in the Copper Coronet's rooms.

I informed Lehtinan, the owner of the Copper Coronet, of Hendak's desire to escape the slave pens and his attempt to acquire my help.~ */ EXIT
END
