// creator  : weidu.exe (version 23600)
// argument : RAMAZI.DLG
// game     : .
// source   : ./override/RAMAZI.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 21 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #2636 /* ~Greetings to you and yours, my friend. Might I have your ear a moment?~ */
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #2637 /* ~Certainly, good sir. What is your concern?~ */ GOTO 3
  IF ~~ THEN REPLY #2638 /* ~I'm in no mood for idle chatter. Leave me be.~ */ GOTO 1
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #2639 /* ~Say your piece and move along. My time is valuable.~ */ GOTO 4
  IF ~  ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #2679 /* ~Certainly, good sir. What is your concern?~ */ GOTO 4
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #2680 /* ~Certainly, good sir. What is your concern?~ */ GOTO 5
  IF ~  ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #2681 /* ~Say your piece and move along. My time is valuable.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 24.3 23.3 8.3 7.3 6.3 5.0 4.0 3.0 2.0 0.1
  SAY #2640 /* ~As you wish. I'll trouble you no more.~ */
  IF ~~ THEN DO ~SetGlobal("HelpRamazith","GLOBAL",4)
~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 21 even though they appear after this state */
~  Global("HelpRamazith","GLOBAL",4)
~ THEN BEGIN 2 // from:
  SAY #2641 /* ~Changed your mind, have you? The offer be good till I find someone.~ */
  IF ~~ THEN REPLY #2643 /* ~My position has not changed. It's a risk I do not wish to take.~ */ GOTO 1
  IF ~~ THEN REPLY #2646 /* ~What is it I will be expected to do?~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 0.0
  SAY #2642 /* ~I've a been watching you, but rest assured it no be in the bad evil eye way. You and your compatriots be so obviously... Well, I just say you no look like farmers or merchants. I've a service needing completion, and it require that which I think you have. I reward well, but the mission is dangerous and beyond what the law would technically allow. Interested, yes?~ */
  IF ~~ THEN REPLY #2644 /* ~I've no desire to sully my good name in this town by crossing the law! Take your offer and leave!~ */ GOTO 1
  IF ~~ THEN REPLY #2645 /* ~What is it I will be expected to do?~ */ GOTO 6
END

IF ~~ THEN BEGIN 4 // from: 0.3 0.2
  SAY #2649 /* ~You are mercenary, no? I can tell because you are battle-ugly with scars, yes? I have need of a stealthy, well-equipped group, to perform an act the guard would frown upon. I trust you are available and willing? I pay better than common blade-wage, but you need be discreet. I go on, yes?~ */
  IF ~~ THEN REPLY #2666 /* ~I've no desire to sully my good name in this town by crossing the law! Take your offer and leave!~ */ GOTO 1
  IF ~~ THEN REPLY #2667 /* ~What is it I will be expected to do?~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 0.5 0.4
  SAY #2650 /* ~I would perhaps look to a mercenary guild for more professional help, but my time is limited, and you will have to do. I pay more than you're worth, so you listen well, no?~ */
  IF ~~ THEN REPLY #2669 /* ~I've no desire to sully my good name in this town by crossing the law! Take your offer and leave!~ */ GOTO 1
  IF ~~ THEN REPLY #2670 /* ~What is it I will be expected to do?~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.1 4.1 3.1 2.1
  SAY #2651 /* ~My proposition is thus: I would have you enter into the home of a colleague of mine and effect the release of a creature he has imprisoned there. Ragefast be his name, and he has in his possession one of the most beautiful and useful creatures in all of Faerûn. It's a nymph he captured some time ago, and I know not what laughable plans he has for her, but I am sure she be more... productive in my care. I not so rich as to be able to offer huge gold, but as competent wizard I do have the odd magical item of worth. Perhaps an enchanted item will serve your needs, no?~ */
  IF ~~ THEN REPLY #2647 /* ~Why not do this yourself? You do not seem as powerless as your plea makes you sound.~ */ GOTO 7
  IF ~~ THEN REPLY #2648 /* ~Your terms are acceptable. I agree.~ */ GOTO 9
  IF ~~ THEN REPLY #2668 /* ~Your offer is interesting, but I would prefer if it were larger. It's quite the risk you wish me to take.~ */ GOTO 8
  IF ~~ THEN REPLY #2678 /* ~Bah! This petty larceny is beneath me! I'll have none of it!~ */ GOTO 1
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~ELDOTJ~ 126
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~SKIEJ~ 217
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~ELDOTJ~ 128
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~SKIEJ~ 219
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~KIVANJ~ 421
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~JAHEIJ~ 443
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~VICONJ~ 257
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ GOTO 23
  IF ~Global("X#RAMAZI6","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI6","GLOBAL",1)~ EXTERN ~GARRIJ~ 246
