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

BEGIN ~GORSAL~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #62966 /* ~Greetings, puny one.  I am Saladrex.  I assumed the disturbance I heard earlier was another attack by the mind flayers, but I see now that you must have been the cause.  It is nice to see a new mouse stumble into my lair.~ [GORDRA07] */
  IF ~~ THEN REPLY #62968 /* ~What's a dragon doing inside this dungeon?~ */ GOTO 4
  IF ~~ THEN REPLY #62971 /* ~I am no mouse, Wyrm!  I have killed your Githyanki followers - now I shall kill you!~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 1
  IF ~~ THEN REPLY #62972 /* ~Puny one?  Mouse?  I am <GABBER> - a hero of great renown!  Try to be civil, or I shall have to teach you some manners.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 2
  IF ~~ THEN REPLY #62974 /* ~Are you the Imprisoned One?~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #62995 /* ~My Githyanki?  (snort!) What makes you think I have anything other than a passing relationship with lesser creatures such as them?~ [GORDRA08] */
  IF ~~ THEN REPLY #62998 /* ~Well if the Githyanki weren't working for you, what are you doing down here?~ */ GOTO 4
  IF ~~ THEN REPLY #63000 /* ~Look - all I'm trying to do is start a fight.  Would you mind obliging me?~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 3.0 1.1 0.2
  SAY #63002 /* ~What is it about us dragons that brings out the violent urges in all these lesser creatures we meet?  Must be the treasure, I guess.  Wouldn't you rather hear the fascinating story of how I ended up in this place?~ [GORDRA09] */
  IF ~~ THEN REPLY #63004 /* ~No, not really.  I just want to fight.~ */ GOTO 21
  IF ~~ THEN REPLY #63006 /* ~Fine.  Tell me, Saladrex:  how did you ever end up in a place like this?~ */ GOTO 4
  IF ~~ THEN REPLY #63013 /* ~I would be honored to hear your tale, glorious creature.  Please tell me how you came to be in this dungeon.~ */ DO ~IncrementGlobal("Flattery","Global",1)~ GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 0.3
  SAY #63007 /* ~Imprisoned One?  I cannot help you there.  Wouldn't you rather talk about me, though?  Surely I am the most impressive creature you have ever seen.~ [GORDRA10] */
  IF ~~ THEN REPLY #63009 /* ~Whatever.  Seen one dragon, seen 'em all.  We gonna fight soon, or what?~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 2
  IF ~~ THEN REPLY #63010 /* ~A dragon with an ego - what a shock.  Very well.  How did you end up in this dungeon, oh most wondrous of lizards?~ */ GOTO 4
  IF ~~ THEN REPLY #63017 /* ~I must admit you are a magnificent specimen, Saladrex.  How could you possibly have ended up trapped in this dungeon?~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.2 3.1 2.2 2.1 1.0 0.0
  SAY #63011 /* ~My story is truly a grand tale!  Of course, every story about me is going to be grand simply by virtue of the main character.~ [GORDRA11] */
  IF ~~ THEN REPLY #63015 /* ~That goes without saying, oh mighty Saladrex. Please continue.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 5
  IF ~~ THEN REPLY #63016 /* ~Oh for the love of Bhaal!  Give me a break!~ */ GOTO 5
  IF ~~ THEN REPLY #63021 /* ~Boring!  Let's just cut to the chase - time to die, Saladrex!~ */ GOTO 21
END

IF ~~ THEN BEGIN 5 // from: 4.1 4.0
  SAY #63022 /* ~Like most of the unfortunate creatures on this level, I was summoned by the mad magician in the glass cage.  However, unlike most of the others I have no real desire to escape this place.~ */
  IF ~~ THEN REPLY #63023 /* ~Why not?  Too scared to face the real world?~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 6
  IF ~~ THEN REPLY #63024 /* ~Why choose to keep the grace and beauty of your form hidden from the world, Saladrex?~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 6
  IF ~~ THEN REPLY #63025 /* ~Maybe you just need the release offered by my trusty blade!~ */ GOTO 21
END

