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

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

IF WEIGHT #3 /* Triggers after states #: 36 41 46 even though they appear after this state */
~Global("LyrosJob","GLOBAL",1)
Global("HarperJob","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #22763 /* ~Hmm... you are the one who returned Renfeld to us, yes?  Greetings to you again, then.  Is there something that you need?~ */
  IF ~~ THEN REPLY #22770 /* ~Yes.  Could you tell me what manner of place is this?~ */ GOTO 1
  IF ~~ THEN REPLY #22771 /* ~I need to take a look inside, if I could.~ */ GOTO 2
  IF ~~ THEN REPLY #22772 /* ~No, thanks.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 33.0 0.0
  SAY #22773 /* ~This is a private residence... private, as in 'it's none of your business.'~ */
  IF ~~ THEN REPLY #22775 /* ~Really?  I thought this was the Harper's headquarters.~ */ GOTO 4
  IF ~~ THEN REPLY #22792 /* ~Could I speak to the person in charge, here, then?~ */ GOTO 5
  IF ~~ THEN REPLY #22793 /* ~Oh... I'll be on my way, then.~ */ GOTO 6
END

IF ~~ THEN BEGIN 2 // from: 33.1 5.0 0.1
  SAY #22794 /* ~You need to take a look inside?  And exactly what would you be looking for?~ */
  IF ~~ THEN REPLY #22796 /* ~I understand this is the Harper's compound... I always wanted to meet a Harper.~ */ GOTO 4
  IF ~~ THEN REPLY #22797 /* ~A friend of mine is supposed to be inside.  I want to see if he's still there.~ */ GOTO 7
  IF ~~ THEN REPLY #22801 /* ~I'm the new building safety inspector... we, uh, can't have all the buildings in Athkatla collapsing, you know.  It's not safe.~ */ GOTO 8
  IF ~~ THEN REPLY #22802 /* ~Never mind.  Forget I said anything.~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 33.3 25.5 0.2
  SAY #22803 /* ~Alright, then.  I shall see you another time.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 13.0 11.0 10.1 8.3 7.0 5.1 2.0 1.0
  SAY #22809 /* ~Eh?  Harpers?  What are you talking about?~ */
  IF ~~ THEN REPLY #22810 /* ~I'm saying that this is the Harper's headquarters here in the city.  That is what it is, isn't it?~ */ GOTO 9
  IF ~~ THEN REPLY #22811 /* ~You mean this isn't the Harper's headquarters?~ */ GOTO 9
  IF ~~ THEN REPLY #22812 /* ~Uh, never mind.  I'll be going, now.~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 1.1
  SAY #22814 /* ~Well, now, that depends.  You returned Renfeld to me, yes, but I don't know who you are or what you want.~ */
  IF ~~ THEN REPLY #22815 /* ~My name is <CHARNAME>, and I would like to take a look around inside.~ */ GOTO 2
  IF ~~ THEN REPLY #22816 /* ~I understand that this is the Harper's headquarters... I'm interested in joining.~ */ GOTO 4
  IF ~~ THEN REPLY #22813 /* ~Who I am is not your concern.  I'm looking for a friend of mine and I need to see if they are inside this building.~ */ GOTO 7
  IF ~~ THEN REPLY #22818 /* ~Never mind, I'll be on my way.~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 13.2 11.2 10.3 8.4 7.3 5.3 4.2 2.3 1.2
  SAY #22819 /* ~You'll do as you like, I imagine.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 8.2 5.2 2.1
  SAY #22820 /* ~A friend?  What kind of friend?~ */
  IF ~~ THEN REPLY #22821 /* ~He's a Harper... this is the Harper's headquarters, isn't it?~ */ GOTO 4
  IF ~~ THEN REPLY #22822 /* ~It's my brother... I think he may have snuck in here on a dare, and he hasn't come back out.  Do you know anything about that?~ */ GOTO 10
  IF ~~ THEN REPLY #22823 /* ~Well, not a friend, exactly.  I'm looking for a thief who I think was last here.  He's got quite the bounty on his head.~ */ GOTO 10
  IF ~~ THEN REPLY #22824 /* ~Never mind.  I'll be leaving, now.~ */ GOTO 6
END

IF ~~ THEN BEGIN 8 // from: 2.2
  SAY #22825 /* ~Safety inspector, eh?  I don't suppose you'd have any kind of documents proving that, would you?~ */
  IF ~~ THEN REPLY #22835 /* ~Sure I do... documents in gold, actually, if you take my meaning.~ */ GOTO 11
  IF ~~ THEN REPLY #22836 /* ~Well, actually... no, I don't.~ */ GOTO 10
  IF ~~ THEN REPLY #22837 /* ~Alright, so I'm not a safety inspector.  The truth is I'm looking for a friend who I think might be inside.~ */ GOTO 7
  IF ~~ THEN REPLY #22848 /* ~Alright, fine, you found me out.  The truth is, I just wanted to see the inside of the Harper compound.~ */ GOTO 4
  IF ~~ THEN REPLY #22849 /* ~I, uh, seem to have forgotten them.  I'll be back.~ */ GOTO 6
END

IF ~~ THEN BEGIN 9 // from: 4.1 4.0
  SAY #22850 /* ~Keep your voice down!  That's supposed to be a secret!  Where did you hear this?  Who told you?~ */
  IF ~!IsValidForPartyDialog("Jaheira")~ THEN REPLY #22856 /* ~Does it matter where I heard it?  It's the truth.  All I want is to take a quick look around.~ */ GOTO 12
  IF ~!IsValidForPartyDialog("Jaheira")~ THEN REPLY #22860 /* ~Is it supposed to be a secret?  I wasn't aware of that.  I suppose I'll just be on my way, then, and try to avoid telling everyone I know about this place...~ */ GOTO 12
  IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 400
END

IF ~~ THEN BEGIN 10 // from: 8.1 7.2 7.1
  SAY #22863 /* ~Sorry, friend.  I know you helped me with Renfeld, but this compound is closed to outsiders.  I can't help you.~ */
  IF ~~ THEN REPLY #22864 /* ~Perhaps some gold might persuade you to change your mind?~ */ GOTO 11
  IF ~~ THEN REPLY #22865 /* ~I thought you Harpers were supposed to help people?~ */ GOTO 4
  IF ~~ THEN REPLY #22866 /* ~And if I forced my way inside?  What would you do, then?~ */ GOTO 13
  IF ~~ THEN REPLY #22868 /* ~Thanks a lot.  I'll be leaving, then.~ */ GOTO 6
END

IF ~~ THEN BEGIN 11 // from: 10.0 8.0
  SAY #22869 /* ~Sorry.  No amount of gold is going to get you entrance, here.~ */
  IF ~~ THEN REPLY #22870 /* ~Well, I didn't think bribing a Harper would be possible, but it was worth a try.~ */ GOTO 4
  IF ~~ THEN REPLY #22871 /* ~And what if I decided to force my way in?  What would you do, then?~ */ GOTO 13
  IF ~~ THEN REPLY #22872 /* ~Fine.  I'll be on my way, then.~ */ GOTO 6
END

IF ~~ THEN BEGIN 12 // from: 9.1 9.0
  SAY #22858 /* ~Enough!  Revealing our existence here could endanger us more than you know!  Do you want to have the blood of the valiant on your hands?~ */
  IF ~~ THEN REPLY #22873 /* ~Well, then letting me inside to take a quick look around shouldn't be much of a problem, should it?~ */ GOTO 14
  IF ~~ THEN REPLY #22874 /* ~The Harpers?  Valiant?  Somehow I just don't put those two words together.~ */ GOTO 52
  IF ~~ THEN REPLY #22875 /* ~Actually, it wouldn't bother me, much.~ */ GOTO 16
END

IF ~~ THEN BEGIN 13 // from: 11.1 10.2
  SAY #22876 /* ~You could try and kill me, if you like.  You may even succeed.  That still wouldn't gain you entrance into this building.  It is quite secure, I assure you.~ */
  IF ~~ THEN REPLY #22877 /* ~And I suppose I would earn the enmity of the Harpers forever, right?~ */ GOTO 4
  IF ~~ THEN REPLY #22878 /* ~We'll see about that!  Prepare to die!~ */ GOTO 17
  IF ~~ THEN REPLY #22879 /* ~Fine.  I'll be on my way, then.~ */ GOTO 6
END

IF ~~ THEN BEGIN 14 // from: 12.0
  SAY #22880 /* ~Alright!  You returned Renfeld to us, but I can't let you inside based on that.  Listen... if you do a small task for us, I'll let you take a look around.  Deal?~ */
  IF ~~ THEN REPLY #22882 /* ~What sort of 'small task' are you talking about?~ */ GOTO 18
  IF ~~ THEN REPLY #22883 /* ~Sorry.  Either you let me in, now, or I tell everyone about your existence, here.~ */ GOTO 20
  IF ~~ THEN REPLY #22884 /* ~Bringing your friend wasn't enough?  Forget it.  I'm not interested.~ */ GOTO 21
END

IF ~~ THEN BEGIN 15 // from: 52.0
  SAY #22885 /* ~Look... I know you returned Renfeld to us, but I still can't let you inside.  If you perform a small task for us, we can give you a quick look around.~ */
  IF ~~ THEN REPLY #22886 /* ~What sort of 'small task' are you talking about?~ */ GOTO 18
  IF ~~ THEN REPLY #22887 /* ~Sorry.  Either you let me in, now, or I tell everyone about your existence, here.~ */ GOTO 20
  IF ~~ THEN REPLY #22888 /* ~Bringing you your friend wasn't enough?  Forget it, then.~ */ GOTO 21
END

IF ~~ THEN BEGIN 16 // from: 12.2
  SAY #22889 /* ~(sigh)  You are cold, my <LADYLORD>.  You helped us with Renfeld, but I can't let you inside.  If you perform a small task for us, we can give you a quick look around.~ */
  IF ~~ THEN REPLY #22890 /* ~What sort of 'small task' are you talking about?~ */ GOTO 18
  IF ~~ THEN REPLY #22891 /* ~Sorry.  Either you let me in, now, or I tell everyone about your existence, here.~ */ GOTO 20
  IF ~~ THEN REPLY #22892 /* ~Bringing you your friend wasn't enough?  Forget it, then.~ */ GOTO 21
END

IF ~~ THEN BEGIN 17 // from: 13.1
  SAY #22893 /* ~You'll find the Harpers no simple target, fool!~ */
  IF ~!IsValidForPartyDialog("Jaheira")~ THEN DO ~EscapeArea()
~ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN DO ~EscapeArea()
~ EXTERN ~JAHEIRAJ~ 401
END

IF ~~ THEN BEGIN 18 // from: 20.0 16.0 15.0 14.0
  SAY #22894 /* ~You look like the fighting sort... there is a house just north of here, near the center of the district.~ */
  IF ~!IsValidForPartyDialog("Jaheira")~ THEN GOTO 19
  IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 402
END

IF ~~ THEN BEGIN 19 // from: 54.0 18.0
  SAY #22895 /* ~The owner of the house, a mage named Prebek, performs vile experiments... creating beasts which threaten the city.  Destroy them, and we'll allow your wish.~ */
  IF ~OR(2)
!Dead("XAppren1")
!Dead("XAppren2")
~ THEN REPLY #22896 /* ~Why not just deal directly with the owner of the house?~ */ GOTO 22
  IF ~OR(2)
!Dead("XAppren1")
!Dead("XAppren2")
~ THEN REPLY #22897 /* ~Sorry.  Either you let me in, now, or I tell everyone about your existence, here.~ */ GOTO 23
  IF ~OR(2)
!Dead("XAppren1")
!Dead("XAppren2")
~ THEN REPLY #22898 /* ~Very well.  I will do as you ask.~ */ GOTO 24
  IF ~OR(2)
!Dead("XAppren1")
!Dead("XAppren2")
~ THEN REPLY #22899 /* ~No dice.  I refuse to do this.~ */ GOTO 21
  IF ~Dead("XAppren1")
Dead("XAppren2")
~ THEN REPLY #30289 /* ~I remember this place... creatures among two apprentices, as I recall.  I can assure you they are all dead, now.~ */ GOTO 53
END

IF ~~ THEN BEGIN 20 // from: 16.1 15.1 14.1
  SAY #22900 /* ~Then we shall have to stop you if you do.  Either you perform the service for us or you will not gain entrance.  It is for you to choose.~ */
  IF ~~ THEN REPLY #22901 /* ~What kind of service was it you wanted, then?~ */ GOTO 18
  IF ~~ THEN REPLY #22906 /* ~No... I am not interested in doing this.~ */ GOTO 21
END

IF ~~ THEN BEGIN 21 // from: 23.2 22.2 20.1 19.3 16.2 15.2 14.2
  SAY #22907 /* ~There is nothing else I can do... sorry.  If you change your mind, you know where to find me.  And remember... say nothing or you will suffer the consequences.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 22 // from: 23.0 19.0
  SAY #22908 /* ~That is a separate matter and is being dealt with by another Harper.  This is all we need help with, currently.  Will you do it?~ */
  IF ~~ THEN REPLY #22909 /* ~Sorry.  Either you let me in, now, or I tell everyone about your existence, here.~ */ GOTO 23
  IF ~~ THEN REPLY #22912 /* ~Very well.  I will do as you ask.~ */ GOTO 24
  IF ~~ THEN REPLY #22913 /* ~No... I am not interested in doing this.~ */ GOTO 21
END

IF ~~ THEN BEGIN 23 // from: 22.0 19.1
  SAY #22905 /* ~Then we shall have to stop you if you do.  Either you perform the service for us or you will not gain entrance.  It is for you to choose.~ */
  IF ~~ THEN REPLY #22918 /* ~Why not just deal directly with the owner of the house?~ */ GOTO 22
  IF ~~ THEN REPLY #22919 /* ~Very well.  I will do as you ask.~ */ GOTO 24
  IF ~~ THEN REPLY #22921 /* ~No dice.  I refuse to do this.~ */ GOTO 21
END

IF ~~ THEN BEGIN 24 // from: 33.2 23.1 22.1 19.2
  SAY #22922 /* ~Very well.  Go to the house and kill the creatures there.  We will watch you and know when you have completed the task.  Return here once you are done.~ */
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Yoshimo")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",1)
~ UNSOLVED_JOURNAL #47863 /* ~Find out what happened to Montaron.

