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

BEGIN ~RENFELD~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #23777 /* ~H-help!  Help me, please!~ */
  IF ~~ THEN REPLY #23783 /* ~Who are you? What has happened?~ */ GOTO 1
  IF ~~ THEN REPLY #23778 /* ~Forget it... I'm not falling for that trick.~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 9.0 2.0 0.0
  SAY #23784 /* ~My... my name is Renfeld... (groan)  I have been poisoned... I beg you to take me to... friends... they have a building not far away from here... please, I beg you!~ */
  IF ~~ THEN REPLY #23785 /* ~Where exactly is this place?~ */ GOTO 3
  IF ~~ THEN REPLY #23786 /* ~Here, I can attempt to heal you with magic.~ */ GOTO 4
  IF ~~ THEN REPLY #24738 /* ~And what would be my reward for doing this?~ */ GOTO 5
  IF ~~ THEN REPLY #23787 /* ~Very well, I will take you immediately.~ */ GOTO 6
  IF ~~ THEN REPLY #23788 /* ~I'm not about to help you.  You can die, for all I care.~ */ GOTO 7
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #23789 /* ~It is... no trick!  I am dying... please, I ask for your help!~ */
  IF ~~ THEN REPLY #24730 /* ~What have these ruffians done to you?~ */ GOTO 1
  IF ~~ THEN REPLY #24731 /* ~Sorry.  I'm leaving, now.~ */ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 7.0 5.0 4.0 1.0
  SAY #24732 /* ~It is a large building... a large orange building to the southwest of the Docks District. There will be a man guarding the door... his name is Rylock.  Please, take me to him...~ */
  IF ~~ THEN REPLY #24733 /* ~I can try to heal you magically, if you wish.~ */ GOTO 4
  IF ~~ THEN REPLY #24734 /* ~What will be my reward for helping you, then?~ */ GOTO 5
  IF ~~ THEN REPLY #24735 /* ~Very well.  I will take you there.~ */ GOTO 6
  IF ~~ THEN REPLY #24737 /* ~Forget it.  I have better things to do.~ */ GOTO 7
END

IF ~~ THEN BEGIN 4 // from: 5.1 3.0 1.1
  SAY #24739 /* ~It is... no use, I am afraid.  I have already attempted to neutralize the poison inside me.  I... do not know... what has been done to me.  Please... I must go to my friends...~ */
  IF ~~ THEN REPLY #24740 /* ~Where is this building, then?~ */ GOTO 3
  IF ~~ THEN REPLY #24741 /* ~What sort of reward will I receive for doing this for you?~ */ GOTO 5
  IF ~~ THEN REPLY #24742 /* ~Very well... I will take you now.~ */ GOTO 6
  IF ~~ THEN REPLY #24743 /* ~Forget it.  I have better things to do than to help you.~ */ GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 4.1 3.1 1.2
  SAY #24744 /* ~Reward?  (groan)  I... I have nothing to offer you... aside from my gratitude and those of my friends.  Please... I do not have much time...~ */
  IF ~~ THEN REPLY #24745 /* ~Where is this building, exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #24746 /* ~I will attempt to heal you with magic.~ */ GOTO 4
  IF ~~ THEN REPLY #24747 /* ~Very well... I'll take you there.~ */ GOTO 6
  IF ~~ THEN REPLY #24748 /* ~Forget it, then.  I have better things to do.~ */ GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 5.2 4.2 3.2 1.3
  SAY #24749 /* ~Th-thank you.  I... do not have long to live.  You must take me there quickly...  (groan)  ... take me to Rylock...~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")~ THEN DO ~GiveItemCreate("MISC5F",LastTalkedToBy,0,0,0)
SetGlobalTimer("RenfeldDeath","GLOBAL",TEN_DAYS)
DestroySelf()
~ UNSOLVED_JOURNAL #47848 /* ~Bring the poisoned man to his friends.

I have stumbled across a poisoned man by the name of Renfeld, whom I have agreed to take to friends who are not far.  There is a building in the southwest part of the Docks District with a man in front of it by the name of Rylock, who will tend to him.~ */ EXIT
  IF ~IsValidForPartyDialog("Minsc")~ THEN DO ~GiveItemCreate("MISC5F",LastTalkedToBy,0,0,0)
SetGlobalTimer("RenfeldDeath","GLOBAL",TEN_DAYS)
DestroySelf()~ UNSOLVED_JOURNAL #47848 /* ~Bring the poisoned man to his friends.

I have stumbled across a poisoned man by the name of Renfeld, whom I have agreed to take to friends who are not far.  There is a building in the southwest part of the Docks District with a man in front of it by the name of Rylock, who will tend to him.~ */ EXTERN ~MINSCJ~ 125
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Aerie")~ THEN DO ~GiveItemCreate("MISC5F",LastTalkedToBy,0,0,0)
SetGlobalTimer("RenfeldDeath","GLOBAL",TEN_DAYS)
DestroySelf()~ UNSOLVED_JOURNAL #47848 /* ~Bring the poisoned man to his friends.

I have stumbled across a poisoned man by the name of Renfeld, whom I have agreed to take to friends who are not far.  There is a building in the southwest part of the Docks District with a man in front of it by the name of Rylock, who will tend to him.~ */ EXTERN ~AERIEJ~ 86
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Anomen")~ THEN DO ~GiveItemCreate("MISC5F",LastTalkedToBy,0,0,0)
SetGlobalTimer("RenfeldDeath","GLOBAL",TEN_DAYS)
DestroySelf()~ UNSOLVED_JOURNAL #47848 /* ~Bring the poisoned man to his friends.

I have stumbled across a poisoned man by the name of Renfeld, whom I have agreed to take to friends who are not far.  There is a building in the southwest part of the Docks District with a man in front of it by the name of Rylock, who will tend to him.~ */ EXTERN ~ANOMENJ~ 219
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Korgan")~ THEN DO ~GiveItemCreate("MISC5F",LastTalkedToBy,0,0,0)
SetGlobalTimer("RenfeldDeath","GLOBAL",TEN_DAYS)
DestroySelf()~ UNSOLVED_JOURNAL #47848 /* ~Bring the poisoned man to his friends.

I have stumbled across a poisoned man by the name of Renfeld, whom I have agreed to take to friends who are not far.  There is a building in the southwest part of the Docks District with a man in front of it by the name of Rylock, who will tend to him.~ */ EXTERN ~KORGANJ~ 94
END

IF ~~ THEN BEGIN 7 // from: 5.3 4.3 3.3 1.4
  SAY #24750 /* ~H-have... have you no compassion?  I... I am dying.  Nobody will aid me... please, I am begging you...~ */
  IF ~~ THEN REPLY #24751 /* ~(sigh)  Where do you need to go, again?~ */ GOTO 3
  IF ~~ THEN REPLY #24752 /* ~Sorry.  I'll leave you be, now.~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 9.1 7.1 2.1
  SAY #24753 /* ~P-please!  No...~ */
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Keldorn")~ THEN DO ~SetGlobalTimer("RenfeldDeath","LOCALS",TWO_DAYS)
~ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 399
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 87
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 253
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 150
END

IF ~True()~ THEN BEGIN 9 // from:
  SAY #24754 /* ~You?  P-please... I ask you again... please help me...~ */
  IF ~~ THEN REPLY #24755 /* ~Tell me what you need, again?~ */ GOTO 1
  IF ~~ THEN REPLY #24756 /* ~Sorry, I cannot.  I'll be going.~ */ GOTO 8
END