END

IF ~~ THEN BEGIN 7 // from: 24.0 23.0 8.2 7.2 6.0
  SAY #2653 /* ~Indeed, I be proficient in that which is magical, but so is Ragefast. None know better how to defend against a wizard than another wizard. This require stealth and guile, or quick blade with muscle behind. You have; I lack. Simple, no?~ */
  IF ~~ THEN REPLY #2652 /* ~Your offer is interesting, but I would prefer if it were larger. It is quite the risk you wish me to take.~ */ GOTO 8
  IF ~~ THEN REPLY #2671 /* ~Your terms are acceptable. I agree.~ */ GOTO 9
  IF ~  False()
~ THEN REPLY #2672 /* ~Why not do this yourself? You do not seem as powerless as your plea makes you sound.~ */ GOTO 7
  IF ~~ THEN REPLY #2677 /* ~Bah! This petty larceny is beneath me! I'll have none of it!~ */ GOTO 1
END

IF ~~ THEN BEGIN 8 // from: 24.2 23.2 8.0 7.0 6.2
  SAY #2654 /* ~Would that I did have magical items strewn about the place. Were it so, I could simply sell them and pay you gold. It is not as though they are cheap to come by. As it is, you must take the offer as is or not at all. I trust you understand, no?~ */
  IF ~  False()
~ THEN REPLY #2673 /* ~Your offer is interesting, but I would prefer if it were larger. It's quite the risk you wish me to take.~ */ GOTO 8
  IF ~~ THEN REPLY #2674 /* ~Your terms are acceptable. I agree.~ */ GOTO 9
  IF ~~ THEN REPLY #2675 /* ~Why not do this yourself? You do not seem as powerless as your plea makes you sound.~ */ GOTO 7
  IF ~~ THEN REPLY #2676 /* ~Bah! This petty larceny is beneath me! I'll have none of it!~ */ GOTO 1
END

IF ~~ THEN BEGIN 9 // from: 24.1 23.1 8.1 7.1 6.1
  SAY #2655 /* ~Most agreeable! Already you show intelligence needed to succeed! I give you directions to Ragefast's abode, and you take it from there, yes? You will find Ragefast's home northeast of the Hall of Wonders. We meet at my home when you complete your mission. Do not tarry, for I have many plans. Let not the guard see you with the nymph. They will surely question her presence. I will expect you soon.~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
SetGlobal("HelpRamazith","GLOBAL",1)
MoveToPoint([3579.1462])
Unlock("DOOR0137")
OpenDoor("DOOR0137")
DialogueInterrupt(TRUE)
SetGlobal("CloseDoor0137","GLOBAL",1)
EscapeAreaMove("AR0137",328,234,S)
~ UNSOLVED_JOURNAL #26809 /* ~The Captive Nymph
A mage named Ragefast holds a nymph prisoner, and we have agreed to liberate her for the mage Ramazith. Ragefast awaits us at his home, just northeast of the Hall of Wonders.~ */ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 11 13 16 21 22 even though they appear after this state */
~  Global("HelpRamazith","GLOBAL",1)
!PartyHasItem("MISC68")
~ THEN BEGIN 10 // from:
  SAY #2656 /* ~I must insist that you do not tarry in my home, but rather go find Ragefast and acquire the captured nymph. We are of understanding, yes?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 21 even though they appear after this state */
~  Global("HelpRamazith","GLOBAL",1)
OR(2)
Dead("Abela")
Global("AbelaNotExists","GLOBAL",1)
~ THEN BEGIN 11 // from:
  SAY #2657 /* ~I see that you have returned, yes? You need not say that you have betrayed me, for I scry and spy! Certainly you are foolish to have come here after breaking our deal! I have many spells waiting for parts of nymph, and will be a long time looking for another. An expensive delay you have cost me, and compensation be from your hide! Come get me at the top, if you dare!~ */
  IF ~~ THEN DO ~EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
EraseJournalEntry(26808)
Enemy()
ForceSpellPoint([169.147],QUICK_TELEPORT)
EscapeAreaMove("AR0138",169,147,SSE)
~ EXIT
END

IF WEIGHT #8 /* Triggers after states #: 13 16 21 22 even though they appear after this state */
~  Global("HelpRamazith","GLOBAL",0)
OR(2)
Dead("Abela")
Global("AbelaNotExists","GLOBAL",1)
~ THEN BEGIN 12 // from:
  SAY #2658 /* ~You! A foolish turn to have broken into my home... Ahhh, I recognize you; I've heard of your... doings regarding Ragefast and that precious nymph of his! I had many plans for that creature, and to think I was even going to ask for your assistance. Regardless, you shall pay! Come get me at the top, if you dare!~ */
  IF ~~ THEN DO ~SetGlobal("HelpRamazith","GLOBAL",5)
