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

BEGIN ~UDTRAP05~ 1 // non-zero flags may indicate non-pausing dialogue

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #50621 /* ~... AND I WILL NOT YIELD!! YOU CAN NEV... what?~ */
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",0)
~ THEN GOTO 1
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",1)
~ THEN GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #50622 /* ~Who... who are you people? I was... I was facing a group of Drow with my party and...~ */
  IF ~OR(4)
Dead("Viconia")
!InParty("Viconia")
!See("Viconia")
StateCheck("Viconia",STATE_SLEEPING)
~ THEN GOTO 3
  IF ~!Dead("Viconia")
InParty("Viconia")
See("Viconia")
!StateCheck("Viconia",STATE_SLEEPING)
~ THEN GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #50625 /* ~... This... this is not right. I was fighting... I was fighting Drow like you but... different Drow. What is going on here?~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: VICONIJ:86.0 4.0 2.0 1.0
  SAY #50627 /* ~I demand to know your intent! Where is the group I traveled with! Speak!~ */
  IF ~~ THEN REPLY #50647 /* ~I cannot speak for your party, I have only found you imprisoned here. 

~ */ GOTO 5
  IF ~~ THEN REPLY #50648 /* ~Your imprisonment has caused you to see enemies everywhere. I will not harm you.~ */ GOTO 5
  IF ~~ THEN REPLY #50649 /* ~Undoubtedly they moved on after you were foolish enough to be imprisoned here.~ */ GOTO 5
  IF ~~ THEN REPLY #50650 /* ~I will not answer. You owe me respect for releasing you from this enchantment.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 1.1
  SAY #50629 /* ~You have Drow among your group! Keep your distance from me! I will not have them near me!~ */
  IF ~!IsValidForPartyDialogue("VICONIA")
~ THEN GOTO 3
  IF ~IsValidForPartyDialogue("VICONIA")
~ THEN EXTERN ~VICONIJ~ 86
END

IF ~~ THEN BEGIN 5 // from: 3.3 3.2 3.1 3.0
  SAY #50651 /* ~I was imprisoned? Damnation, that blasted Drow and his spells must have got me! I thought they looked to be too easy an opponent.~ */
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",1)
~ THEN GOTO 6
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",0)
~ THEN GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #50679 /* ~A wise tactic to split an opponent's force with magic. Your kind are tricky adversaries, Drow. I will not fall victim to the same again.~ */
  IF ~!IsValidForPartyDialogue("VICONIA")
~ THEN GOTO 9
  IF ~IsValidForPartyDialogue("VICONIA")
~ THEN EXTERN ~VICONIJ~ 90
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #50680 /* ~Hmm, a tricky lot, those Drow; very smart to split my party with magic. I hope my fellows fared better than I did.~ */
  IF ~!IsValidForPartyDialogue("VICONIA")
~ THEN GOTO 9
  IF ~IsValidForPartyDialogue("VICONIA")
~ THEN EXTERN ~VICONIJ~ 90
END

IF ~~ THEN BEGIN 8 // from: VICONIJ:90.0
  SAY #50685 /* ~Take it any way that you wish, Drow. I will not waste time trying to make friends with you. I expect nothing but treachery in this place.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0 7.0 6.0
  SAY #50687 /* ~So, am I to face you in battle or not?  I must not have been in the spell for long because my mind is sound and I know that nobody does good deeds for free.  Speak your intent.~ */
  IF ~~ THEN REPLY #50695 /* ~I did not release you to do battle. You are free to go as you wish.~ */ GOTO 10
  IF ~~ THEN REPLY #50696 /* ~If you don't change your tone we will undoubtedly clash. Other than that, you may go.~ */ GOTO 10
  IF ~~ THEN REPLY #50697 /* ~My intent is to profit from your imprisonment as much as possible.~ */ GOTO 11
  IF ~~ THEN REPLY #50698 /* ~I've nothing better to do; we might as well fight.~ */ GOTO 13
END

IF ~~ THEN BEGIN 10 // from: 9.1 9.0
  SAY #50701 /* ~Well, that's an answer that gives me pause. I did not expect to meet friendly sorts in these tunnels.~ */
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",0)
~ THEN GOTO 16
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",1)
~ THEN GOTO 17
END

