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

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

IF WEIGHT #0 ~NumTimesTalkedTo(0)
GlobalLT("udMind","GLOBAL",10)~ THEN BEGIN 0 // from:
  SAY #52176 /* ~I see we are not alone in this place. It is the worse of fates, for we are entrapped by the feared and despicable illithids.~ [SIMYAZ02] */
  IF ~Global("MetGith","GLOBAL",1)~ THEN DO ~SetGlobal("udGithLeaderSpoke","AR2400",10)~ UNSOLVED_JOURNAL #57859 /* ~Captured by Mind Flayers!

It would appear that I am not the only one that has been captured and forced to fight. There is a group of Githyanki here as well, the same group that attacked Saemon Havarian's ship. I hope they prove friendlier now that we are in the same predicament. Their hatred of illithids may make them willing to help us both escape.~ */ GOTO 1
  IF ~Global("MetGith","GLOBAL",0)~ THEN DO ~SetGlobal("udGithLeaderSpoke","AR2400",10)~ UNSOLVED_JOURNAL #54413 /* ~Captured by Mind Flayers!

It would appear that I am not the only one that has been captured and forced to fight. There is a group of Githyanki here, and they harbor even more hatred for the 'illithid' than I do. Perhaps they will be of help, if they survive their battle.~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #52177 /* ~And to think we would suffer the same fate as you; you who should have died in our ambush upon the sea.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0 0.1
  SAY #52178 /* ~We are all destined for the same fate, as playthings in the arena. A foul way to end a being's life, I think.~ */
  IF ~~ THEN REPLY #52179 /* ~What manner of creatures are you? I have not seen your kind before.~ */ GOTO 3
  IF ~~ THEN REPLY #52180 /* ~What do you know of illithids? Are they also called mind flayers?~ */ GOTO 7
  IF ~~ THEN REPLY #52181 /* ~So you will fight here? We will probably have to fight each other then.~ */ GOTO 8
  IF ~~ THEN REPLY #52182 /* ~Your fate is of no interest to me. I will find a way out by myself.~ */ GOTO 9
END

IF ~~ THEN BEGIN 3 // from: 7.0 2.0
  SAY #52183 /* ~We are Githyanki, and we do not come here without purpose. Someone had taken a sword of ours... a silver sword. We were to reclaim it.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 8.0 3.0
  SAY #52184 /* ~But our ship was capsized and now we are in custody of the most hated of enemies, the illithid mind flayers. This is an abomination I will not allow.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 9.0 4.0
  SAY #52185 /* ~We harbor a special hatred for the illithid, and we will see them dead before we are done. Or we die ourselves.~ */
  IF ~!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("IMOEN2")
!IsValidForPartyDialogue("VICONIA")
!IsValidForPartyDialogue("KORGAN")~ THEN GOTO 6
  IF ~IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~HAERDAJ~ 125
  IF ~IsValidForPartyDialogue("IMOEN2")
!IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~IMOEN2J~ 34
  IF ~IsValidForPartyDialogue("VICONIA")
!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("IMOEN2")~ THEN EXTERN ~VICONIJ~ 162
  IF ~IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("IMOEN2")
!IsValidForPartyDialogue("VICONIA")~ THEN EXTERN ~KORGANJ~ 154
END

IF ~~ THEN BEGIN 6 // from: VICONIJ:162.0 5.0
  SAY #52186 /* ~I can speak no more. My charges must meditate for the coming battle. It will take great strength of mind to escape this place. Great strength.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 2.1
  SAY #52187 /* ~We know much of the tentacled ones. They enslave and they kill, and we will not allow ourselves to remain here.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 8 // from: 2.2
  SAY #52188 /* ~Perhaps we shall, and one of us will have to die. It is not a threat we are unfamiliar with. We came to this realm with the thought of battle, to reclaim a silver sword.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 9 // from: 2.3
  SAY #52189 /* ~It will become your affair when you cannot escape on your own. Alliances of the strangest kinds are forged in places like this.~ */
  IF ~~ THEN GOTO 5
END