In return for allowing me within their base, I am required to perform a small task for the Harpers.  There is a small house in the center of the district, the home of a mage named Prebek. Within are supposed to be creatures of some kind... the result of someone's experiments.  I am to kill these creatures and return.~ */ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",1)~ UNSOLVED_JOURNAL #47863 /* ~Find out what happened to Montaron.

In return for allowing me within their base, I am required to perform a small task for the Harpers.  There is a small house in the center of the district, the home of a mage named Prebek. Within are supposed to be creatures of some kind... the result of someone's experiments.  I am to kill these creatures and return.~ */ EXTERN ~JAHEIRAJ~ 403
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Anomen")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",1)~ UNSOLVED_JOURNAL #47863 /* ~Find out what happened to Montaron.

In return for allowing me within their base, I am required to perform a small task for the Harpers.  There is a small house in the center of the district, the home of a mage named Prebek. Within are supposed to be creatures of some kind... the result of someone's experiments.  I am to kill these creatures and return.~ */ EXTERN ~ANOMENJ~ 220
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Yoshimo")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",1)~ UNSOLVED_JOURNAL #47863 /* ~Find out what happened to Montaron.

In return for allowing me within their base, I am required to perform a small task for the Harpers.  There is a small house in the center of the district, the home of a mage named Prebek. Within are supposed to be creatures of some kind... the result of someone's experiments.  I am to kill these creatures and return.~ */ EXTERN ~YOSHJ~ 75
END