IF ~~ THEN BEGIN 6 // from: 5.1 5.0
  SAY #63026 /* ~I have only been here a few years, an insignificant time for a dragon.  But I choose to remain for a number of reasons.  For one, I find the antics of Carston and the other lesser creatures on this level amusing.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #63028 /* ~Plus, I have been able to acquire a fair horde of treasure from the endless supply of beings Carston conjures up with that machine.  And usually I have little to fear from thieves and looters in here.~ */
  IF ~~ THEN REPLY #63036 /* ~I assure you I have no intention of stealing any of your treasure, great Saladrex.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 8
  IF ~~ THEN REPLY #63038 /* ~I don't like the implication in that look you give me when you mention thieves.~ */ GOTO 8
  IF ~~ THEN REPLY #63039 /* ~Sounds like you've gone soft!  Time to take that precious treasure you're guarding!~ */ GOTO 21
END

IF ~~ THEN BEGIN 8 // from: 7.1 7.0
  SAY #63040 /* ~Perhaps I am paranoid, <GABBER>.  The Machine of Lum the Mad has had some small effect on all the creatures trapped in here.  We sometimes behave irrationally.~ */
  IF ~~ THEN REPLY #63042 /* ~So you're saying you've got a few scales loose in the old head hide.  It shows.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 9
  IF ~~ THEN REPLY #63044 /* ~They say there is a fine line between madness and genius, great Saladrex.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 9
  IF ~~ THEN REPLY #63046 /* ~A crazy dragon - sounds like a fun battle.  Have at you, Saladrex the Unhinged!~ */ GOTO 21
END

IF ~~ THEN BEGIN 9 // from: 8.1 8.0
  SAY #63047 /* ~Too true, I'm afraid.  But I grow weary of this conversation now.  Perhaps you could return another time?~ */
  IF ~~ THEN REPLY #63050 /* ~Very well - I will retreat and return again later to bask in the glory of Saladrex.~ */ DO ~IncrementGlobal("Flattery","GLOBAL",1)~ GOTO 10
  IF ~GlobalGT("Flattery","GLOBAL",1)~ THEN REPLY #63051 /* ~Please, wise Saladrex, may I ask you some questions?~ */ GOTO 13
  IF ~~ THEN REPLY #63052 /* ~Hold on, sulphur-breath!  I sat through your chatter, now I need some questions answered!~ */ DO ~IncrementGlobal("Flattery","GLOBAL",-1)~ GOTO 12
  IF ~~ THEN REPLY #63053 /* ~Sorry, Saladrex.  I'm busy later.  Guess I'll just have to kill you now.~ */ GOTO 21
END

IF ~~ THEN BEGIN 10 // from: 17.0 14.0 9.0
  SAY #63055 /* ~Perhaps when you return I will be in a more talkative mood and we can resume our conversation.~ */
  IF ~~ THEN EXIT
END

IF ~True()~ THEN BEGIN 11 // from:
  SAY #63060 /* ~Ah, you have returned.  Sooner than I expected, but I do not blame you for wishing to be overwhelmed by my glory once again.~ [GORDRA12] */
  IF ~GlobalLT("Flattery","GLOBAL",2)~ THEN REPLY #63066 /* ~Oh most powerful of dragons, may I receive the benefit of your wisdom?~ */ DO ~IncrementGlobal("Flattery","GLOBAL",2)~ GOTO 12
  IF ~GlobalLT("Flattery","GLOBAL",2)~ THEN REPLY #63067 /* ~I wish to ask you some questions.~ */ GOTO 12
  IF ~~ THEN REPLY #63068 /* ~Hey, flame-boy!  Prepare to meet a grisly end!~ */ GOTO 21
  IF ~GlobalGT("Flattery","GLOBAL",1)~ THEN REPLY #63070 /* ~I wish to ask you some questions.~ */ GOTO 13
  IF ~GlobalGT("Flattery","GLOBAL",1)~ THEN REPLY #63071 /* ~Oh most powerful of dragons, may I receive the benefit of your wisdom?~ */ GOTO 13
END

