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

BEGIN ~NOBL9~

IF ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #7995 /* ~The hunt for Valygar Corthala.

I have agreed to find a man named Valygar Corthala, a murderer who has killed two Cowled Wizards, and bring him dead or alive to Tolgerias in the government building in the Government District.  According to the wizard, Valygar holds a great hatred of magic... and since wizards are distrusted in the city in general, he feels I will have a far better chance than most in tracking down the man.
According to the wizard, Valygar comes from a noble family, and may be hiding in the city or outside.  One clue, at least, is that he has a house in the Docks district... perhaps a place to start looking.~ */
  IF ~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN REPLY #8008 /* ~What do you mean to say, Anomen?~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN REPLY #8009 /* ~The destruction of evil is never considered to be murder. Do not these knights that you seek to join take such missions themselves?~ */ GOTO 2
  IF ~ReactionLT(LastTalkedToBy(),FRIENDLY_LOWER)
~ THEN REPLY #8010 /* ~You fool boy! The magistrate will do nothing. She is a pawn of Saerk!~ */ GOTO 3
  IF ~ReactionGT(LastTalkedToBy(),NEUTRAL_UPPER)
~ THEN REPLY #8011 /* ~You dishonor Moira's memory! You would allow the killer of your sister to go free? You are despicable! You are an insect!~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy(),FRIENDLY_LOWER)
~ THEN REPLY #8012 /* ~How can you doubt such a thing, boy? Saerk is the killer!~ */ GOTO 7
  IF ~ReactionGT(LastTalkedToBy(),NEUTRAL_UPPER)
~ THEN REPLY #8013 /* ~The proof lies in that fact that he has taken everything else from me! Killing Moira would complete my defeat.~ */ GOTO 8
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #7996 /* ~Yes, I see you have a druid with you.  Jaheira, is it?  She will also be concerned, for she will know the danger of balance lost.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #7997 /* ~You have the ranger Minsc in your group. Likely he will also understand the danger of balance being lost, even though I have heard he has lost his own.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #7998 /* ~Then please continue your search. If attacks such as these are allowed to continue it threatens the balance of the whole region.~ */
  IF ~~ THEN DO ~SetGlobal("GoldenPantaloons","GLOBAL",1)
GiveItem("MISC47",LastTalkedToBy)
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #7999 /* ~That would be best.  I know many of the druids that once frequented this area.  Perhaps they will be sympathetic.  Come, we must hurry to the grove.~ */
  IF ~~ THEN DO ~SetGlobal("GoldenPantaloons","GLOBAL",1)
GiveItem("MISC47",LastTalkedToBy)
~ GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #8000 /* ~Do you know of them?  They have forsaken balance in favor of militant action.  They believe they follow the Earthmother but blood is not fitting tribute.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #8001 /* ~Aye, now I see. Such has always been the case in this household. This is about you and only you. Your daughter's death means nothing beyond how it affects your pride and your comfort.~ */
  IF ~~ THEN DO ~GivePartyGold(2)
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 0.4
  SAY #8002 /* ~I will not, father. I suggest no evil. I suggest the lawful path.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC47")
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 0.5
  SAY #8003 /* ~I have obeyed you all my life and received naught but bitterness in return. My friend and I shall take this matter to the magistrate, as the law requires.~ */
  IF ~~ THEN DO ~TakePartyItem("MISC47")
~ GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #8004 /* ~Don't do this, father...~ */
  IF ~~ THEN EXIT
END

IF ~PartyHasItem("MISC47")
Global("GoldenPantaloons","GLOBAL",1)
~ THEN BEGIN 10 // from:
  SAY #8005 /* ~I've been cowering at your feet for all my life. Goodbye, father. Perhaps I shall see you again before you drink yourself to death.~ [ANOMENB8] */
  IF ~~ THEN DO ~AddexperienceParty(100)
TakePartyItem("MISC47")
SetGlobal("GoldenPantaloons","GLOBAL",2)
~ EXIT
END

IF ~!PartyHasItem("MISC47")
Global("GoldenPantaloons","GLOBAL",1)
~ THEN BEGIN 11 // from:
  SAY #8006 /* ~Come, <CHARNAME>, let us leave... we should go and see the magistrate in the Council of Six building and see if anything can be done, despite father's venom.~ */
  IF ~~ THEN EXIT
END

IF ~Global("GoldenPantaloons","GLOBAL",0)
~ THEN BEGIN 12 // from:
  SAY #8007 /* ~You have seen the lifeless ashes of your sister, Anomen. Let not this terrible act go unpunished! Gird thy heart with righteous anger and slay thy sister's murderer!~ */
  IF ~~ THEN EXIT
END