IF WEIGHT #4 /* Triggers after states #: 36 41 46 even though they appear after this state */
~OR(2)
Global("LyrosJob","GLOBAL",0)
Dead("Lyros")
~ THEN BEGIN 25 // from:
  SAY #22925 /* ~Is there something that you need?~ */
  IF ~~ THEN REPLY #22926 /* ~Yes.  Can you tell me what manner of place this is?~ */ GOTO 26
  IF ~~ THEN REPLY #22927 /* ~Could I take a look around inside?~ */ GOTO 27
  IF ~Dead("XAppren1")
Dead("XAppren2")
~ THEN REPLY #22969 /* ~I've killed all the monsters in the house... can I get inside, now?~ */ GOTO 34
  IF ~Global("LyrosJob","GLOBAL",1)
Dead("Lyros")
~ THEN REPLY #22971 /* ~Yes... this is the Harper's headquarters, right?~ */ GOTO 35
  IF ~Dead("Lyros")
Global("LyrosJob","GLOBAL",0)
~ THEN REPLY #23750 /* ~I demand to speak to one of the Harpers.  You people used me!~ */ GOTO 39
  IF ~~ THEN REPLY #22929 /* ~No, not really.~ */ GOTO 3
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #22932 /* ~That is no concern of yours.  This is a closed and secure compound.  Please move along.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 27 // from: 25.1
  SAY #22933 /* ~You most certainly may not.  This is a closed and secure compound.  Please move along.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 36 41 46 even though they appear after this state */