IF WEIGHT #8 /* Triggers after states #: 11 12 24 25 26 36 58 even though they appear after this state */
~True()~ THEN BEGIN 10 // from:
  SAY #52190 /* ~Please do not interrupt our thoughts. We must prepare carefully if we are to see a weakness in the illithid web.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~Global("udMind","GLOBAL",10)~ THEN BEGIN 11 // from:
  SAY #52191 /* ~They come, and we are drawn to the fight. Weapons ready, my charges, for we are about to be taken into the sight of the most hated illithids.~ [SIMYAZ07] */
  IF ~~ THEN DO ~SetGlobal("udMind","GLOBAL",11)
StartCutSceneMode()
StartCutScene("Cut44k")~ EXIT
END

IF WEIGHT #2 ~Global("udMind","GLOBAL",12)
Global("SimPrep","LOCALS",0)~ THEN BEGIN 12 // from:
  SAY #52192 /* ~You there, we have fought in our battle and I believe we are scheduled to face each other when next the jailer comes.~ [SIMYAZ08] */
  IF ~!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("ANOMEN")
!IsValidForPartyDialogue("AERIE")~ THEN DO ~SetGlobal("SimPrep","LOCALS",1)~ GOTO 13
  IF ~IsValidForPartyDialogue("KORGAN")~ THEN DO ~SetGlobal("SimPrep","LOCALS",1)~ EXTERN ~KORGANJ~ 155
  IF ~IsValidForPartyDialogue("ANOMEN")
!IsValidForPartyDialogue("KORGAN")~ THEN DO ~SetGlobal("SimPrep","LOCALS",1)~ EXTERN ~ANOMENJ~ 277
  IF ~IsValidForPartyDialogue("AERIE")
!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("ANOMEN")~ THEN DO ~SetGlobal("SimPrep","LOCALS",1)~ EXTERN ~AERIEJ~ 162
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #52193 /* ~We could each boast about who will live, but I believe a far better plan is before us. It is a slim chance, but it is the only one that is available.~ */
  IF ~~ THEN REPLY #52194 /* ~I am listening.~ */ GOTO 15
  IF ~~ THEN REPLY #52195 /* ~Save it. I will defeat you and worry about escape later.~ */ GOTO 14
  IF ~~ THEN REPLY #52196 /* ~I do not trust you.~ */ GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.2 13.1
  SAY #52197 /* ~Regardless of mistrust or bravado I will speak the plan, and you will have to see the reasonable nature of it.~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.0 13.0
  SAY #52198 /* ~As your jailer has told you, the illithids are strong here in their house. They have power here to slay as they wish, and escape is impossible.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #52199 /* ~But we of the Githyanki have power of our own, and I believe we may be able to disrupt the illithids and allow another to make an escape.~ */
  IF ~!IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("JAHEIRA")~ THEN GOTO 17
  IF ~IsValidForPartyDialogue("MINSC")~ THEN EXTERN ~MINSCJ~ 182
  IF ~IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("MINSC")~ THEN EXTERN ~EDWINJ~ 128
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("EDWIN")~ THEN EXTERN ~JAHEIRAJ~ 484
END

IF ~~ THEN BEGIN 17 // from: 16.0
  SAY #52200 /* ~When we are called to battle, we of the Githyanki will meditate within the ring, pushing back the minds of the illithids. You may then open the arena doors that we may all escape.~ */
  IF ~~ THEN GOTO 18
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #52201 /* ~You must find a way out of the Illithid city.  We will distract the Illithids until you succeed in forcing your way from this twisted city.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 19 // from: 18.0
  SAY #52202 /* ~Once our meditations are done there will be no more instant death in the arena, but through the door is the only path that is possible.~ */
  IF ~~ THEN REPLY #52203 /* ~Then that is what I will do. We will work together.~ */ UNSOLVED_JOURNAL #57860 /* ~Captured by Mind Flayers!

The Githyanki leader, Simyaz, has proposed a plan.  His men will use their abilities to try and block the mental energy of the Mind Flayers in the arena. If they can be disrupted, I will be able to open the arena door and escape into the illithid city proper. From there, I'm not sure. I don't know if I can trust Simyaz, but I have little choice.~ */ GOTO 20
  IF ~~ THEN REPLY #52204 /* ~I do not trust you at all. I will not partake in this plan.~ */ UNSOLVED_JOURNAL #57860 /* ~Captured by Mind Flayers!