Enemy()
ForceSpellPoint([169.147],QUICK_TELEPORT)
EscapeAreaMove("AR0138",169,147,SSE)
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 21 even though they appear after this state */
~  Global("HelpRamazith","GLOBAL",1)
PartyHasItem("MISC68")
~ THEN BEGIN 13 // from:
  SAY #2659 /* ~A profitable day for both our interests! A service of immense proportions you have served me!~ */
  IF ~~ THEN DO ~SetGlobal("RagefastDead","GLOBAL",1)
SetGlobal("HelpRamazith","GLOBAL",2)
TakePartyItem("MISC68")
DestroyItem("MISC68")
CreateCreature("ABELA",[376.228],SW)
ActionOverride("Abela",Wait(1))
ActionOverride("Abela",StartDialogNoSet([PC]))
~ EXIT
END

IF ~~ THEN BEGIN 14 // from:
  SAY #2660 /* ~No, child, you need not worry your pretty little head. In but a tenday, you will no longer be here, or anywhere. I would have a word with your "liberators" a moment. Wait there, please.~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #2661 /* ~A job done well in every respect, and no finer a specimen could I have wished for. By far, she is the most elusive spell component I have ever had to seek. Her body will yield a score of human control potions, as well as at least two or three items of "command"! I am assured wealth for this season and next at the very least, and I have you to thank. You please have this item and enjoy, yes. It is a good thing you do here today. Show yourselves out, I have much work to attend to.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ GOTO 25
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ EXTERN ~KIVANJ~ 426
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ EXTERN ~KHALIJ~ 148
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ EXTERN ~JAHEIJ~ 447
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ GOTO 29
  IF ~Global("X#RAMAZI15","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#RAMAZI15","GLOBAL",1)~ EXTERN ~KIVANJ~ 430
END

IF WEIGHT #5 /* Triggers after states #: 21 even though they appear after this state */
~  !Global("HelpRamazith","GLOBAL",6)
OR(2)
Global("HelpRamazith","GLOBAL",3)
GlobalTimerExpired("Ramazith","GLOBAL")
~ THEN BEGIN 16 // from:
  SAY #2662 /* ~Why have you remained in my home?! Have I not paid as we agreed? I must have solitude, so I ask you again and you go, yes?~ */
  IF ~~ THEN REPLY #2732 /* ~My apologies, Ramazith. I will disturb you no further.~ */ GOTO 20
  IF ~~ THEN REPLY #2733 /* ~Am I to understand that you plan to dissect this creature?~ */ GOTO 18
  IF ~~ THEN REPLY #2734 /* ~Your intentions are diabolical! Release Abela at once, or face my wrath!~ */ GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 18.1 16.2
  SAY #2663 /* ~Oh, you have named it! How cute. No longer useful you are, and I'll not suffer your pining for your pet! Intruders in my home! Deadly self-defense! Come battle me at the top, if you dare!~ */
  IF ~~ THEN DO ~SetGlobal("RamazithMove","GLOBAL",3)
Enemy()
ForceSpellPoint([169.147],QUICK_TELEPORT)
ActionOverride("Abela",DestroySelf())
EscapeAreaMove("AR0138",169,147,SSE)
~ EXIT
END

IF ~~ THEN BEGIN 18 // from: 16.1
  SAY #2664 /* ~Her beauty is priceless in the eyes, but bottled and powdered it is gold in my coffer!~ */
  IF ~~ THEN REPLY #2736 /* ~My apologies, Ramazith. I will disturb you no further.~ */ JOURNAL #6572 /* ~Ramazith plans to use the nymph Abela as spell components for many of his spells.~ */ GOTO 20
  IF ~~ THEN REPLY #2737 /* ~Your intentions are diabolical! Release Abela at once, or face my wrath!~ */ JOURNAL #6572 /* ~Ramazith plans to use the nymph Abela as spell components for many of his spells.~ */ GOTO 17
  IF ~~ THEN REPLY #2738 /* ~You must realize that this is an abomination worse than keeping her caged! Do not do this!~ */ JOURNAL #6572 /* ~Ramazith plans to use the nymph Abela as spell components for many of his spells.~ */ GOTO 19
END

IF ~~ THEN BEGIN 19 // from: 18.2
  SAY #2665 /* ~She is a resource to be tapped! If you would stand before me, it is you who will be stopped! The guard will see your charred and dead bodies as bandits in my home! Come find me at the top, if you dare!~ */
  IF ~~ THEN DO ~SetGlobal("RamazithMove","GLOBAL",3)
