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

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

IF WEIGHT #1 /* Triggers after states #: 17 even though they appear after this state */
~NumTimesTalkedTo(0)
!Dead("Dunkin")
~ THEN BEGIN 0 // from:
  SAY #2375 /* ~Travin~ */
  IF ~~ THEN DO ~StartTimer(1,10)
~ EXTERN ~DUNKIN~ 0
END

IF WEIGHT #2 /* Triggers after states #: 17 even though they appear after this state */
~NumTimesTalkedTo(1)
!Dead("Dunkin")
~ THEN BEGIN 1 // from:
  SAY #2376 /* ~Travin~ */
  IF ~~ THEN REPLY #2397 /* ~We have to keep our heads if we are to escape this place.~ */ GOTO 4
  IF ~~ THEN REPLY #2398 /* ~Belly up, comrades, and let Korgan flail the bladder for a spell.~ */ GOTO 3
  IF ~~ THEN REPLY #2399 /* ~Drink Hail! Wassail for all! I be curious, friends. I'm scouring for a band of desperate men to aid me in a gallant task.  Ye look like ye keep undertakers in a brisk trade. 'Ave ye courage and time fer a tale?~ [KORGAN01] */ GOTO 5
  IF ~~ THEN REPLY #2400 /* ~Thanks but no thanks. We've other matters to attend to.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 6.3 5.2 4.2 1.3
  SAY #2377 /* ~Borinall~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 12.1 1.1
  SAY #2378 /* ~Borinall~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.0
  SAY #2379 /* ~~ */
  IF ~~ THEN REPLY #2405 /* ~A fortnight past, me fellows and I were in the midst of obtaining an ancient text fer our patron when a skirmish visited our midst. Vile words, alas, became a lake of bloodshed.~ */ GOTO 6
  IF ~~ THEN REPLY #2406 /* ~This book-collector? Who is he? Why the interest in this particular timeworn manual? This book sounds too valuable to be couriered.
~ */ GOTO 14
  IF ~~ THEN REPLY #2407 /* ~Pimlico collects books just fer the pleasure of collecting.  Arcane, bizarre, peculiar; it matters not.~ */ GOTO 2
END

IF ~~ THEN BEGIN 5 // from: 1.2
  SAY #2381 /* ~I know not who has done this, but I will avenge most viciously the wrongs they... the wrongs... Dynaheir! I will cave their skulls for what they have done!~ */
  IF ~~ THEN REPLY #2401 /* ~We'll listen to your tale.~ */ DO ~~ GOTO 6
  IF ~~ THEN REPLY #2402 /* ~Where be the book then, Korgan?~ */ GOTO 14
  IF ~~ THEN REPLY #2403 /* ~In some hobnail's tomb over in the lower crypts of the Grave District. It's nay abandoned but rumors and half-truths only scare the young and infirm. Keeps the curious away, me guess.~ */ GOTO 2
END

IF ~~ THEN BEGIN 6 // from: 5.0 4.0
  SAY #2382 /* ~I will continue my adventures with you and... and... those that do evil will pay dearly for their actions! So swears Minsc! On Dynaheir's grave, so swear I!~ */
  IF ~~ THEN REPLY #2408 /* ~Well... it'll take far more than a few shambling bags of skin and stitches to deter Korgan Bloodaxe from a king's ransom! A foolhardy jaunt into a hive of undead?  How could ye resist?~ */ GOTO 8
  IF ~~ THEN REPLY #2409 /* ~Is there something we should know about this tomb?~ */ GOTO 7
  IF ~~ THEN REPLY #2410 /* ~We've heard enough of your tale, bugger off now.~ */ GOTO 9
  IF ~~ THEN REPLY #2411 /* ~Trapped?! Her spirit... her spirit is trapped in a cage created by my failure. I was to guard her, but she... she...~ */ GOTO 2
END

