// creator  : weidu.exe (version 23100)
// argument : _GAXIR.DLG
// game		 : .
// source	 : ./override/_GAXIR.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~_GAXIR~

IF ~Global("HelpGaxir","GLOBAL",0)
CheckStatLT(LastTalkedToBy,4,LEVEL)
~ THEN BEGIN 0 // from:
  SAY #81245 /* ~You... will meet your doom, today, child...~ */
  IF ~~ THEN EXIT
  IF ~Global("X#XanGaxir1","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#XanGaxir1","GLOBAL",1)~ EXTERN ~_XANJ~ 122
END

IF ~Global("HelpGaxir","GLOBAL",0)
CheckStatLT(LastTalkedToBy,6,LEVEL)
~ THEN BEGIN 1 // from:
  SAY #81246 /* ~Your future... is hemmed in darkness. Your lives... are in the balance. Act wisely, act judiciously... and bring me the Sphene Gem, should you find it...~ */
  IF ~~ THEN DO ~SetGlobal("HelpGaxir","GLOBAL",1)
~ UNSOLVED_JOURNAL #81247 /* ~G'Axir the Seer

His sentences overwrought with emphatic hesitations, G'Axir the Seer has informed me that my future is hemmed in darkness.  His predictions are less than surprising...  In any event, he has asked me to bring him a sphene gem.  G'Axir can be found at the Blade and Stars.~ */ EXIT
END

IF ~Global("HelpGaxir","GLOBAL",0)
~ THEN BEGIN 2 // from:
  SAY #81248 /* ~You... are a light entering darkness. You... are a seeker of truths. You... are more than you realize. The Seer has spoken it because the Seer knows the fear you harbor, the fear you shall yet become. In the lair of the basilisk, you will find a Sphene Gem... You would do well to bring it to me.~ */
  IF ~~ THEN DO ~SetGlobal("HelpGaxir","GLOBAL",1)
~ UNSOLVED_JOURNAL #81247 /* ~G'Axir the Seer

His sentences overwrought with emphatic hesitations, G'Axir the Seer has informed me that my future is hemmed in darkness.  His predictions are less than surprising...  In any event, he has asked me to bring him a sphene gem.  G'Axir can be found at the Blade and Stars.~ */ EXIT
  IF ~Global("X#GarGax","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarGax","GLOBAL",1)~ EXTERN ~_GARRIJ~ 70
END

IF ~!PartyHasItem("_MISC37")
Global("HelpGaxir","GLOBAL",1)
~ THEN BEGIN 3 // from:
  SAY #81249 /* ~Ah... it is sometimes better to abandon one's destiny for a time... It will find you again soon enough.~ */
  IF ~~ THEN EXIT
END

IF ~PartyHasItem("_MISC37")
Global("HelpGaxir","GLOBAL",1)
~ THEN BEGIN 4 // from:
  SAY #81250 /* ~The Sphene Gem! Indeed, then... you are more than you appear. Someday, you must journey further through the muck and mire of this place for it will tell you as much or more than all of fabled Candlekeep... Like yourself, this city is more than it appears. There are cities below cities, dreams beneath dreams, the past laying buried beneath the crushing weight of the present... Go now, wanderer, for the time will come when you must walk through the darkness to find the light.~ */
  IF ~~ THEN DO ~EraseJournalEntry(81247)
SetGlobal("HelpGaxir","GLOBAL",2)
AddexperienceParty(1000)
TakePartyItem("_MISC37")
~ SOLVED_JOURNAL #88977 /* ~G'Axir the Seer

After I brought him the sphene gem that he had requested of me, G'Axir the Seer imparted unto me a cryptic prophecy... he told me that my future lies beyond the darkness found within "the muck and mire" of the city of Baldur's Gate.~ */ EXIT
END

IF ~False()
~ THEN BEGIN 5 // from:
  SAY #81251 /* ~You are still young and rash and too much of this world... It will be your death all to soon.~ */
  IF ~~ THEN EXIT
END

IF ~True()
~ THEN BEGIN 6 // from:
  SAY #81252 /* ~To define your future, you must know your past, wanderer...~ */
  IF ~~ THEN EXIT
END