The Githyanki leader, Simyaz, has proposed a plan.  His men will use their abilities to try and block the mental energy of the Mind Flayers in the arena. If they can be disrupted, I will be able to open the arena door and escape into the illithid city proper. From there, I'm not sure. I don't know if I can trust Simyaz, but I have little choice.~ */ GOTO 21
  IF ~~ THEN REPLY #52205 /* ~We shall see. I will evaluate this plan of yours when the time comes.~ */ DO ~EraseJournalEntry(54413)
EraseJournalEntry(57859)
~ UNSOLVED_JOURNAL #57860 /* ~Captured by Mind Flayers!

The Githyanki leader, Simyaz, has proposed a plan.  His men will use their abilities to try and block the mental energy of the Mind Flayers in the arena. If they can be disrupted, I will be able to open the arena door and escape into the illithid city proper. From there, I'm not sure. I don't know if I can trust Simyaz, but I have little choice.~ */ GOTO 23
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #52206 /* ~Then ready yourself, for the time of battle is at hand. The jailer will come for us both soon.~ */
  IF ~~ THEN DO ~SetInterrupt(FALSE)
SetGlobalTimer("udWaitOgreDoor","GLOBAL",20)
SetInterrupt(TRUE)~ EXIT
END

IF ~~ THEN BEGIN 21 // from: 19.1
  SAY #52207 /* ~Then you are foolish. We have no choice and will proceed whether you say you will help or not.~ */
  IF ~~ THEN GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 23.0 21.0
  SAY #52208 /* ~We will delay the power of the illithids as long as we can. If you do not act once we begin then you doom us all. Hear now, the jailer comes soon.~ */
  IF ~~ THEN DO ~SetInterrupt(FALSE)
SetGlobalTimer("udWaitOgreDoor","GLOBAL",20)
SetInterrupt(TRUE)~ EXIT
END

IF ~~ THEN BEGIN 23 // from: 19.2
  SAY #52209 /* ~You are foolish if you think there is another way. Once the meditations begin there will be but one course. Take it and we shall all be free.~ */
  IF ~~ THEN GOTO 22
END

IF WEIGHT #3 ~Global("udAttack1","GLOBAL",1)~ THEN BEGIN 24 // from:
  SAY #52210 /* ~You do not help our cause by attacking the illithid here! There are many more where they came from! See to the door first!~ [SIMYAZ09] */
  IF ~~ THEN DO ~SetGlobal("udAttack1","GLOBAL",0)~ EXIT
END

IF WEIGHT #4 ~OR(2)
Global("udMind","GLOBAL",16)
Global("udMind","GLOBAL",17)~ THEN BEGIN 25 // from:
  SAY #52211 /* ~We begin the meditation. Slay these Kuo-toans and find our escape from this place.  We will deal with the hated Illithid.~ [SIMYAZ10] */
  IF ~~ THEN DO ~SetGlobal("udMind","GLOBAL",17)~ EXIT
END

IF WEIGHT #5 ~Global("udMind","GLOBAL",40)~ THEN BEGIN 26 // from:
  SAY #52212 /* ~You have done well, and the githyanki are now free of the illithid web of minds. Our own power is free once more, and we may leave this place on wings of will.~ [SIMYAZ11] */
  IF ~!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("AERIE")
!IsValidForPartyDialogue("VICONIA")~ THEN DO ~SetGlobal("udMind","GLOBAL",41)
AddXPObject(Player1,25000)
AddXPObject(Player2,25000)
AddXPObject(Player3,25000)
AddXPObject(Player4,25000)
AddXPObject(Player5,25000)
AddXPObject(Player6,25000)
~ GOTO 27
  IF ~IsValidForPartyDialogue("HAERDALIS")~ THEN DO ~SetGlobal("udMind","GLOBAL",41)