IF ~~ THEN BEGIN 11 // from: 9.2
  SAY #50708 /* ~Profit? Do you mean to say that you wish a reward? If I had any such wealth I would have bartered my way out of imprisonment before it happened!~ */
  IF ~~ THEN REPLY #50713 /* ~You'll pay something or you'll die. It's that simple.~ */ GOTO 15
  IF ~~ THEN REPLY #50714 /* ~Fine, get out of here then.~ */ GOTO 14
  IF ~~ THEN REPLY #50715 /* ~Ah, let's just fight then.~ */ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.2
  SAY #50709 /* ~You would attack me for no reason? Even in this place you must be especially reprehensible.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0 9.3
  SAY #50711 /* ~If you are having trouble with the big words, I meant that you are an ass. Bring on your pointless fight then, and I shall die for no reason.~ */
  IF ~~ THEN DO ~EraseJournalEntry(57554)
Enemy()~ SOLVED_JOURNAL #57557 /* ~Victims of Imprisonment.

Another person freed from the crystal I found, but this time his mind was sound. He said that he was with another adventuring group, and that he must have been imprisoned battling a group of Drow. He proved unreasonable, and I had to put him in his place.~ */ EXIT
END

IF ~~ THEN BEGIN 14 // from: 11.1
  SAY #50719 /* ~I will, and I shall count my meeting with you as an especially low point in this lowest of places.~ */
  IF ~~ THEN DO ~EraseJournalEntry(57554)
EscapeArea()
~ SOLVED_JOURNAL #57556 /* ~Victims of Imprisonment.

Another person freed from the crystal I found, but this time his mind was sound and he did not wish to fight. He said that he was with another adventuring group, and that he must have been imprisoned battling a group of Drow. He did not know where they went, and he has now set off to find his lost comrades.~ */ EXIT
END

IF ~~ THEN BEGIN 15 // from: 11.0
  SAY #50721 /* ~Then we will fight for no reason, and I will surely die. What a pointless way to end this!~ */
  IF ~~ THEN DO ~EraseJournalEntry(57554)
Enemy()~ SOLVED_JOURNAL #57557 /* ~Victims of Imprisonment.

Another person freed from the crystal I found, but this time his mind was sound. He said that he was with another adventuring group, and that he must have been imprisoned battling a group of Drow. He proved unreasonable, and I had to put him in his place.~ */ EXIT
END

IF ~~ THEN BEGIN 16 // from: 17.0 10.0
  SAY #50725 /* ~Take care down here. Your charity will find very little appreciation from the inhabitants of this place, as you well know.~ */
  IF ~~ THEN REPLY #50727 /* ~There are dangers here for everyone, no matter how long you have stayed.~ */ GOTO 18
  IF ~~ THEN REPLY #50728 /* ~I worry about my safety, though I am sure I will be able to handle what comes.~ */ GOTO 18
  IF ~~ THEN REPLY #50729 /* ~I know my way around. I am in no danger.~ */ GOTO 18
END

IF ~~ THEN BEGIN 17 // from: 10.1
  SAY #50726 /* ~I especially did not expect to meet such friendly people in the form of Drow. Still, actions speak loudest and you have proven to be my friend.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 18 // from: 16.2 16.1 16.0
  SAY #50730 /* ~Knowledge is the key to safety. I learned that quick, I did. To the East, you'll find a group of Kuo-Toan's guarding a bridge.  A nasty lot, they are.~ */
  IF ~~ THEN GOTO 20
END

IF ~~ THEN BEGIN 19 // from: 20.0
  SAY #50731 /* ~I must try to find my way out and discover what happened to my own group. I wish you well.~ */
  IF ~~ THEN DO ~EscapeArea()
EraseJournalEntry(57554)~ SOLVED_JOURNAL #57555 /* ~Victims of Imprisonment.

Another person freed from the crystal I found, but this time his mind was sound and he did not wish to fight. He said that he was with another adventuring group, and that he must have been imprisoned battling a group of Drow. He did not know where they went, and he has now set off to find his lost comrades. He offered a little knowledge of the area, saying that a group of Kuo-Toans were guarding a bridge to the east, and that there was a Drow city to the north.~ */ EXIT
END

IF ~~ THEN BEGIN 20 // from: 18.0
  SAY #50740 /* ~Also, to the North is the gates to a drow city.  I was ambushed by a drow war party near there, I barely escaped with my life.  I'd urge caution if you travel in that area.~ */
  IF ~~ THEN GOTO 19
END
