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

BEGIN ~TRFUED01~

IF ~Global("feudplot","GLOBAL",0)
!Dead("cefald01")~ THEN BEGIN 0 // from:
  SAY #43704 /* ~You are a stranger here in Trademeet, and you have entered my home unwelcome.  Begone with you, before I tell my guards to throw you out!~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",0)
Dead("cefald01")~ THEN BEGIN 1 // from:
  SAY #43705 /* ~You may be something of a hero here in Trademeet, but I am Lady Lilith Lurraxol... and you shall not enter my home uninvited.  Please leave immediately.~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",1)
Global("alibakkarjob","GLOBAL",0)
Global("lurraxoljob","GLOBAL",0)
Global("lurraxolrefused","GLOBAL",0)
!Dead("trfued05")~ THEN BEGIN 2 // from:
  SAY #43708 /* ~Ah!  It is the hero of Trademeet, come to see me at last.  I trust that all is well?  That pig, Skarmaen, did not speak too harshly about me, I trust?  No matter.  He is a stubborn, deluded fool.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #43709 /* ~Our families have been at odds for generations, you see.  The Alibakkars refuse to acknowledge the fact that we are the only true noble family in Trademeet, having founded it.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #43710 /* ~Why they would think themselves higher than they are is beyond my ken.  What is unfortunate, however, is that my family has never had actual, physical proof of the truth of our claim.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #43711 /* ~That has changed, however.  A tome has recently been uncovered... an old tome belonging to my family... that states there is proof right here in Trademeet under our noses.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #43712 /* ~In the graveyard tomb, here in town, lies the crypt of the founder... my ancestor.  With him lies the Mantle of Waukeen.  A pretty name for an old gold circlet.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #43713 /* ~That circlet, however, would prove my claim once and for all and shut those Alibakkars up.  I would get it myself, but the tomb is haunted, you see.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #43714 /* ~You are a hero who might enter that tomb and retrieve the circlet for me, if you are willing.  In return, I will pay you 1,000 gold.  What do you say, my <LADYLORD>?~ */
  IF ~~ THEN REPLY #43715 /* ~Very well... I will try my best.~ */ GOTO 9
  IF ~~ THEN REPLY #43716 /* ~I think a larger reward is required, here.~ */ GOTO 10
  IF ~~ THEN REPLY #43718 /* ~I'm not sure about disturbing a tomb or the buried dead...~ */ GOTO 11
  IF ~~ THEN REPLY #43719 /* ~No, I don't think so.~ */ GOTO 12
END

IF ~~ THEN BEGIN 9 // from: 14.0 11.0 10.0 8.0
  SAY #43720 /* ~Excellent!  Here is the key to the tomb... the fact that we possess it yet more proof of our legitimacy.  Use it to enter and obtain the mantle, and then return to me when you are done.~ */
  IF ~~ THEN DO ~SetGlobal("lurraxoljob","GLOBAL",1)
GiveItemCreate("misc8m",LastTalkedToBy(),0,0,0)~ UNSOLVED_JOURNAL #6592 /* ~The Dueling Families of Trademeet

I have agreed to enter a tomb here in Trademeet that apparently contains a gold circlet named the Mantle of Waukeen, which will prove Lady Lilith's claim of her family being the only true nobility in the town.  She has given me a key to the tomb and warns me that it is haunted... I am to return with the circlet once I get it.~ */ EXIT
END

IF ~~ THEN BEGIN 10 // from: 14.1 11.1 8.1
  SAY #43721 /* ~I am sure there are riches enough for you in the tomb.  Alibakkar will pay you no more, of that you can be certain, and a thousand gold is more than adequate for a rusted circlet!~ */
  IF ~~ THEN REPLY #43722 /* ~Alright, then.  I'll retrieve this mantle for you.~ */ GOTO 9
  IF ~~ THEN REPLY #43724 /* ~I'm still not sure about desecrating a tomb and the buried dead, however...~ */ GOTO 11
  IF ~~ THEN REPLY #43723 /* ~Forget it, then.  I haven't the time.~ */ GOTO 12
END