IF ~~ THEN BEGIN 7 // from: 9.0 6.1
  SAY #2383 /* ~I will exact penance from each and every wicked soul that dared lay a finger on...~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 12.2 9.1 6.0
  SAY #2384 /* ~Will you help? We must join together once more, and our fury will be such that bards will run their quills dry! Yes, ink will be scarce where e'er we go!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.2
  SAY #2385 /* ~~ */
  IF ~~ THEN REPLY #2412 /* ~Myconid~ */ GOTO 7
  IF ~~ THEN REPLY #2413 /* ~Myconid~ */ GOTO 8
  IF ~~ THEN REPLY #2414 /* ~The tomb is calling and I may be forced to heed her beckon alone and enjoy the wages without me stalwarts by me side.~ */ GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.2
  SAY #2386 /* ~Drink Hail! Wassail for all! I be curious, friends. I'm scouring for a band of desperate men to aid me in a gallant task.  Ye look like ye keep undertakers in a brisk trade. 'Ave ye courage and time fer a tale?~ [KORGAN01] */
  IF ~~ THEN EXTERN ~DUNKIN~ 1
END

IF ~~ THEN BEGIN 11 // from:
  SAY #2387 /* ~A fortnight's past my former band and I, proud delvers all, were involved in an unpleasant quarrel. We were attempting to abscond an ancient tome for our patron from its resting place. This bickering led to cruel humor, vile words and alas, a lake of bloodshed. The book ne'er made it to our merchant friend's hands. His love of wordcraft prevails to this day, and all he wants is his sacred grimoire. So the scuttlebutt is that the pay's handsome and worthy of note--rarecut gems, sacks of loot, odd magics. Best of all, the book be not far from where we petty-fog now.~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 2
END

IF ~~ THEN BEGIN 12 // from:
  SAY #2388 /* ~This is the key that was given to you by Edwin. He tells you that it will open a container in Mae'var's chambers in which proof of his betrayal can be found.~ */
  IF ~~ THEN REPLY #2415 /* ~Fine then, lant quaffers!  I've put up with ye fribblin' long enough!  I've work to do and it'll not be with the likes of this girdlewaisted loomcrew!~ [KORGAN74] */ GOTO 13
  IF ~~ THEN REPLY #2416 /* ~Sssssstinking meat... cursssssed with life.There are lawssss even here, rulessss. Final resssst musssst be maintained... defilerssss will die... it is the way of all flesssshhhh. Kaza'sss tome isss gone! Nevaziah'sss ssssstudent ssshall be thy doom. Join me in death...~ */ GOTO 3
  IF ~~ THEN REPLY #2417 /* ~Ye nay made your way to the accursed crypt then? Ye can ne'er send a longlimb to do what's a dwarven task by divine right!  What is it that ye want?~ */ GOTO 8
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #2389 /* ~Mmmm... tastes like chicken!~ [SSWORD26] */
  IF ~~ THEN DO ~AddexperienceParty(900)
~ JOURNAL #11821 /* ~Journey to the Windspear Hills.

I was approached by a Lord Jierdan Firkraag, whose lands outside of Athkatla are being plagued by ogre bandits.  He has asked that I journey to the Windspear Hills and kill these ogres, and has offered a 10,000 gp reward for the deed.~ */ EXTERN ~DUNKIN~ 4
END

IF ~~ THEN BEGIN 14 // from: 5.1 4.1
  SAY #2404 /* ~Who is this book collector?  Why his interest in this particular timeworn manual?~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 15 // from:
  SAY #2420 /* ~~ */
  IF ~~ THEN DO ~~ EXTERN ~DUNKIN~ 6
END

IF ~~ THEN BEGIN 16 // from:
  SAY #2428 /* ~We seek a strong warrior to accompany us. Would you be such a person?~ */
  IF ~~ THEN DO ~MoveToPoint([.])
~ EXTERN ~DUNKIN~ 7
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 17 // from:
  SAY #5793 /* ~Would you not agree that there are other things that also comprise a whole man--Compassion, honesty, character?~ */
  IF ~~ THEN JOURNAL #6552 /* ~~ */ EXIT
END

IF WEIGHT #3 ~!Dead("Dunkin")
~ THEN BEGIN 18 // from:
  SAY #5794 /* ~Agreed! The sword makes the man and is the only true measure of his worth and mettle.~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 8
END

IF ~~ THEN BEGIN 19 // from:
  SAY #8938 /* ~I should go find my former wife as soon as possible. As much as I regret having to take this trip, I must still insist we go soon.~ */
  IF ~~ THEN EXIT
END