~Global("HarperJob","GLOBAL",1)
OR(2)
!Dead("XAppren1")
!Dead("XAppren2")~ THEN BEGIN 28 // from:
  SAY #22935 /* ~You're back... but you haven't completed the task, yet.~ */
  IF ~~ THEN REPLY #22936 /* ~I'll get on it right away.~ */ GOTO 29
  IF ~~ THEN REPLY #22937 /* ~Could you remind me where the house is again?~ */ GOTO 30
  IF ~~ THEN REPLY #22938 /* ~What is it that you wanted me to do, again?~ */ GOTO 31
  IF ~~ THEN REPLY #22939 /* ~I'm no longer interested in doing this task for you.~ */ GOTO 32
END

IF ~~ THEN BEGIN 29 // from: 31.0 30.0 28.0
  SAY #22944 /* ~Excellent.  I will see you once it is complete.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 30 // from: 31.1 28.1
  SAY #22953 /* ~It's in one of the buildings located in this district right here.  You'll find it near the center of the district..~ */
  IF ~~ THEN REPLY #22954 /* ~Alright, I'll get on it right away.~ */ GOTO 29
  IF ~~ THEN REPLY #22955 /* ~What is it that you wanted me to do, again?~ */ GOTO 31
  IF ~~ THEN REPLY #22956 /* ~I've decided I'm no longer interested in doing this task.~ */ GOTO 32
