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

BEGIN ~RIFTM01~

IF ~NumTimesTalkedTo(0)
Global("Avatar","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #29945 /* ~Hello.~ */
  IF ~~ THEN REPLY #29946 /* ~That's it? I am a stranger in your time-lost buried city and all you say is hello?~ */ GOTO 1
  IF ~~ THEN REPLY #29947 /* ~What is this place? Speak, or suffer my wrath!~ */ GOTO 3
  IF ~~ THEN REPLY #29948 /* ~Hello yourself. Can I ask you who you are? I don't mean to pry.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #29949 /* ~What would you have me say? Shall I proclaim the wonder of your arrival? Shall I bemoan the terrible length of the ages? Should my knees buckle at the very sight of you?~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 4.0 3.0 1.0
  SAY #29950 /* ~I'm sure it would make you feel important, but I've simply no interest in you. I think you'll find we care about very little at all.~ */
  IF ~~ THEN REPLY #29953 /* ~Then tell me who you are. What is this place?~ */ GOTO 5
  IF ~~ THEN REPLY #29954 /* ~And I care even less who you are. Just tell me what this place is.~ */ GOTO 5
  IF ~~ THEN REPLY #29955 /* ~Has life lost all meaning for you? Why stay here if it has?~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 0.1
  SAY #29951 /* ~Oooh, yes, very threatening. I suppose you are expecting the appropriate response. All right then. Oh my, please spare us. Your descent into our city makes us oh so fearful.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 4 // from: 0.2
  SAY #29952 /* ~Of course you do, or you would not have asked the question. It matters not at all. I have nothing to hide from you, and would not care even if I did.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 5 // from: 2.2 2.1 2.0
  SAY #29956 /* ~Ah, you wish the exposition. Typical. I should really write this down so I don't have to keep repeating it. Not that we have had a lot of visitors.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #29957 /* ~We are the guardians. We guard the temple. This is very important because every few hundred years someone almost wanders this way.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 41.0 6.0
  SAY #30002 /* ~We have forgotten what it is that we guard, we have forgotten how many generations we have been here, and we have forgotten what it is to have a purpose.~ */
  IF ~~ THEN REPLY #30003 /* ~But you must be serving some greater plan. Who is the temple dedicated to?~ */ GOTO 8
  IF ~~ THEN REPLY #30004 /* ~You sound thrilled with your calling. Why do you stay?~ */ GOTO 9
  IF ~~ THEN REPLY #30005 /* ~What is this affliction you all have? You look to be suffering from a disease.~ */ GOTO 10
END

IF ~~ THEN BEGIN 8 // from: 10.0 9.0 7.0
  SAY #30006 /* ~The temple? It has been so long since we have uttered the god's name it has been forgotten by most. What loyalty do we owe a creature that would condemn us to this?
~ */
  IF ~~ THEN REPLY #30022 /* ~Then why do you stay?~ */ GOTO 9
  IF ~~ THEN REPLY #30023 /* ~And this disease you appear to have? What is it?~ */ GOTO 10
  IF ~~ THEN REPLY #30024 /* ~Then I will try to release you somehow.~ */ GOTO 11
  IF ~~ THEN REPLY #30050 /* ~If you are too weak to free yourselves I suppose I should try to.~ */ GOTO 11
END

IF ~~ THEN BEGIN 9 // from: 10.1 8.0 7.1
  SAY #30026 /* ~We cannot leave. We cannot even die. We are born again in an endless recycling of our souls. We learn over and over again that we are condemned to a fate we no longer want.~ */
  IF ~~ THEN REPLY #30034 /* ~And the temple? Who is it dedicated to?~ */ GOTO 8
  IF ~~ THEN REPLY #30035 /* ~And what is this disease you are afflicted with?~ */ GOTO 10
  IF ~~ THEN REPLY #30036 /* ~Then I will try to release you somehow.~ */ GOTO 11
  IF ~~ THEN REPLY #30053 /* ~If you are too weak to free yourselves I suppose I should try to.~ */ GOTO 11
END

IF ~~ THEN BEGIN 10 // from: 9.1 8.1 7.2
  SAY #30040 /* ~It is the decay of our minds and souls. We grow to hate the power that sustains us, so it rots us from the inside. There is no cure. There is no escape. There is no end.~ */
  IF ~~ THEN REPLY #30041 /* ~And the temple? Who is it dedicated to?~ */ GOTO 8
  IF ~~ THEN REPLY #30042 /* ~Then why do you stay?~ */ GOTO 9
  IF ~~ THEN REPLY #30043 /* ~Then I will try to release you somehow.~ */ GOTO 11
  IF ~~ THEN REPLY #30055 /* ~If you are too weak to free yourselves I suppose I should try to.~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.3 10.2 9.3 9.2 8.3 8.2
  SAY #30056 /* ~Do what you will; there is no escape for us. We have accepted this. We teach it to the newly young, who then teach it to the old that die and are reborn.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #30058 /* ~The deal which placed us here has been followed to the letter, and we are never to be released from service no matter how pointless the task.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #30061 /* ~You will fail. You cannot help but fail. We know this. We expect nothing other.~ */
  IF ~~ THEN REPLY #30062 /* ~You worship suffering like a martyr of Ilmater, but you lack pride or purpose.~ */ GOTO 14
  IF ~~ THEN REPLY #30064 /* ~If you are resigned to your fates I will simply get what I came for and leave.~ */ GOTO 15
  IF ~~ THEN REPLY #30065 /* ~Is there nothing that can be done? Have you petitioned your lord?~ */ GOTO 16
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #30069 /* ~I do not know this name you speak of, but even the name of our own god is lost, so it is not surprising. We direct nothing but loathing to the temple now.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 13.1
  SAY #30072 /* ~We will not miss what you steal. It has been ages since we have directed anything more than loathing at the temple. Enter if you wish.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 13.2
  SAY #30075 /* ~We cannot petition the unknown. We have not seen a sign for ages and his name is lost to us now. No, nothing is directed at the temple except loathing.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 41.1 16.0 15.0 14.0
  SAY #30077 /* ~Take what you will. We are guardians in name only. We might as well be simple mindless skeletons.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #34422 /* ~Investigate and destroy the Cult of the Eyeless.

I have encountered the so-called guardians of the dungeon below.  They seem to have forgotten why they are there or what they are guarding.  The one I spoke to did not believe I could do anything to free him.  According to him, the guardians are trapped here, bound by a duty that has long since lapsed into redundancy. They cannot even remember which god did this to them... or they will not speak his name out of spite. They have nothing but loathing for whomever that might be.~ */ EXIT
END

IF ~!Dead("riftcr04")
Global("Avatar","GLOBAL",1)
~ THEN BEGIN 18 // from:
  SAY #30079 /* ~You have failed of course. You could do no other.~ */
  IF ~~ THEN REPLY #30086 /* ~I have half a mind to leave you depressing people here as you are!~ */ GOTO 19
  IF ~~ THEN REPLY #30087 /* ~What manner of creature was in there? It actually wanted me to attack it.~ */ GOTO 20
  IF ~~ THEN REPLY #30088 /* ~Was your god always as warlike as the beast in there?~ */ GOTO 20
END

IF ~~ THEN BEGIN 19 // from: 18.0
  SAY #30082 /* ~Then you have all the mind you need. We have long accepted our fate. There is no end to the duty. Rail against whatever beast is there, but it will do you no good.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from: 18.2 18.1
  SAY #30083 /* ~I do not know and I do not care. You can do nothing here. There is no end to the duty. Rail against whatever beast is there, but it will do you no good.~ */
  IF ~~ THEN EXIT
END

IF ~PartyHasItem("MISC5A")
Global("TalkedToAgru","LOCALS",0)
~ THEN BEGIN 21 // from:
  SAY #30220 /* ~Have you enjoyed your visit? Of course you found nothing and of course you will leave empty handed. There is... you...~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToAgru","LOCALS",1)
~ GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 21.0
  SAY #30227 /* ~You have the great device! What are you doing with that? It cannot be moved! It has not been moved in a millennium!~ */
  IF ~~ THEN REPLY #30228 /* ~It is the will of your god that it be taken from this place and weakened!~ */ GOTO 23
  IF ~~ THEN REPLY #30229 /* ~I have taken it for myself. You cannot stop me.~ */ GOTO 25
END

IF ~~ THEN BEGIN 23 // from: 22.0
  SAY #30230 /* ~I do not believe you. Nothing has changed here in ages. If you have the great device it is only because our god is weaker than we imagined.~ */
  IF ~~ THEN REPLY #30234 /* ~You will see. It is to be destroyed when I return. You will be free of your duty.~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.0
  SAY #30233 /* ~Nothing changes here. You will not return. We will not be freed. There is nothing to lend our faith to but hate and loathing. Go. It is the last we will see of you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 25 // from: 22.1
  SAY #30236 /* ~I was not going to try. You simply show how weak our god truly is. It changes nothing. We will remain trapped here, whether we've something to guard or not. Go, and be done with you.~ */
  IF ~~ THEN EXIT
END

IF ~OR(2)
PartyHasItem("MISC5Z")
PartyHasItem("MISC5C")
Global("InTemple","GLOBAL",0)
~ THEN BEGIN 26 // from:
  SAY #30244 /* ~You return? Why? Why have you come back here? You have brought back the great device?~ */
  IF ~~ THEN REPLY #30247 /* ~I have said it is the will of your lord. It is depleted, and is to be destroyed.~ */ GOTO 27
  IF ~~ THEN REPLY #30248 /* ~The device is of no further use to me. I have returned it.~ */ GOTO 28
END

IF ~~ THEN BEGIN 27 // from: 26.0
  SAY #30250 /* ~You lie! You must! There is no hope for us here! It has been ages since any sign or change!~ */
  IF ~~ THEN REPLY #30252 /* ~And that age is over. Is it so hard to fathom? It is simply time for the end.~ */ GOTO 31
END

IF ~~ THEN BEGIN 28 // from: 26.1
  SAY #30253 /* ~But it is the great device! It is all important! It has been this way for centuries! You have simply returned it? This cannot be, unless...~ */
  IF ~~ THEN GOTO 29
END

IF ~~ THEN BEGIN 29 // from: 28.0
  SAY #30256 /* ~Unless this has been arranged from the start. Unless you have been a tool for our lord. It is not possible.~ */
  IF ~~ THEN REPLY #30261 /* ~Perhaps he is stronger than you think? Perhaps you should see for yourself.~ */ GOTO 31
  IF ~~ THEN REPLY #30262 /* ~Unlikely. I do what I wish. Have you checked the temple to learn his will?~ */ GOTO 31
END

IF ~PartyHasItem("MISC5A")
Global("TalkedToAgru","LOCALS",1)
~ THEN BEGIN 30 // from:
  SAY #30259 /* ~You have taken what purpose we had left. There is no end here.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 31 // from: 29.1 29.0 27.0
  SAY #30265 /* ~This cannot be. You cannot be the herald of change. It is not possible. I... I must see for myself. I must hear the word. We all must.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("Cut09a")
~ EXIT
END

IF ~Global("InTemple","GLOBAL",1)
~ THEN BEGIN 32 // from:
  SAY #30270 /* ~There is nothing here. There is never anything here but the stench of our hate.~ */
  IF ~~ THEN REPLY #30272 /* ~Why should he come to you? Do you bother to offer his name in tribute?~ */ GOTO 33
  IF ~~ THEN REPLY #30273 /* ~Your faith has brought you back in his sight. Will you not at least try his name?~ */ GOTO 33
  IF ~~ THEN REPLY #30279 /* ~That is all you place here. Why should you get a reward for that?~ */ GOTO 34
END

IF ~~ THEN BEGIN 33 // from: 34.0 32.1 32.0
  SAY #30277 /* ~The name has not been spoken outside of a curse for a generation. There has been no sign, and there has been no point.~ */
  IF ~~ THEN REPLY #30284 /* ~I have given the sign. What will you do with it?~ */ GOTO 35
  IF ~~ THEN REPLY #30285 /* ~Then stay here for eternity while your souls rot! What god would have you?~ */ GOTO 40
END

IF ~~ THEN BEGIN 34 // from: 32.2
  SAY #30283 /* ~What we placed was earned! We were abandoned to our endless duty while our lord slept! Our faith weakened and we... and we abandoned him, except in curses.~ */
  IF ~~ THEN GOTO 33
END

IF ~~ THEN BEGIN 35 // from: 40.0 33.0
  SAY #30286 /* ~I will... I ...~ */
  IF ~~ THEN GOTO 36
END

IF ~~ THEN BEGIN 36 // from: 35.0
  SAY #30287 /* ~Amaunator! Your people call to you! I, Agru Tindul, Sunlord of the Third House, pursuant to your Conduct of Worship contract, do hereby give my voice to your name. We ask... please... we call to you.~ */
  IF ~~ THEN GOTO 37
END

IF ~~ THEN BEGIN 37 // from: 36.0
  SAY #30288 /* ~Please... we have need of you.~ */
  IF ~~ THEN DO ~CreateCreature("RIFTG03",[508.462],14)
~ EXIT
END

IF ~~ THEN BEGIN 38 // from: RIFTG03:28.0
  SAY #30292 /* ~Then... what is left to do?~ */
  IF ~~ THEN EXTERN ~RIFTG03~ 29
END

IF ~~ THEN BEGIN 39 // from: RIFTG03:29.0
  SAY #30294 /* ~Praise be to the keeper of time, that he should let it end for the just.~ */
  IF ~~ THEN EXTERN ~RIFTG03~ 30
END

IF ~~ THEN BEGIN 40 // from: 33.1
  SAY #30296 /* ~The god that deserves us! We were abandoned to duty! We honored all except... except his name...~ */
  IF ~~ THEN GOTO 35
END

IF ~Global("Avatar","GLOBAL",0)
~ THEN BEGIN 41 // from:
  SAY #34671 /* ~What do you want now? Unless you've something new to discuss, I have nothing more to say.~ */
  IF ~~ THEN REPLY #34736 /* ~I just wanted ask you about this place again. What is it you guard?~ */ GOTO 7
  IF ~~ THEN REPLY #34737 /* ~Nothing, I will disturb you no more.~ */ GOTO 17
END
