// creator  : weidu.exe (version 23600)
// argument : ORDULI.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF ~~ THEN BEGIN 0 // from:
  SAY #15036 /* ~Ah, lowly adventurers. The roads of this fair city are lined with fools, are they not?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 1 // from:
  SAY #15037 /* ~Ah, weary adventurers. The roads of this fair city are lined with fools, are they not? And two of the greatest are Arkion and Nemphre, necromancers fighting over trinkets and baubles of little use or value. I assure you, they are more trouble than they are worth. You are better off steering clear of them.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #27320 /* ~Arkion and Nemphre
The priest Ordulinian has passed on a strange warning regarding two necromancers engaged in a longstanding but petty feud. Their names are Arkion and Nemphre, and I have been advised to steer clear of their meddling while in Baldur's Gate.~ */ EXIT
END

IF WEIGHT #1 ~  Global("HelpOrdulinian","GLOBAL",0)
ReputationGT(LastTalkedToBy,14)
~ THEN BEGIN 2 // from:
  SAY #15038 /* ~Ah, fair adventurers. The roads of this fair city are lined with fools, are they not? Two of the greatest are Arkion and Nemphre, necromancers grown bitter over lost love. Alas, but they use petty trinkets as their excuse for enmity. Nemphre covets Arkion's bloodstone amulet and Arkion dreams of her onyx ring. Steal those trinkets and bring them to me and perhaps those two fools can at last find peace.~ */
  IF ~~ THEN DO ~SetGlobal("HelpOrdulinian","GLOBAL",1)
~ UNSOLVED_JOURNAL #27321 /* ~Arkion and Nemphre
Ordulinian has told me the tale of two of Baldur's Gate's greatest fools, necromancers, and ex-lovers, Nemphre and Arkion. He appears to have grown tired of their endless feuding, and has asked me to bring Arkion's bloodstone amulet and Nemphre's onyx ring to him so that their dispute might be settled once and for all. I can find Ordulinian at the Sorcerous Sundries.~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 5 even though they appear after this state */
~  Global("HelpOrdulinian","GLOBAL",1)
~ THEN BEGIN 3 // from:
  SAY #15039 /* ~So, how fare our dear Nemphre and Arkion?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~  Global("HelpOrdulinian","GLOBAL",1)
PartyHasItem("OHAMUL13")
PartyHasItem("OHRING12")
~ THEN BEGIN 4 // from:
  SAY #15040 /* ~Ah, the bloodstone amulet of Arkion and Nemphre's onyx ring. I hope no blood was shed to get these for that may yet rest heavy on your conscience. Fools are to be suffered in this world, not slaughtered. Be what may, at least they may find some peace. As for these trinkets, you might as well sell them somewhere as they are of little use to anyone. For your troubles I will give you this cloak. It may be of some use to you in the future.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27318)
EraseJournalEntry(27319)
EraseJournalEntry(27320)
EraseJournalEntry(27321)
TakePartyItem("OHAMUL13")
GiveItemCreate("AMUL13",LastTalkedToBy,0,0,0)
TakePartyItem("OHRING12")
GiveItemCreate("RING12",LastTalkedToBy,0,0,0)
GiveItemCreate("CLCK06",LastTalkedToBy,0,0,0)
SetGlobal("HelpOrdulinian","GLOBAL",2)
AddexperienceParty(3500)
~ SOLVED_JOURNAL #27343 /* ~Arkion and Nemphre
For Nemphre's onyx ring and Arkion's bloodstone amulet, Ordulinian of Sorcererous Sundries traded me a nice magical cloak.~ */ EXIT
END

IF WEIGHT #3 ~  False()
~ THEN BEGIN 5 // from:
  SAY #15041 /* ~Fools are to be suffered, not slaughtered. I have not taken your life and I suggest you learn from my example.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 ~  True()
~ THEN BEGIN 6 // from:
  SAY #15042 /* ~Peace, my friends. Suffer it gladly.~ */
  IF ~~ THEN EXIT
END