END

IF ~~ THEN BEGIN 31 // from: 30.1 28.2
  SAY #22957 /* ~You're to go to the house and dispose of all the magical creatures conjured up through this man's experiments.  We'll know when you've completed the task.~ */
  IF ~~ THEN REPLY #22958 /* ~Very well, I'll get on it.~ */ GOTO 29
  IF ~~ THEN REPLY #22959 /* ~Where is this house again?~ */ GOTO 30
  IF ~~ THEN REPLY #22960 /* ~I've decided that I'm no longer interested in performing this task.~ */ GOTO 32
END

IF ~~ THEN BEGIN 32 // from: 31.2 30.2 28.3
  SAY #22961 /* ~As you wish.  If you change your mind, you know where to find me.  Remember, though... tell no one about us.  Or suffer the consequences.~ */
  IF ~~ THEN DO ~SetGlobal("HarperJob","GLOBAL",2)
~ EXIT
END

IF WEIGHT #6 /* Triggers after states #: 36 41 46 even though they appear after this state */
~Global("LyrosJob","GLOBAL",1)
OR(2)
Global("HarperJob","GLOBAL",0)
Global("HarperJob","GLOBAL",2)
~ THEN BEGIN 33 // from:
  SAY #22962 /* ~Ah.  It is you, again.  What do you want now?~ */
  IF ~~ THEN REPLY #22963 /* ~I would like to know what manner of place this is.~ */ GOTO 1
  IF ~~ THEN REPLY #22964 /* ~I would like to take a look around this place.~ */ GOTO 2
  IF ~Global("HarperJob","GLOBAL",2)
