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

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

IF WEIGHT #4 /* Triggers after states #: 5 6 10 11 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #23450 /* ~No, not at this time.~ */
  IF ~~ THEN REPLY #23451 /* ~Good, I could not bear this place much longer.~ */ GOTO 1
  IF ~~ THEN REPLY #23452 /* ~It be more proper to be callin' me 'the' Thumb.  Thumb alone just don't be soundin' right.  Named after the hook, here, naturally...~ */ GOTO 2
  IF ~~ THEN REPLY #23453 /* ~Then I shall wait here for now, but not indefinitely. This place grates on my nerves quite fiercely.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #23454 /* ~What manner of place is this?~ */
  IF ~~ THEN JOURNAL #23458 /* ~Chapter 2

I escaped from the mad maze that was Irenicus' dungeon only to encounter the wizard, himself, in a battle with assassins in black leather.  Perhaps that was why I was able to escape as easily as I did... I do not know.  The assassins seemed to be blaming the mage for something, to which Irenicus responded with anger and powerful magic.  Indeed, part of the structure which surrounded him had collapsed from the might of his spells.
As the battle ended, however, Imoen attacked Irenicus, herself... and when strange wizards appeared to put an end to the magical conflict, they took both Imoen and Irenicus away.

I am left in the city of Athkatla in Amn with few allies and enemies that I know nothing about.  Imoen is missing... and the only place I can go to achieve answers is likely the same place she has been taken.

I have encountered a man named Gaelan Bayle who mysteriously seems to know who I am and sought me out.  He has an offer of aid from an equally mysterious source.  And one which comes with a very high price, indeed...~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #23455 /* ~Let me guess... you were a pirate captain once?~ */
  IF ~~ THEN JOURNAL #23458 /* ~Chapter 2

I escaped from the mad maze that was Irenicus' dungeon only to encounter the wizard, himself, in a battle with assassins in black leather.  Perhaps that was why I was able to escape as easily as I did... I do not know.  The assassins seemed to be blaming the mage for something, to which Irenicus responded with anger and powerful magic.  Indeed, part of the structure which surrounded him had collapsed from the might of his spells.
As the battle ended, however, Imoen attacked Irenicus, herself... and when strange wizards appeared to put an end to the magical conflict, they took both Imoen and Irenicus away.

I am left in the city of Athkatla in Amn with few allies and enemies that I know nothing about.  Imoen is missing... and the only place I can go to achieve answers is likely the same place she has been taken.

I have encountered a man named Gaelan Bayle who mysteriously seems to know who I am and sought me out.  He has an offer of aid from an equally mysterious source.  And one which comes with a very high price, indeed...~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #23456 /* ~I'd like a drink.~ */
  IF ~~ THEN JOURNAL #23458 /* ~Chapter 2

I escaped from the mad maze that was Irenicus' dungeon only to encounter the wizard, himself, in a battle with assassins in black leather.  Perhaps that was why I was able to escape as easily as I did... I do not know.  The assassins seemed to be blaming the mage for something, to which Irenicus responded with anger and powerful magic.  Indeed, part of the structure which surrounded him had collapsed from the might of his spells.
As the battle ended, however, Imoen attacked Irenicus, herself... and when strange wizards appeared to put an end to the magical conflict, they took both Imoen and Irenicus away.

I am left in the city of Athkatla in Amn with few allies and enemies that I know nothing about.  Imoen is missing... and the only place I can go to achieve answers is likely the same place she has been taken.

I have encountered a man named Gaelan Bayle who mysteriously seems to know who I am and sought me out.  He has an offer of aid from an equally mysterious source.  And one which comes with a very high price, indeed...~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #23457 /* ~I've got to be going, now.~ */
  IF ~~ THEN JOURNAL #23459 /* ~~ */ EXIT
END

IF WEIGHT #1 /* Triggers after states #: 6 even though they appear after this state */
~Global("vikingx","GLOBAL",2)
~ THEN BEGIN 5 // from:
  SAY #23460 /* ~Well, call me an idjit but I always thought I had meself a tavern here.  Got some rooms upstairs if ye need.  Beats sleepin' it off in the street.~ */
  IF ~~ THEN JOURNAL #23461 /* ~~ */ EXIT
END

IF WEIGHT #0 ~Global("Durtombx","GLOBAL",1)
Global("DurStatx","GLOBAL",1)
Global("vikingx","GLOBAL",2)
~ THEN BEGIN 6 // from:
  SAY #23462 /* ~Berinvar~ */
  IF ~~ THEN REPLY #23463 /* ~Berinvar~ */ GOTO 7
  IF ~~ THEN REPLY #23464 /* ~Ye have proven... to be not worth me time, so I'm saying so long with a smile. Mayhap we meet again, though a blade'll be me handshake! Good riddance!~ [KORGAN88] */ GOTO 8
  IF ~~ THEN REPLY #23465 /* ~Ah, I'd like me some time to put up me feet anyway. Find me when yer through wandering and want to do some serious travel. I'll be at the Copper Coronet until then.~ */ GOTO 9
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #23466 /* ~I take it your name is Thumb?~ */
  IF ~~ THEN DO ~SetGlobal("TeleRoom","GLOBAL",1)
DialogInterrupt(FALSE)
MoveToPoint([3923.881])
DialogInterrupt(TRUE)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #23467 /* ~Let me guess... you were a pirate captain once?~ */
  IF ~~ THEN DO ~SetGlobal("TeleRoom","GLOBAL",1)
DialogInterrupt(FALSE)
MoveToPoint([3923.881])
DialogInterrupt(TRUE)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.2
  SAY #23468 /* ~I'd like a drink.~ */
  IF ~~ THEN DO ~SetGlobal("TeleRoom","GLOBAL",1)
DialogInterrupt(FALSE)
MoveToPoint([3923.881])
DialogInterrupt(TRUE)
DestroySelf()
~ EXIT
END

IF WEIGHT #2 ~Global("Durtombx","GLOBAL",1)
~ THEN BEGIN 10 // from:
  SAY #23469 /* ~I've got to be going, now.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~Global("DurStatx","GLOBAL",1)
~ THEN BEGIN 11 // from:
  SAY #23470 /* ~The Thumb were ne'er a pirate!  Sailed the exotic merchant routes in the west... retired here after I met the wee beastie now mounted o'er me bed.~ */
  IF ~~ THEN EXIT
END