AddXPObject(Player1,25000)
AddXPObject(Player2,25000)
AddXPObject(Player3,25000)
AddXPObject(Player4,25000)
AddXPObject(Player5,25000)
AddXPObject(Player6,25000)
~ EXTERN ~HAERDAJ~ 126
  IF ~IsValidForPartyDialogue("AERIE")
!IsValidForPartyDialogue("HAERDALIS")~ THEN DO ~SetGlobal("udMind","GLOBAL",41)
AddXPObject(Player1,25000)
AddXPObject(Player2,25000)
AddXPObject(Player3,25000)
AddXPObject(Player4,25000)
AddXPObject(Player5,25000)
AddXPObject(Player6,25000)
~ EXTERN ~AERIEJ~ 163
  IF ~IsValidForPartyDialogue("VICONIA")
!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("AERIE")~ THEN DO ~SetGlobal("udMind","GLOBAL",41)
AddXPObject(Player1,25000)
AddXPObject(Player2,25000)
AddXPObject(Player3,25000)
AddXPObject(Player4,25000)
AddXPObject(Player5,25000)
AddXPObject(Player6,25000)
~ EXTERN ~VICONIJ~ 163
END

IF ~~ THEN BEGIN 27 // from: VICONIJ:163.0 26.0
  SAY #52213 /* ~You will remain here, I fear, for we cannot carry you and still remain free ourselves. In future we will return and kill all the filth that their tentacles have touched.~ */
  IF ~~ THEN REPLY #52214 /* ~What! I knew I couldn't trust you!~ */ GOTO 28
  IF ~~ THEN REPLY #52215 /* ~Then go, but when next we meet we will be at each other's throats.~ */ GOTO 31
  IF ~~ THEN REPLY #52216 /* ~Cowardice. You face these creatures only when convenient?~ */ GOTO 32
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #52217 /* ~Ahh, but you could, and we freed you. Without us you would not have come even this far, and all is not lost just yet.~ */
  IF ~PartyHasItem("misc8u")~ THEN GOTO 29
  IF ~!PartyHasItem("misc8u")~ THEN GOTO 30
END

IF ~~ THEN BEGIN 29 // from: 28.0
  SAY #52218 /* ~But your crime is one that cannot be forgiven. You possess one of our silver swords, and for that you will be put to the test.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 30 // from: 32.0 31.0 29.0 28.1
  SAY #52219 /* ~If you can conquer this place, if you can kill the elder brain, all the doors shall swing wide and you may walk free.~ */
  IF ~~ THEN GOTO 33
END

IF ~~ THEN BEGIN 31 // from: 27.1
  SAY #52220 /* ~That is acceptable. We wait to see if you can muster the strength to free yourself from this place.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 32 // from: 27.2
  SAY #52221 /* ~We face them when the fight will be glorious, but there is a limit. Losing lives to the illithid without hope of victory is not a course we welcome.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 33 // from: 30.0
  SAY #52222 /* ~If not, we will return at a later time with a greater force. This den of filth will be wiped from existence.~ */
  IF ~!PartyHasItem("misc8u")~ THEN GOTO 34
  IF ~PartyHasItem("misc8u")~ THEN GOTO 35
END

IF ~~ THEN BEGIN 34 // from: 33.0
  SAY #52223 /* ~I wish you success and health, and may the great brain fall beneath your feet.~ */
  IF ~~ THEN DO ~SetGlobal("udMind","GLOBAL",45)
EraseJournalEntry(57860)
EraseJournalEntry(54410)~ UNSOLVED_JOURNAL #57863 /* ~Captured by Mind Flayers!

I could trust the Githyanki, but only to a point. Simyaz and his group are leaving me to fend for myself, and I will have to find my own means of escape. Lacking the teleportation abilities of the Githyanki I could not follow when they left, and must now face the wrath of the illithid city on my own.~ */ EXIT
END

IF ~~ THEN BEGIN 35 // from: 33.1
  SAY #52224 /* ~I hope you succeed, and the elder brain falls beneath your feet, but I hope the arm that wields our silver sword is lost to you.~ */
  IF ~~ THEN DO ~EraseJournalEntry(57860)