~ THEN REPLY #22965 /* ~I've changed my mind about performing your task.~ */ GOTO 24
  IF ~~ THEN REPLY #22968 /* ~Er... nothing, really.~ */ GOTO 3
END

IF ~~ THEN BEGIN 34 // from: 25.2
  SAY #22970 /* ~Sorry.  It's fine that you did that, but I'm afraid it's no longer required.  Move along.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 35 // from: 25.3
  SAY #22972 /* ~Say that again, in public, and you'll lose your tongue.  We'll be watching you... so ensure that you repeat that information nowhere.  Not get moving.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~False()~ THEN BEGIN 36 // from:
  SAY #22973 /* ~You'll learn the folly of your actions, fool!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 41 46 even though they appear after this state */
~Dead("XAppren1")
Dead("XAppren2")
Global("HarperJob","GLOBAL",1)
~ THEN BEGIN 37 // from:
  SAY #22974 /* ~Excellent.  I understand you have completed the task at the house.  The Harpers are grateful.  You may go inside... but I warn you to keep to the first floor.~ */
  IF ~~ THEN DO ~AddExperienceParty(14500)~ GOTO 38
END

IF ~~ THEN BEGIN 38 // from: 53.0 37.0
  SAY #22975 /* ~The second floor is far too dangerous... anyone but a Harper who goes there will be killed, and we couldn't help you.  At any rate... go on in, if you wish.~ */
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Edwin")
!IsValidForPartyDialog("HaerDalis")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",3)
Unlock("DOOR0308")
~ UNSOLVED_JOURNAL #47864 /* ~Find out what happened to Montaron.

I have been admitted to the Harper base... but Rylock warns me I must keep to the first floor.  If I go to the second floor, I will be killed, and he implied that not even the Harpers could stop that from happening.~ */ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",3)
Unlock("DOOR0308")~ UNSOLVED_JOURNAL #47864 /* ~Find out what happened to Montaron.

I have been admitted to the Harper base... but Rylock warns me I must keep to the first floor.  If I go to the second floor, I will be killed, and he implied that not even the Harpers could stop that from happening.~ */ EXTERN ~JAHEIRAJ~ 404
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Edwin")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",3)
Unlock("DOOR0308")~ UNSOLVED_JOURNAL #47864 /* ~Find out what happened to Montaron.

I have been admitted to the Harper base... but Rylock warns me I must keep to the first floor.  If I go to the second floor, I will be killed, and he implied that not even the Harpers could stop that from happening.~ */ EXTERN ~EDWINJ~ 71
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Edwin")
IsValidForPartyDialog("HaerDalis")~ THEN DO ~SetGlobal("HarperJob","GLOBAL",3)
Unlock("DOOR0308")~ UNSOLVED_JOURNAL #47864 /* ~Find out what happened to Montaron.