IF ~~ THEN BEGIN 11 // from: 14.2 10.1 8.2
  SAY #43725 /* ~The tomb was abandoned long ago because of this... haunting problem.  I'm positive the town will look upon it as yet another favor done by you.  And, trust me, my ancestor would want me to have the mantle!~ */
  IF ~~ THEN REPLY #43726 /* ~Very well.  I'll do it.~ */ GOTO 9
  IF ~~ THEN REPLY #43727 /* ~I think a larger payment is necessary.~ */ GOTO 10
  IF ~~ THEN REPLY #43728 /* ~No, I don't think so.~ */ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 14.3 11.2 10.2 8.3
  SAY #43729 /* ~(sigh)  If that's how you want to be, then fine.  Do come back if you change your mind, <GABBER>.  But if you go to that Alibakkar with this, you'll no longer be welcome here, I can assure you of that!~ */
  IF ~~ THEN DO ~SetGlobal("lurraxolrefused","GLOBAL",1)~ EXIT
END

IF ~Global("feudplot","GLOBAL",1)
Global("alibakkarjob","GLOBAL",1)~ THEN BEGIN 13 // from:
  SAY #43730 /* ~I have heard of your deal with that pig, Skarmaen!  You are a fool to work for him!  Begone from my home!!~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",1)
Global("alibakkarjob","GLOBAL",0)
Global("lurraxoljob","GLOBAL",0)
Global("lurraxolrefused","GLOBAL",1)
!Dead("trfued05")~ THEN BEGIN 14 // from:
  SAY #43731 /* ~Mmm... have you changed your mind, <GABBER>?  A thousand gold, easily earned for such a skilled adventurer such as yourself.~ */
  IF ~~ THEN REPLY #43732 /* ~Alright... I'll do as you ask.~ */ GOTO 9
  IF ~~ THEN REPLY #43733 /* ~I think a larger payment is needed to change my mind.~ */ GOTO 10
  IF ~~ THEN REPLY #43734 /* ~I am still not sure about desecrating a tomb.~ */ GOTO 11
  IF ~~ THEN REPLY #43735 /* ~No, I don't think so.~ */ GOTO 12
END

IF ~Global("feudplot","GLOBAL",1)
Global("alibakkarjob","GLOBAL",0)
Global("lurraxoljob","GLOBAL",1)
!PartyHasItem("misc8l")~ THEN BEGIN 15 // from:
  SAY #43736 /* ~<GABBER>!  It is good to see you once again.  Do you have the Mantle of Waukeen with you?  I have been waiting anxiously to see it.~ */
  IF ~~ THEN REPLY #43737 /* ~No, I don't have it, yet, but I intend to get it.~ */ GOTO 16
  IF ~False()~ THEN REPLY #43738 /* ~No, I don't have it... and I'm not going to get it, either.~ */ GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #43739 /* ~Ah.  I am a little disappointed, but I am glad that you intend to continue.  I will wait a little longer, I suppose.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 15.1
  SAY #43740 /* ~What?!  You are very rude, even for a commoner.  Very well, if that is how you wish to be, I cannot stop you.  If you change your mind, do come and speak to me again.~ */
  IF ~~ THEN DO ~SetGlobal("lurraxoljob","GLOBAL",0)
SetGlobal("lurraxolrefused","GLOBAL",1)~ EXIT
END

IF ~Global("feudplot","GLOBAL",1)
Global("alibakkarjob","GLOBAL",0)
Global("lurraxoljob","GLOBAL",1)
PartyHasItem("misc8l")~ THEN BEGIN 18 // from:
  SAY #43787 /* ~<GABBER>!  It is good to see you once again!  Do you... have... aaaah.  I see that you do possess the mantle.  For such an old object, it has retained much of its beauty, yes?~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 19 // from: 18.0
  SAY #43791 /* ~This is a glorious day!  Finally that pig-headed Skarmaen will see that the Lurraxols are the true noble family of Trademeet... and the Alibakkars nothing but well-dressed peasants!~ */
  IF ~~ THEN DO ~GiveGoldForce(1000)
StartCutSceneMode()
StartCutScene("Cut35L")~ EXIT
END

IF ~~ THEN BEGIN 20 // from: TRFUED05:18.0
  SAY #43796 /* ~Stolen it?!  It was with the body of the founder of Trademeet... my ancestor!  The circlet belongs to me!~ */
  IF ~~ THEN EXTERN ~TRFUED05~ 19
END

IF ~~ THEN BEGIN 21 // from: TRFUED05:19.0
  SAY #43798 /* ~Don't be ridiculous!  The founder was part of MY family!~ */
  IF ~~ THEN EXTERN ~TRFUED05~ 20