EraseJournalEntry(54410)
SetGlobal("udMind","GLOBAL",45)~ UNSOLVED_JOURNAL #57864 /* ~Captured by Mind Flayers!

I could trust the Githyanki, but only to a point. Simyaz and his group are leaving me to fend for myself, and I will have to find my own means of escape.  They left after again chastising me for the theft of their Silver Sword, the weapon I got from Saemon Havarian.  Lacking the teleportational abilities of the Githyanki I could not follow when they left, and must now face the wrath of the illithid city on my own.~ */ EXIT
END

IF WEIGHT #6 ~Global("udMind","GLOBAL",50)~ THEN BEGIN 36 // from:
  SAY #52225 /* ~You live?! The illithids let you go?! Astounding, unless you are in league with them. I warn you, if you serve them you will share their fate.~ [SIMYAZ12] */
  IF ~~ THEN REPLY #52226 /* ~No, actually, I DESTROYED THE WHOLE DAMNED BUNCH WITHOUT YOU!!~ */ DO ~SetGlobal("udMind","GLOBAL",51)~ GOTO 37
  IF ~~ THEN REPLY #52227 /* ~The battle was fierce but I prevailed. It would have been simpler if you had helped.~ */ DO ~SetGlobal("udMind","GLOBAL",51)~ GOTO 41
  IF ~~ THEN REPLY #52228 /* ~I do not blame you for leaving. It was a tough struggle to escape.~ */ DO ~SetGlobal("udMind","GLOBAL",51)~ GOTO 44
END

IF ~~ THEN BEGIN 37 // from: 36.0
  SAY #52229 /* ~I sense hostility. I would advise that you redirect your anger. It is admirable that you survived, but that does not imply you would survive against us.~ */
  IF ~Global("AttackedGith","GLOBAL",0)~ THEN GOTO 38
  IF ~Global("AttackedGith","GLOBAL",1)~ THEN GOTO 39
END

IF ~~ THEN BEGIN 38 // from: 37.0
  SAY #52230 /* ~We are in no mood for your gesticulations. We contemplate our next move here, and do not need your interruption.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 39 // from: 37.1
  SAY #52231 /* ~We shall have to test your worth, though your death is the only result we seek. It is a pity that you freed yourself.~ */
  IF ~~ THEN GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 44.1 41.1 39.0
  SAY #52232 /* ~I had hoped you would fall, and the stolen silver sword you carry would be dropped in the illithid city. We would return with great force and exact terrible justice.~ */
  IF ~~ THEN REPLY #52261 /* ~I did not steal any such sword. It was Saemon Havarian that gave it to me.~ */ GOTO 48
  IF ~~ THEN REPLY #52262 /* ~Why is this blade so important?~ */ GOTO 49
  IF ~~ THEN REPLY #52263 /* ~Sorry to disappoint you, but I do not have your blade.~ */ GOTO 49
  IF ~PartyHasItem("misc8u")~ THEN REPLY #52264 /* ~Save your threats. It is mine now. Nothing you can say will make me give it back.~ */ GOTO 51
  IF ~!PartyHasItem("misc8u")~ THEN REPLY #52953 /* ~I had your blade, but I found it to be poor quality, at best. I got rid of it.~ */ GOTO 51
END

IF ~~ THEN BEGIN 41 // from: 36.1
  SAY #52234 /* ~Perhaps, but motivations are never simple. We sought to return with an obliterating force. You have saved us the trouble.~ */
  IF ~Global("AttackedGith","GLOBAL",0)~ THEN GOTO 43
  IF ~Global("AttackedGith","GLOBAL",1)~ THEN GOTO 40
END

IF ~~ THEN BEGIN 42 // from:
  SAY #52236 /* ~We did not leave out of fear or dread. We sought to return with an overwhelming force. You have saved us the trouble.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 44.0 42.0 41.0 38.0
  SAY #52237 /* ~With the illithid city gone we will return whence we came. Leave us, and we will likewise leave you.~ */
  IF ~~ THEN REPLY #52257 /* ~Very well, but I would recommend you treat potential allies better in the future.~ */ DO ~EraseJournalEntry(57863)~ SOLVED_JOURNAL #53278 /* ~Captured by Mind Flayers!

