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

BEGIN ~_IKE2~

IF ~Global("ike","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY #83503 /* ~'Tis about time you got here! I'll wait no longer! The others are already inside! If you don't follow me now, you forfeit your deposit!  The tour will not be delayed for you! Now, let us get on with it.~ */
  IF ~~ THEN DO ~EraseJournalEntry(84201)
EraseJournalEntry(83499)
EraseJournalEntry(83502)
DialogueInterrupt(FALSE)
SetGlobal("ike","GLOBAL",2)
MoveToPoint([2663.2399])
DialogueInterrupt(TRUE)
~ EXIT
END

IF ~Global("ike","GLOBAL",2)
~ THEN BEGIN 1 // from:
  SAY #83504 /* ~See how she looms before us as we draw near.  Never before and never again will the like be seen.  A monument to one man's triumph... and his FOLLY!~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #83505 /* ~The tower, and labyrinth below, were built ages ago by the dwarven hero Durlag "Thunderaxe," for no less worthy a purpose than to be a home for him and his kin.  His enormous fortune occupied ENTIRE rooms, rumored WAIST-DEEP on a man.  The wealth he had accumulated was to be the BACKBONE of his clan, but it was ultimately their DOWNFALL.~ */
  IF ~~ THEN DO ~SetGlobal("ike","GLOBAL",3)
EscapeArea()
~ UNSOLVED_JOURNAL #83506 /* ~Durlag's Tower

The tower and the labyrinth below were built ages ago by the dwarven hero Durlag "Thunderaxe," for no less worthy a purpose than to be a home for him and his kin.  His enormous fortune occupied entire rooms, and was rumored to be waist-deep on a man.  The wealth Durlag accumulated was to be the backbone of his clan.~ */ EXIT
END

IF ~Global("ike","GLOBAL",3)
~ THEN BEGIN 3 // from:
  SAY #83507 /* ~The stories of his opulence spread across the land, and the most unsavory of creatures sought to make the tower theirs.  All of Durlag's kin and friends were replaced by DOPPLEGANGERS, and he found himself KILLING the visage of those that he CARED most, just to SAVE HIMSELF.  Who among YOU could bear THAT?!  In the end he DROVE them from his now sullen home, and vowed that NONE would dare the same again!~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
MoveToPoint([749.567])
SetGlobal("ike","GLOBAL",4)
DialogueInterrupt(TRUE)
~ UNSOLVED_JOURNAL #83508 /* ~Durlag's Tower

The stories of Durlag's opulence spread across the land, and the most unsavory of creatures sought to make the tower theirs.  All of Durlag's kin and friends were replaced by doppelgangers, and thus Durlag found himself killing likenesses of those that he cared for the most, just to save himself.  In the end, he succeeded in driving the invaders from his home, and vowed that none would infiltrate his tower again!~ */ EXIT
END

IF ~Global("ike","GLOBAL",4)
~ THEN BEGIN 4 // from:
  SAY #83509 /* ~Durlag installed magical locks on the entrances to his inner sanctum, requiring ward tokens to pass.  No doubt you have ALL been approached by unscrupulous merchants selling "genuine" tokens to the tower.  Indeed, I MYSELF have SEVERAL, but they are mere souvenirs for the mantle.  There are but a few AUTHENTIC tokens, and they are rare and EXPENSIVE.~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
MoveToPoint([684.370])
SetGlobal("ike","GLOBAL",5)
DialogueInterrupt(TRUE)
~ UNSOLVED_JOURNAL #83510 /* ~Durlag's Tower

Durlag installed magical locks on the entrances to his inner sanctum, locks which required ward tokens to pass.  Evidently some of these tokens still exist, but are likely expensive and rare.~ */ EXIT
END

IF ~Global("ike","GLOBAL",5)
~ THEN BEGIN 5 // from:
  SAY #83511 /* ~Those that passed the wards were confronted with the fruits of the paranoia that CONSUMED Durlag.  In this sitting room alone are some of the most fiendish DEVICES OF DEATH known to man!  Upon the wall was a picture that, before it was RIPPED from its frame, caused those that looked upon it to freeze in their tracks for ALL TIME!  Look with HORROR upon this hapless soul!~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
MoveToPoint([866.386])
SetGlobal("ike","GLOBAL",6)
DialogueInterrupt(TRUE)
~ UNSOLVED_JOURNAL #83512 /* ~Durlag's Tower

Those who passed the wards were confronted with the fruits of the paranoia which consumed Durlag.  He had traps crafted for every inch of floor and wall, and nary a step could be taken without triggering some horrendous effect.~ */ EXIT
END

IF ~Global("ike","GLOBAL",6)
~ THEN BEGIN 6 // from:
  SAY #83513 /* ~This chair, once sat in, would deliver an UNHOLY spike to your nether regions.  IMAGINE the EXCRUCIATING SURPRISE of the UNWARY!  Durlag went to lengths heretofore UNKNOWN to keep out intruders!~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #83514 /* ~We'll take a small break here before moving on, good people.  Please, for your own safety, TOUCH NOTHING!~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #83515 /* ~TOUCH NOTHING and NO REFUNDS!~ */
  IF ~~ THEN DO ~ActionOverride("tourist1",MoveToPoint([460.336]))
SetGlobal("ike","GLOBAL",7)
~ EXIT
END

IF ~Global("ike","GLOBAL",7)
~ THEN BEGIN 9 // from:
  SAY #83516 /* ~Be VERY careful about this tower, otherwise you'll end up burnt alive like the other unfortunate tourist.
I would speak with you a moment, because there's something different about you.  I can tell you're not buying the hyped-up crap I feed to most people.  You've got a look in your eyes that says "I don't believe in danger, I don't know what fear means, and I will go where no sane person ever would!" I think you're just what I need.  I have one of the true tokens to the dungeons below, but I am not half the fool I once was.  'Tis yours for a measly 300 gold, on the condition that if you do not succeed, you return it to me.~ */
  IF ~PartyGoldGT(299)
~ THEN REPLY #83517 /* ~'Tis more than fair.  I'll take it sir, and give those dungeons a what-for!~ */ GOTO 10
  IF ~~ THEN REPLY #83518 /* ~Why only 300 gold if it is the real thing?  You said yourself that the genuine ones are very expensive.~ */ GOTO 12
  IF ~~ THEN REPLY #83519 /* ~I do not believe you.  'Tis but a cheap fake, not unlike yourself!~ */ GOTO 13
  IF ~~ THEN REPLY #83520 /* ~I'll not be risking my neck in those dungeons!  'Tis madness at any price!~ */ GOTO 14
END

IF ~~ THEN BEGIN 10 // from: 13.1 12.1 9.0
  SAY #83521 /* ~'Tis good news for both of us!  I'm not sure how far the token allows access, but it should be at least as far as the third floor down.  Good luck eh, and remember our deal.  You'd best go get stocked up, while I get back to my job.  What... in the name of the gods is THAT?!?!?!~ */
  IF ~~ THEN DO ~GiveItem("_MISC2M",LastTalkedToBy)
TakePartyGold(300)
SetGlobal("ike","GLOBAL",8)
~ UNSOLVED_JOURNAL #83522 /* ~Durlag's Tower

I have agreed to try to use Ike's ward token in order to explore some of the lower rooms of Durlag's Tower.  He seems to think that I am up to the challenge, and I agree.~ */ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #83525 /* ~Blast and damnation!  Touch nothing, I says, but do they ever listen?  No sir!  All of 'em think they know better than old Ike.  And they wonder why I demand payment up front!  Back to town for another load I guess.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 13.2 9.1
  SAY #83526 /* ~'Tis a win/win deal for me.  If you actually manage to defeat a few rooms, you get the gold and I get a new tour attraction.  If you're defeated, I get the token back, or at the very least I have your body as a new display.  I can't lose.  Deal?~ */
  IF ~~ THEN REPLY #83527 /* ~You win no matter what happens to me!  I won't be your expendable stooge!  Forget it!~ */ GOTO 14
  IF ~PartyGoldGT(299)
~ THEN REPLY #83517 /* ~'Tis more than fair.  I'll take it sir, and give those dungeons a what-for!~ */ GOTO 10
  IF ~~ THEN REPLY #83519 /* ~I do not believe you.  'Tis but a cheap fake, not unlike yourself!~ */ GOTO 13
  IF ~~ THEN REPLY #83520 /* ~I'll not be risking my neck in those dungeons!  'Tis madness at any price!~ */ GOTO 14
END

IF ~~ THEN BEGIN 13 // from: 12.2 9.2
  SAY #83528 /* ~ 'Tis true I've sold many a fake in my time, but not today.  I know this one is real because I've opened the door myself, but I need an adventurer's muscle and skill.  If not yours then someone else's.~ */
  IF ~~ THEN REPLY #83529 /* ~Let it be someone else then!  I'll not kill myself going where ye be afraid to go yourself.~ */ GOTO 14
  IF ~PartyGoldGT(299)
~ THEN REPLY #83517 /* ~'Tis more than fair.  I'll take it sir, and give those dungeons a what-for!~ */ GOTO 10
  IF ~~ THEN REPLY #83518 /* ~Why only 300 gold if it is the real thing?  You said yourself that the genuine ones are very expensive.~ */ GOTO 12
  IF ~~ THEN REPLY #83520 /* ~I'll not be risking my neck in those dungeons!  'Tis madness at any price!~ */ GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.3 13.0 12.3 12.0 9.3
  SAY #83530 /* ~Well I definitely read you wrong!  Back to the other gawkers with ya!  You can diddle about the tower with the rest of the tour.  Now if you'll excuse me... by the gods... what is THAT?!?!?!~ */
  IF ~~ THEN DO ~SetGlobal("ike","GLOBAL",8)
~ EXIT
END

IF ~False()
~ THEN BEGIN 15 // from:
  SAY #83531 /* ~Have you're changed your mind about the token, or are you still the sensible coward?~ */
  IF ~PartyGoldGT(299)
~ THEN REPLY #83532 /* ~I have reconsidered your offer.  I'll take your token, and those dungeons, for all they're worth!~ */ GOTO 16
  IF ~~ THEN REPLY #83533 /* ~Perhaps if you reduced the price I might reconsider.~ */ GOTO 18
  IF ~~ THEN REPLY #83534 /* ~Bah!  My answer is still no!~ */ GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #83535 /* ~I new ye had it in ye!  Good luck and fortune to us both!  The token should allow access to the second level down at the very least, and that's more than has been seen by living eyes in over a hundred years!  I can hardly wait to tour it!  Nobles will come from leagues distant!  Remember our deal; any treasure be yours, but just make sure ye clear more than a room or two.  On your way!~ */
  IF ~~ THEN DO ~GiveItem("_MISC2M",LastTalkedToBy)
TakePartyGold(300)
SetGlobal("ike","GLOBAL",9)
~ UNSOLVED_JOURNAL #83522 /* ~Durlag's Tower

I have agreed to try to use Ike's ward token in order to explore some of the lower rooms of Durlag's Tower.  He seems to think that I am up to the challenge, and I agree.~ */ EXIT
END

IF ~~ THEN BEGIN 17 // from: 15.2
  SAY #83536 /* ~If that be your choice, so be it.  There are plenty of brave, adventure seeking youths I can hire.  Plenty!  I just... have to keep looking is all.  Waste no more of my time.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 18 // from: 15.1
  SAY #83537 /* ~The price be cheaper than most fakes!  You insult me!  Leave me to my paying customers!~ */
  IF ~~ THEN EXIT
END