I have been admitted to the Harper base... but Rylock warns me I must keep to the first floor.  If I go to the second floor, I will be killed, and he implied that not even the Harpers could stop that from happening.~ */ EXTERN ~HAERDAJ~ 82
END

IF ~~ THEN BEGIN 39 // from: 25.4
  SAY #23751 /* ~To maintain the balance, we will do much.  But it is no concern of yours.  Be thankful we found no reason to include your death with the wizard's.~ */
  IF ~~ THEN GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 39.0
  SAY #23753 /* ~I warn you, however... if you dare to tell so much as one other person about this place... we will know about it.  And you will suffer the consequences.  Now go.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~PartyHasItem("MISC5F")
GlobalTimerNotExpired("RenfeldDeath","GLOBAL")
~ THEN BEGIN 41 // from:
  SAY #22526 /* ~Yes?  Is there someth... Renfeld!  By Tymora!  Thank you for bringing him to us, we were beginning to worry!~ */
  IF ~~ THEN REPLY #22533 /* ~It is not a problem.  Glad to be of service.~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(14550)~ SOLVED_JOURNAL #47854 /* ~Bring the poisoned man to his friends.

The poisoned man, Renfeld, has been turned over to Rylock, who was quite happy to see his friend.~ */ GOTO 42
  IF ~~ THEN REPLY #22534 /* ~I was rather hoping for a reward for this good deed...?~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(14550)~ SOLVED_JOURNAL #47854 /* ~Bring the poisoned man to his friends.

The poisoned man, Renfeld, has been turned over to Rylock, who was quite happy to see his friend.~ */ GOTO 43
  IF ~~ THEN REPLY #22535 /* ~Tell me... who are you?  What manner of place is this?~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(14550)~ SOLVED_JOURNAL #47854 /* ~Bring the poisoned man to his friends.

The poisoned man, Renfeld, has been turned over to Rylock, who was quite happy to see his friend.~ */ GOTO 44
  IF ~~ THEN REPLY #24764 /* ~He has been poisoned, somehow... but he said magic was not able to cure it.  He seemed desperate to find you.~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(14550)~ SOLVED_JOURNAL #47854 /* ~Bring the poisoned man to his friends.

The poisoned man, Renfeld, has been turned over to Rylock, who was quite happy to see his friend.~ */ GOTO 45
END

IF ~~ THEN BEGIN 42 // from: 41.0
  SAY #24765 /* ~He is... sick?  I shall bring him inside immediately.  Thank you, friend, for doing this.  We are most grateful.  Here is a small reward for you troubles.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(200)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
EraseJournalEntry(47848)~ EXIT
END

IF ~~ THEN BEGIN 43 // from: 41.1
  SAY #24766 /* ~A reward?  Er... yes, I suppose so.  For you trouble.  Renfeld appears ill... I must take him inside immediately.  Thank you.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(100)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 44 // from: 41.2
  SAY #24767 /* ~This is a private residence.  Thank you for bringing Renfeld to me.  He appears ill, so I must bring him inside immediately.  Some coin... for your trouble.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(200)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 45 // from: 41.3
  SAY #24768 /* ~Poisoned?  By the gods!  Thank you... I must bring him inside immediately!  Here is some coin, for your trouble.  I thank you again, friend.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(300)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF WEIGHT #2 ~PartyHasItem("MISC5F")
GlobalTimerExpired("RenfeldDeath","GLOBAL")
~ THEN BEGIN 46 // from:
  SAY #24769 /* ~Yes?  Is there someth... Renfeld?  He is dead?  What has happened to him?~ */
  IF ~~ THEN REPLY #24770 /* ~I found him poisoned in the street.  He was desperate to find you, but I did not locate you in time.~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(8000)~ SOLVED_JOURNAL #47851 /* ~Bring the poisoned man to his friends.