END

IF ~~ THEN BEGIN 22 // from: TRFUED05:20.0
  SAY #43800 /* ~No, it is you who are wrong!  YOU shall never have it!  The Lurraxols are the only true nobles, here!  <CHARNAME>... I command you to give it to me NOW!~ */
  IF ~~ THEN EXTERN ~TRFUED05~ 21
END

IF ~~ THEN BEGIN 23 // from: TRFUED05:21.0
  SAY #43802 /* ~You won't get it, Skarmaen!  I'll take it from the hero's dead hands before I let you have it!~ */
  IF ~~ THEN EXTERN ~TRFUED05~ 22
END

IF ~Global("alibakkarjob","GLOBAL",2)
Global("feudplot","GLOBAL",2)
~ THEN BEGIN 24 // from:
  SAY #43806 /* ~Did you think I would be so stupid as to allow you to plunder my ancestor's grave unnoticed?!  I had the hero watched, naturally!  You will not get away with this!~ */
  IF ~~ THEN EXTERN ~TRFUED05~ 19
END

IF ~Global("feudplot","GLOBAL",0)
Dead("trfued05")
Global("trftow04talk01","LOCALS",0)
~ THEN BEGIN 25 // from:
  SAY #43807 /* ~Ahhh... you are the one who has killed our dear Lord Skarmaen, no?  You may not have known it, dear <MANWOMAN>, but our families have always been at odds here in Trademeet.~ */
  IF ~~ THEN DO ~SetGlobal("trftow04talk01","LOCALS",1)
~ GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #43808 /* ~And now the fool is dead, as he deserves.  No doubt Lord Logan will be most displeased with your actions, but I am not.~ */
  IF ~~ THEN GOTO 27
END

IF ~~ THEN BEGIN 27 // from: 26.0
  SAY #43809 /* ~Here, then, is a reward for your service... whether it was asked for or not.  And I thank you, good <MANWOMAN>, once again.  I trust your journeys will go well.~ */
  IF ~~ THEN DO ~GiveGoldForce(2000)
SetGlobal("feudplot","GLOBAL",3)~ EXIT
END

IF ~Global("feudplot","GLOBAL",1)
Dead("trfued05")
Global("trftow04talk02","LOCALS",0)
~ THEN BEGIN 28 // from:
  SAY #43810 /* ~Ahhh... you are the one who has killed our dear Lord Skarmaen, no?  You have, no doubt, heard of the feud between our families.  Skarmaen was convinced that the Alibakkars were the founding family of Trademeet.~ */
  IF ~~ THEN DO ~SetGlobal("trftow04talk02","LOCALS",1)
~ GOTO 29
END

IF ~~ THEN BEGIN 29 // from: 28.0
  SAY #43811 /* ~I had asked you to come here to recover proof for my family of that fact, but it is needed no longer.  Still, a reward is due for your kind actions.~ */
  IF ~~ THEN DO ~GiveGoldForce(2000)
SetGlobal("feudplot","GLOBAL",3)~ GOTO 30
END

IF ~~ THEN BEGIN 30 // from: 29.0
  SAY #43812 /* ~Despite what Lord Logan might think, I appreciate what you have done.  May your journeys go well, my good <MANWOMAN>.~ */
  IF ~~ THEN DO ~EraseJournalEntry(6592)
EraseJournalEntry(7021)
EraseJournalEntry(7264)
EraseJournalEntry(10119)~ SOLVED_JOURNAL #6550 /* ~The Dueling Families of Trademeet

Lady Lilith Lurraxol was quite pleased with the killing of Lord Skarmaen, and has rewarded me for the deed.  Lord Logan Coprith, however, will likely not be so happy with my actions.~ */ EXIT
END

IF ~Global("feudplot","GLOBAL",3)~ THEN BEGIN 31 // from:
  SAY #43813 /* ~Greetings, my good <MANWOMAN>.  You are welcome in my home, for now, due to your past services for my family.  Do not... make yourself too comfortable, however.~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",2)
Global("loganmantle","GLOBAL",2)~ THEN BEGIN 32 // from:
  SAY #47102 /* ~Begone from my sight, <CHARNAME>.  You have given the mantle... my own family's property... to Lord Logan.  He has no right to it, and you are a fool... and not welcome in my home.~ */
  IF ~~ THEN EXIT
END
