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

BEGIN ~UDTRAP02~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #50538 /* ~Thhhh...  uhhhh...~ */
  IF ~~ THEN REPLY #50540 /* ~Who are you?~ */ GOTO 1
  IF ~~ THEN REPLY #50541 /* ~I have rescued you, and now I have some questions. Understand?~ */ GOTO 1
  IF ~~ THEN REPLY #50542 /* ~Well, have you a bargain to give for your life or will you die here?~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.2 0.1 0.0
  SAY #50543 /* ~Uhhhh...~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #50544 /* ~Duhhh...~ */
  IF ~~ THEN REPLY #50545 /* ~I fear that you have lost your senses. Are you all right?~ */ GOTO 3
  IF ~~ THEN REPLY #50546 /* ~Helloooo, anyone in there?~ */ GOTO 3
  IF ~~ THEN REPLY #50547 /* ~Speak or I will end your life right here!~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.2 2.1 2.0
  SAY #50548 /* ~... Uhhhh...~ */
  IF ~~ THEN DO ~EraseJournalEntry(57549)
Enemy()~ SOLVED_JOURNAL #57550 /* ~Victims of Imprisonment?

Another madman trapped in the crystal I found. This one was blithering incoherently, and set about attacking me. I do not know if this one's mind might have been healed. He gave me little chance to find out.~ */ EXIT
END

IF ~Global("HealedMage","AR2100",1)~ THEN BEGIN 4 // from:
  SAY #50550 /* ~Wha... what? Who are... who are you?~ */
  IF ~~ THEN REPLY #50552 /* ~I am <CHARNAME>. I rescued you from your horrible imprisonment.~ */ GOTO 5
  IF ~~ THEN REPLY #50553 /* ~I was about to ask you the same thing.~ */ GOTO 6
  IF ~~ THEN REPLY #50554 /* ~Ahh, you have your senses back. Now we can get to payment.~ */ GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #50556 /* ~Imprisonment... ? I... I have been imprisoned... so long... Oh thank you! Thank you! I had lost my mind in the... nothingness!~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 7.0 5.0 4.1
  SAY #50558 /* ~I... I am... Raevilin... I think. It has been so long since I have said my name... since I have taken a breath to say my name...~ */
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",1)
~ THEN GOTO 8
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",0)
~ THEN GOTO 9
END

IF ~~ THEN BEGIN 7 // from: 4.2
  SAY #50561 /* ~Pay... ment? I... I am free! I am free of that... thing! I...~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 8 // from: 6.0
  SAY #50562 /* ~You... you are Drow! Why have you released me! Am I to be slaughtered now? I will not play in your games!~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0 6.1
  SAY #50567 /* ~Did you imprison me? I mean no disrespect, but I really don't know. I was exploring and... and that's all I remember.~ */
  IF ~~ THEN REPLY #50569 /* ~I would not inflict this imprisonment on another person. It seems quite cruel.~ */ GOTO 10
  IF ~~ THEN REPLY #50570 /* ~I cannot fathom that someone would do this to you randomly. Are you sure of this?~ */ GOTO 11
  IF ~~ THEN REPLY #50571 /* ~Whatever. Look, I don't care about you, I just want payment for your rescue.~ */ GOTO 13
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #50575 /* ~It... it was. I thank you for you mercy. Here, please take this as payment. It is quite valuable, but I won't be needing it. I'm getting out of here and out of adventuring.~ */
  IF ~~ THEN DO ~AddexperienceParty(15000)
GiveItemCreate("sw1h34",LastTalkedToBy,0,0,0)
ChangeEnemyAlly(Myself,NEUTRAL)
EraseJournalEntry(57550)
EscapeArea()~ SOLVED_JOURNAL #57551 /* ~Victims of Imprisonment.

I restored the mind of the second man trapped in the crystal I found. He was quite grateful, though he could offer no insight as to why he was trapped there in the first.~ */ EXIT
END

IF ~~ THEN BEGIN 11 // from: 9.1
  SAY #50577 /* ~As sure as I can be. No, I simply do not know who I could have made an enemy of. My group had not yet discovered anything of importance.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #50579 /* ~I'm... I'm leaving. This place and adventuring both. Here, take this. I appreciate what you've done. Good luck.~ */
  IF ~~ THEN DO ~AddexperienceParty(15000)
GiveItemCreate("sw1h34",LastTalkedToBy,0,0,0)
ChangeEnemyAlly(Myself,NEUTRAL)
EraseJournalEntry(57550)
EscapeArea()~ SOLVED_JOURNAL #57551 /* ~Victims of Imprisonment.

I restored the mind of the second man trapped in the crystal I found. He was quite grateful, though he could offer no insight as to why he was trapped there in the first.~ */ EXIT
END

IF ~~ THEN BEGIN 13 // from: 9.2
  SAY #50581 /* ~You just want...? Was this some kind of cruel extortion? Pay or face imprisonment again? Was it you that did this?!~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #50582 /* ~I will not give you anything, and I will not be imprisoned again!~ */
  IF ~~ THEN DO ~EraseJournalEntry(57550)
Enemy()~ SOLVED_JOURNAL #57552 /* ~Victims of Imprisonment.

I restored the mind of the second man I released from the crystal I found. He proved no more reasonable though, and would not pay me my due. I convinced him otherwise.~ */ EXIT
END