I found Rylock, even though it was too late. Renfeld was already dead.  Rylock was grateful, nonetheless, and gave me a small reward before disappearing into the building with Renfeld's body.~ */ GOTO 47
  IF ~~ THEN REPLY #24771 /* ~I am not sure.  He asked me to bring him here, but he died on the way.~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(8000)~ SOLVED_JOURNAL #47851 /* ~Bring the poisoned man to his friends.

I found Rylock, even though it was too late. Renfeld was already dead.  Rylock was grateful, nonetheless, and gave me a small reward before disappearing into the building with Renfeld's body.~ */ GOTO 48
  IF ~~ THEN REPLY #24772 /* ~I do not know.~ */ DO ~EraseJournalEntry(47848)
TakePartyItem("MISC5F")
DestroyItem("MISC5F")
AddExperienceParty(8000)~ UNSOLVED_JOURNAL #47851 /* ~Bring the poisoned man to his friends.

I found Rylock, even though it was too late. Renfeld was already dead.  Rylock was grateful, nonetheless, and gave me a small reward before disappearing into the building with Renfeld's body.~ */ GOTO 48
END

IF ~~ THEN BEGIN 47 // from: 46.0
  SAY #24773 /* ~Poisoned?  It is a sad thing, then, that he did not arrive to us soon enough.  Thank you for bringing his body... we are most appreciative.~ */
  IF ~~ THEN REPLY #24774 /* ~Yes, I was hoping for some kind of reward...?~ */ DO ~TakePartyItem("MISC5F")
~ GOTO 49
  IF ~~ THEN REPLY #24775 /* ~Just who are you?  Who was he?  What is this place?~ */ GOTO 50
  IF ~~ THEN REPLY #24776 /* ~It was not a problem.~ */ GOTO 51
END

IF ~~ THEN BEGIN 48 // from: 46.2 46.1
  SAY #24777 /* ~I see.  Thank you, anyway, for bringing his body to us.  We are most appreciative.~ */
  IF ~~ THEN REPLY #24778 /* ~Yes, I was hoping for some kind of reward...?~ */ GOTO 49
  IF ~~ THEN REPLY #24779 /* ~Just who are you?  Who was he?  What is this place?~ */ GOTO 50
  IF ~~ THEN REPLY #24780 /* ~It was not a problem.~ */ GOTO 51
END

IF ~~ THEN BEGIN 49 // from: 48.0 47.0
  SAY #24781 /* ~Hm.  Alright... for your trouble, I suppose.  I thank you again for bringing the body to us.  Good day to you.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(50)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 50 // from: 48.1 47.1
  SAY #24782 /* ~None of those questions are your concern.  Here... some money to cover your trouble.  I must take him inside, now... thank you and good day.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC5F")
GivePartyGold(100)
SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 51 // from: 48.2 47.2
  SAY #24783 /* ~I must bring his body inside, then.  Thank you, again, for bringing him to us.  We are most appreciative.  Good day.~ */
  IF ~~ THEN DO ~SetGlobal("LyrosSpawn","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 52 // from: 12.1
  SAY #24784 /* ~We maintain the balance, fool... and every Harper goes more out of his or her way for the common good than anyone else ever cares to.  (sigh)~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 53 // from: 19.4
  SAY #30290 /* ~Is that so?  Well, then... you have done us a favor already.  You may go inside... but I warn you to keep to the first floor, my friend.~ */
  IF ~~ THEN GOTO 38
END

IF ~~ THEN BEGIN 54 // from:
  SAY #49607 /* ~I'm afraid it is, Jaheira, Harper or no.  Your friends are strangers... they must prove their good faith if we are to trust them with our secret in this city.~ */
  IF ~~ THEN GOTO 19
END

IF WEIGHT #8 ~True()~ THEN BEGIN 55 // from:
  SAY #57880 /* ~We are thoroughly done with <CHARNAME> and company. If you have further concerns I suggest that you keep them to yourself.~ */
  IF ~~ THEN EXIT
END
