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

BEGIN ~GORIMP01~

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #66511 /* ~Hey, you!  Yeah, I'm talking to you!  Only the Masters are allowed in the libraries...  what are you doing here?~ */
  IF ~~ THEN REPLY #66512 /* ~Who are you?~ */ GOTO 1
  IF ~~ THEN REPLY #66513 /* ~I could ask you the same question.~ */ GOTO 1
  IF ~Global("zGorChrJob","GLOBAL",2)~ THEN REPLY #66514 /* ~I'm looking for four scepter keys.  Can you help me?~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 2.0 0.1 0.0
  SAY #66515 /* ~I'm just the resident whipping imp!  A menial servant.  A serf.  A slave.  A vassal.  The Masters couldn't care whether I live or die!~ */
  IF ~~ THEN REPLY #66516 /* ~Your masters are dead and gone.~ */ GOTO 4
  IF ~~ THEN REPLY #66517 /* ~I assume you are talking about the wizards the demon in the other room mentioned?~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 0.2
  SAY #66518 /* ~What do I look like, a wizard?  Nobody tells me nothing!  Run this book across the hall.  Fetch that vial.  Don't play with the wands.~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #66519 /* ~You shouldn't be talking to that one.  He's always stirring up trouble between the Masters, with his hints and rumors and half-truths.~ */
  IF ~~ THEN REPLY #66520 /* ~I hate to tell you this but your masters are all dead.~ */ GOTO 4
  IF ~~ THEN REPLY #66521 /* ~You stupid imp!  Your masters are long dead!~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 3.0 1.0
  SAY #66522 /* ~Dead?  Huh... not surprised, I guess.  I knew trouble was brewing.  The Masters must have finally killed each other off.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #66523 /* ~You know, I bet that explains all those screams and explosions I kept hearing a while back.  At least now I know why the fans shut down:  nobody left to start them up.~ */
  IF ~~ THEN REPLY #66524 /* ~You mean you've just been sitting here for centuries, doing nothing?~ */ GOTO 6
  IF ~~ THEN REPLY #66533 /* ~You must be the dumbest imp in all of the Abyss.~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.1 5.0
  SAY #66525 /* ~Hey!  One of the Masters told me to wait right here for further instructions, so I waited *right here*!  I'm smart enough to know better than to disobey an order from one of the Masters.~ */
  IF ~~ THEN REPLY #66526 /* ~So how long were you going to just sit here and wait?~ */ GOTO 7
  IF ~~ THEN REPLY #66528 /* ~Didn't you get bored?  Or curious as to where everyone was?~ */ GOTO 7
  IF ~~ THEN REPLY #66534 /* ~After the first hundred years, didn't you realize something strange must have happened?~ */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.2 6.1 6.0
  SAY #66527 /* ~Look... I'm an immortal spirit, okay?  What's a thousand years to me?  And if you knew how the Masters punished disobedience, you wouldn't have moved for a thousand years either!~ */
  IF ~~ THEN GOTO 8
  IF ~IsValidForPartyDialog("Imoen")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~IMOEN25J~ 23
  IF ~IsValidForPartyDialog("HaerDalis")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~HAERD25J~ 5
END

IF ~~ THEN BEGIN 8 // from: HAERD25J:5.0 7.0
  SAY #66529 /* ~With the Masters dead, I've got no reason to stick around anymore.  But since you did bring me the news that I'm free to go, I'll help you out.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #66530 /* ~This whole place is powered by a magical fan - without it, all the labs shut down.  If you want to find anything besides empty rooms, you should start that fan up again.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 10 // from: 11.0
  SAY #66532 /* ~Sorry, I've wasted enough time hanging around here already.  One last tip: Go to the Air Lab first. It's behind me. The fan has two settings:  high and low.  That might be important.  And now I'm gone.~ */
  IF ~~ THEN DO ~CreateVisualEffectObject("ICFIRSDI",Myself)
DestroySelf()
~ UNSOLVED_JOURNAL #70666 /* ~Activating the Fan

According to the Imp I stumbled across, this entire level is powered by a magical fan which must be turned on in order to activate the various laboratories.  I wonder if the fan has any other uses?~ */ EXIT
END

IF ~~ THEN BEGIN 11 // from: 13.0
  SAY #70767 /* ~So before you go stumbling into something you can't handle, you should check out all the libraries.  The Masters were into some pretty strange stuff... but at least they kept written lab notes of their work. These notes will be invaluable.~ */
  IF ~~ THEN REPLY #70768 /* ~Wait, I have some more questions to ask you!~ */ UNSOLVED_JOURNAL #71102 /* ~The Elemental Wizards

According to the imp, this level of the dungeon was run by four elemental wizards, each of whom had a library and a laboratory. The imp claims that the wizards were always plotting to kill each other and kept notes on how they would destroy the near unkillable creations of their enemies. If these creations still exist, I should find these notes to discover how I might kill the wizards' pets.~ */ GOTO 10
END

IF ~~ THEN BEGIN 12 // from: 9.0
  SAY #71095 /* ~There were four Masters and each kept a library and a lab. Air, Slime, Cold, and Fire were the magicks that they practiced.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #71096 /* ~The Masters' pets and creations probably still inhabit their labs, so beware. Some of them are near unkillable if you don't know how to hurt them. A little hint for you, the Masters were always planning to kill each other. Each Master could use his unique elemental power against one of the others.~ */
  IF ~~ THEN GOTO 11
END