I encountered the Githyanki again. They were impressed that I had survived the illithid city, though they remain cold and uncaring about leaving me there. I let them be on their way. There is nothing to be gained by pressing the matter.~ */ GOTO 45
  IF ~~ THEN REPLY #52258 /* ~I hardly think I should simply walk away. You left me to die.~ */ DO ~EraseJournalEntry(57863)~ SOLVED_JOURNAL #53278 /* ~Captured by Mind Flayers!

I encountered the Githyanki again. They were impressed that I had survived the illithid city, though they remain cold and uncaring about leaving me there. I let them be on their way. There is nothing to be gained by pressing the matter.~ */ GOTO 45
  IF ~~ THEN REPLY #52259 /* ~I think not! I am not content to leave you! I will repay your treachery now!~ */ DO ~EraseJournalEntry(57863)~ SOLVED_JOURNAL #57866 /* ~Captured by Mind Flayers.

I met the Githyanki again. I found them resting in a cavern, quite surprised to see that I had lived through the illithid city. I registered my displeasure by making them pay for their treachery with blood.~ */ GOTO 47
END

IF ~~ THEN BEGIN 44 // from: 36.2
  SAY #52253 /* ~We did not flee out of fear, rather I thought it best to return with an overwhelming force. We will lose no more to the hated mind flayer.~ */
  IF ~Global("AttackedGith","GLOBAL",0)~ THEN GOTO 43
  IF ~Global("AttackedGith","GLOBAL",1)~ THEN GOTO 40
END

IF ~~ THEN BEGIN 45 // from: 43.1 43.0
  SAY #52938 /* ~Your opinion is of little consequence. If you were not competent, you would be beneath our notice and you would be dead. You have proven worthy to live.~ */
  IF ~~ THEN GOTO 46
END

IF ~~ THEN BEGIN 46 // from: 45.0
  SAY #52939 /* ~You may take that as grudging respect if you like, or you may take it as treachery. I care not. I am done with you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 47 // from: 43.2
  SAY #52940 /* ~Then display your fury with abandon! You defeated the hated illithid, so you are worthy to battle us!~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 48 // from: 40.0
  SAY #52943 /* ~He could not give it! It was not his to begin with! It was stolen from our people and it must be returned.~ */
  IF ~~ THEN GOTO 49
END

IF ~~ THEN BEGIN 49 // from: 48.0 40.2 40.1
  SAY #52948 /* ~The blade is a Silver Sword, a weapon entrusted to the greatest of our leaders by our queen herself. It cannot be given or sold. To do so means death.~ */
  IF ~~ THEN GOTO 50
END

IF ~~ THEN BEGIN 50 // from: 49.0
  SAY #52949 /* ~Your words may dance as they will, but we know Saemon Havarian had it and we know it was given to you. It will be returned!~ */
  IF ~ReactionGT(LastTalkedToBy,FRIENDLY_UPPER)~ THEN REPLY #52950 /* ~Certainly he had it, but did you see the giving of it? Perhaps he lied.~ */ GOTO 56
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY #52951 /* ~You could not have seen the trade. Perhaps Saemon lied!~ */ GOTO 52
  IF ~PartyHasItem("misc8u")~ THEN REPLY #52952 /* ~If it means that much then I will return it. I apologize on behalf of whoever took it.~ */ DO ~TakePartyItem("misc8u")~ GOTO 53
  IF ~~ THEN REPLY #52955 /* ~Sorry, but I got rid of it long ago. It was an unspectacular weapon, so I dropped it.~ */ GOTO 51
  IF ~~ THEN REPLY #52956 /* ~No it will not. It is now my property, although I fail to see the appeal of it.~ */ GOTO 51
END

IF ~~ THEN BEGIN 51 // from: 56.3 56.2 50.4 50.3 40.4 40.3
  SAY #52954 /* ~You insult that which is most precious to us! It is a degrading crime of words! Enough! We shall kill you and determine if your corpse carries the blade!~ */
  IF ~~ THEN DO ~EraseJournalEntry(57863)
