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

BEGIN ~UDTRAP06~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #50751 /* ~I meant no harm, I swear! Please, cease your casting and... and...~ */
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",0)
~ THEN DO ~EraseJournalEntry(57563)~ GOTO 1
  IF ~Global("PlayerLooksLikeDrow","GLOBAL",1)
~ THEN DO ~SetGlobal("PlayerRescuedAsDrow","GLOBAL",1)
EraseJournalEntry(57563)~ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #50752 /* ~You... you are not the ones... you are from the light? I have not seen your tone before...~ */
  IF ~!IsValidForPartyDialogue("VICONIA")~ THEN GOTO 4
  IF ~IsValidForPartyDialogue("VICONIA")~ THEN GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #50753 /* ~You... you are of the Drow... but not the ones that cast upon me? Have they been driven? Or are you here to complete their task?~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #50754 /* ~But you have them among you. If you travel with the blessing of the Drow I offer my respect. I hope you shall let me live.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0 2.0 1.0
  SAY #50755 /* ~Please, speak to me of your good intent. I am humble and only wish to go home.~ */
  IF ~Global("TalkedToSvirfDad","GLOBAL",1)~ THEN REPLY #50756 /* ~You may relax, young one. If you are Bedlen Daglefodd then I am here to save you.~ */ GOTO 5
  IF ~Global("TalkedToSvirfDad","GLOBAL",1)~ THEN REPLY #50758 /* ~I am here to save you, but your father did not mention what a mewling whelp you were.~ */ GOTO 5
  IF ~Global("TalkedToSvirfDad","GLOBAL",0)~ THEN REPLY #50757 /* ~I don't know who you are, but you've nothing to fear from me.~ */ GOTO 6
  IF ~Global("TalkedToSvirfDad","GLOBAL",0)~ THEN REPLY #50759 /* ~My intent is to seek profit wherever I may. Have you payment for your release?~ */ GOTO 8
  IF ~Global("TalkedToSvirfDad","GLOBAL",0)~ THEN REPLY #50761 /* ~Poor little deep gnome. My heart bleeds. Yours will too.~ */ GOTO 9
END

IF ~~ THEN BEGIN 5 // from: 4.1 4.0
  SAY #50760 /* ~Father sent you? Then I have been trapped here for some days at least. I have heard of such dark magic, but never thought I would see.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 6 // from: 4.2
  SAY #50762 /* ~Then I thank you for releasing me, but I must be on my way most quickly. My father will be worried.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 10.0 8.0 6.0
  SAY #50763 /* ~If you ever make it to our village be sure to speak with my father. His name is Therndle Daglefodd, and he will be most grateful, I know.~ */
  IF ~~ THEN DO ~SetGlobal("RescuedSvirfChild","GLOBAL",1)
EscapeArea()
EraseJournalEntry(57556)
EraseJournalEntry(57557)~ UNSOLVED_JOURNAL #57559 /* ~Victims of Imprisonment -- Bedlen Daglefodd?

I located a svirfneblin child that had somehow angered a group of Drow and been imprisoned in the crystal that I had found. He has gone back to his village to tell his father of his rescue, and has told me to do the same.~ */ EXIT
END

IF ~~ THEN BEGIN 8 // from: 4.3
  SAY #50764 /* ~Payment? I... no, I don't, but if you come to our granitehome in the future my father might.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 9 // from: 4.4
  SAY #50765 /* ~What? What gain is there in killing little me? Please, there may be reward for you if I am allowed to live.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #50766 /* ~I'm... I'm going to leave. If... If you let me live then I will tell my father that you rescued me. He may reward you... if you let me go.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 11 // from: 5.0
  SAY #50767 /* ~I must hurry to him and tell him I am all right. I will say you rescued me, as well. He will be grateful, of that I am sure.~ */
  IF ~~ THEN DO ~SetGlobal("RescuedSvirfChild","GLOBAL",1)
EraseJournalEntry(57556)
EraseJournalEntry(57557)
EscapeArea()~ UNSOLVED_JOURNAL #57558 /* ~Victims of Imprisonment -- Svirfneblin Son.

I located the son of Therndle Daglefodd. He had somehow angered a group of Drow and had been imprisoned in the crystal that I had found. He has gone back to his village to tell his father of his rescue.~ */ EXIT
END