IF ~~ THEN BEGIN 12 // from: 11.1 11.0 9.2
  SAY #63069 /* ~I think not, <GABBER>.  From many of your comments, I sense you do not truly respect my greatness.  I do not feel like talking to one who does not recognize my grandeur.  Come back later and I may be in a better mood.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 13 // from: 14.1 11.4 11.3 9.1
  SAY #63072 /* ~Very well, ask your questions and I will share my knowledge with you.~ */
  IF ~~ THEN REPLY #63073 /* ~Do you know how to get down to the next level of the dungeon?~ */ GOTO 15
  IF ~~ THEN REPLY #63074 /* ~Can you tell me anything about the Imprisoned One?~ */ GOTO 16
  IF ~~ THEN REPLY #63075 /* ~Do you know how to get through the glass cage that protects Carston?~ */ GOTO 17
  IF ~~ THEN REPLY #63076 /* ~What can you tell me about using the Machine of Lum the Mad?~ */ GOTO 23
  IF ~~ THEN REPLY #63077 /* ~What can you tell me about the Githyanki and the Illithids?~ */ GOTO 19
  IF ~~ THEN REPLY #63078 /* ~Where did Carston come from?~ */ GOTO 20
  IF ~~ THEN REPLY #63079 /* ~Do you know how to get past the vault doors in the room with the torches?~ */ GOTO 22
  IF ~~ THEN REPLY #63093 /* ~Is it true dragon meat tastes like chicken?  Never mind, I'll find out for myself.~ */ GOTO 21
END

IF ~~ THEN BEGIN 14 // from: 23.0 22.0 20.0 19.0 18.0 16.0 15.0
  SAY #63080 /* ~Is that all, <GABBER>?~ */
  IF ~~ THEN REPLY #63081 /* ~Yes, that is all for now.  I will leave you for the time being.~ */ GOTO 10
  IF ~~ THEN REPLY #63082 /* ~If I may, I would like to ask another question.~ */ GOTO 13
END

IF ~~ THEN BEGIN 15 // from: 13.0
  SAY #63083 /* ~I would imagine the Machine of Lum the Mad is the key to descending to the next level.  Other than that, I could not really say.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #63824 /* ~Escaping Carston's Level

Much as I suspected, the key to getting off of this level is the Machine of Lum the Mad.   I assume that by manipulating the levers, dials and buttons I can figure out a way to activate the gate to the next level.  But before I can experiment with the infernal machine, I'll have to get through that glass bubble of Carston's.~ */ GOTO 14
END

IF ~~ THEN BEGIN 16 // from: 13.1
  SAY #63084 /* ~I know nothing of this "Imprisoned One".  That is a concern for lesser creatures such as yourself.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 17 // from: 13.2
  SAY #63085 /* ~An interesting question, indeed!  I do have some knowledge of this matter.  The crystal mallet is the key.  Strike it against Carston's cage six times and the glass will dissolve.~ */
  IF ~~ THEN REPLY #63086 /* ~Thanks.  I'll be going now.~ */ GOTO 10
  IF ~~ THEN REPLY #63087 /* ~Do you know where this mallet can be found?~ */ GOTO 18
END

IF ~~ THEN BEGIN 18 // from: 17.1
  SAY #63088 /* ~From the comments of the Githyanki leader, I know it was recently in possession of the Illithid in the northern part of the dungeon.  Where it is now I could not say.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 19 // from: 13.4
  SAY #63089 /* ~Carston summoned both groups several years ago.  They waste their time battling each other, or launching impotent attacks against Carston's glass cage.  Foolish creatures, all... though the Gith always showed me the proper respect.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 20 // from: 13.5
  SAY #63090 /* ~The mad mage was here when I first arrived, though I suspect he is nothing more than a foolish adventurer who toyed with a contraption beyond his control.  Now he is trapped within his glass cage.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 21 // from: 13.7 11.2 9.3 8.2 7.2 5.2 4.2 2.0
  SAY #63092 /* ~Why do these things always end in violence? (sigh) Very well, once again I must prove the superiority of dragons over would-be heroes.~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 22 // from: 13.6
  SAY #63094 /* ~I know a little of this matter.  The torches must be fueled by the oils found in the colored vats.  I suspect there is a specific pattern which must be followed, but I cannot say for sure.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 23 // from: 13.3
  SAY #63095 /* ~I cannot tell you much about the devious contraption, but I do know this: There are notes scattered about this level that may give you the combinations to the machine. Seek them out.~ */
  IF ~~ THEN REPLY #63096 /* ~My thanks.~ */ GOTO 14
END