EraseJournalEntry(57864)
Enemy()~ SOLVED_JOURNAL #57868 /* ~Captured by Mind Flayers.

I met the Githyanki again. I found them resting in a cavern, quite surprised to see that I had lived through the illithid city. They were still going on about the silver sword that was apparently stolen from them. They were satisfied with nothing less than blood, no matter what I said.~ */ EXIT
END

IF ~~ THEN BEGIN 52 // from: 50.1
  SAY #52958 /* ~I think not! I think you are too coarse to hide the event. I think you will die here, and we shall see if your corpse has the blade!~ */
  IF ~~ THEN DO ~Enemy()
EraseJournalEntry(57863)
EraseJournalEntry(57864)~ SOLVED_JOURNAL #57868 /* ~Captured by Mind Flayers.

I met the Githyanki again. I found them resting in a cavern, quite surprised to see that I had lived through the illithid city. They were still going on about the silver sword that was apparently stolen from them. They were satisfied with nothing less than blood, no matter what I said.~ */ EXIT
END

IF ~~ THEN BEGIN 53 // from: 56.1 50.2
  SAY #52959 /* ~You are returning it? As simply as that? I had not thought this would end without the shedding of blood.~ */
  IF ~ReactionGT(LastTalkedToBy,FRIENDLY_UPPER)~ THEN GOTO 54
  IF ~~ THEN GOTO 55
END

IF ~~ THEN BEGIN 54 // from: 53.0
  SAY #52962 /* ~Then I leave you in peace. You obviously had no part in the original taking. I thank you for our lives, because success means we may return home in victory.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 55 // from: 53.1
  SAY #52963 /* ~Still, a debt must be paid. That you returned it is admirable, but you are unsavory in all other aspects. I regret what must be done, but there must be atonement!~ */
  IF ~~ THEN DO ~Enemy()
EraseJournalEntry(57863)
EraseJournalEntry(57864)~ SOLVED_JOURNAL #57868 /* ~Captured by Mind Flayers.

I met the Githyanki again. I found them resting in a cavern, quite surprised to see that I had lived through the illithid city. They were still going on about the silver sword that was apparently stolen from them. They were satisfied with nothing less than blood, no matter what I said.~ */ EXIT
END

IF ~~ THEN BEGIN 56 // from: 50.0
  SAY #52965 /* ~Perhaps he did, and perhaps not. Regardless, this is not a matter were we can take chances. Failure to retrieve the sword means death.~ */
  IF ~~ THEN REPLY #52967 /* ~I insist that I do not have it. Is my word not sufficient?~ */ GOTO 57
  IF ~PartyHasItem("misc8u")~ THEN REPLY #52968 /* ~If it is such a serious matter then take the blade with my blessings.~ */ DO ~TakePartyItem("misc8u")~ GOTO 53
  IF ~~ THEN REPLY #52969 /* ~The blade is mine. You shall not have it, no matter how little I need it.~ */ GOTO 51
  IF ~~ THEN REPLY #52970 /* ~Perhaps I had it, but no longer. I sensed the trouble it would cause and ditched it.~ */ GOTO 51
END

IF ~~ THEN BEGIN 57 // from: 56.0
  SAY #52973 /* ~In a matter where death is the alternative should we return without the sword? No, it is not sufficient. I regret what must be done to determine the truth.~ */
  IF ~~ THEN DO ~Enemy()
EraseJournalEntry(57863)
EraseJournalEntry(57864)~ SOLVED_JOURNAL #57868 /* ~Captured by Mind Flayers.

I met the Githyanki again. I found them resting in a cavern, quite surprised to see that I had lived through the illithid city. They were still going on about the silver sword that was apparently stolen from them. They were satisfied with nothing less than blood, no matter what I said.~ */ EXIT
END

IF WEIGHT #7 ~Global("udMind","GLOBAL",51)~ THEN BEGIN 58 // from:
  SAY #52974 /* ~Our dealings are done. Leave us in peace and you will receive the same.~ [SIMYAZ13] */
  IF ~~ THEN EXIT
END