Enemy()
ForceSpellPoint([169.147],QUICK_TELEPORT)
ActionOverride("Abela",DestroySelf())
EscapeAreaMove("AR0138",169,147,SSE)
~ EXIT
END

IF ~~ THEN BEGIN 20 // from: 18.0 16.0
  SAY #2735 /* ~Be sure you do not. Good eve to you.~ */
  IF ~~ THEN DO ~SetGlobalTimer("Ramazith","GLOBAL",20)
~ EXIT
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 21 // from:
  SAY #6110 /* ~I'm your best friend! It's a strange feeling being friends with such as you; after all, you're far beneath me in intellect and possess very few good mannerisms. I doubt I can tell you much that you would find useful; most of my work is far beyond your limited perceptions. I'm sorry that I could not be more useful as a friend.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~  Global("HelpRamazith","GLOBAL",6)
~ THEN BEGIN 22 // from:
  SAY #6111 /* ~So close was I to tapping her resources, but she proved brittle and as a result was of no further use; so now I must look for another. Maybe... no. I have no time to waste with you right now, so could you kindly be on your way?~ */
  IF ~~ THEN DO ~Enemy()
ForceSpellPoint([169.147],QUICK_TELEPORT)
EscapeAreaMove("AR0138",169,147,SSE)
~ EXIT
END

IF ~~ THEN BEGIN 23 // from: 6.11
  SAY #50427 /* ~Exactly. Will you help me... put matters right?~ */
  IF ~~ THEN REPLY #2647 /* ~Why not do this yourself? You do not seem as powerless as your plea makes you sound.~ */ GOTO 7
  IF ~~ THEN REPLY #2648 /* ~Your terms are acceptable. I agree.~ */ GOTO 9
  IF ~~ THEN REPLY #2668 /* ~Your offer is interesting, but I would prefer if it were larger. It's quite the risk you wish me to take.~ */ GOTO 8
  IF ~~ THEN REPLY #2678 /* ~Bah! This petty larceny is beneath me! I'll have none of it!~ */ GOTO 1
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~ELDOTJ~ 139
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 228
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~ELDOTJ~ 138
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 227
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 424
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 445
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~VICONJ~ 258
END

IF ~~ THEN BEGIN 24 // from:
  SAY #50427 /* ~Exactly. Will you help me... put matters right?~ */
  IF ~~ THEN REPLY #2647 /* ~Why not do this yourself? You do not seem as powerless as your plea makes you sound.~ */ GOTO 7
  IF ~~ THEN REPLY #2648 /* ~Your terms are acceptable. I agree.~ */ GOTO 9
  IF ~~ THEN REPLY #2668 /* ~Your offer is interesting, but I would prefer if it were larger. It's quite the risk you wish me to take.~ */ GOTO 8
  IF ~~ THEN REPLY #2678 /* ~Bah! This petty larceny is beneath me! I'll have none of it!~ */ GOTO 1
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~ELDOTJ~ 141
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 230
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~ELDOTJ~ 140
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 229
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 425
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 446
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~VICONJ~ 259
END

IF ~~ THEN BEGIN 25 // from: 15.1
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END

IF ~~ THEN BEGIN 26 // from:
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END

IF ~~ THEN BEGIN 27 // from:
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END

IF ~~ THEN BEGIN 28 // from:
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END

IF ~~ THEN BEGIN 29 // from: 15.5
  SAY #49766 /* ~Oh, hush.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 30
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 429
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~KHALIJ~ 150
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 448
END

IF ~~ THEN BEGIN 30 // from: 29.1
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END

IF ~~ THEN BEGIN 31 // from:
  SAY #49766 /* ~Oh, hush.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 32
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 431
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~KHALIJ~ 151
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 449
END

IF ~~ THEN BEGIN 32 // from: 31.1
  SAY #50437 /* ~I have already taken her. She is mine, now.~ */
  IF ~~ THEN DO ~SetGlobalTimer("AbelaTenDaysMove","GLOBAL",TEN_DAYS)
GiveItem("BRAC02",LastTalkedToBy)
SetGlobalTimer("Ramazith","GLOBAL",15)
SetGlobal("HelpRamazith","GLOBAL",3)
EraseJournalEntry(26806)
EraseJournalEntry(26808)
EraseJournalEntry(27384)
EraseJournalEntry(26809)
~ SOLVED_JOURNAL #27385 /* ~The Captive Nymph
What's the life of one captive nymph compared to more treasure for me? Ramazith has Abela, and I have his reward.
~ */ EXIT
END
