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

BEGIN ~_QUINN~

IF ~~ THEN BEGIN 0 // from:
  SAY #79404 /* ~I'd rather not talk to anyone, right now.~ */
  IF ~~ THEN EXIT
END

IF ~Global("HelpQuinn","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #79405 /* ~There's some ankhegs causin' chaos upriver, alon' the east bank, just north 'o that bitch priestess. They took down my pal, Nester, and dang near hauled me under, too. 'At's why I'm so glum now. Nester's mama's gonna want somepin' of 'is to bury but I'm still gettin' too many nightmares and all to go back there.~ */
  IF ~~ THEN DO ~SetGlobal("HelpQuinn","GLOBAL",1)
~ UNSOLVED_JOURNAL #79406 /* ~Quinn's friend

A young gnome by the name of Quinn informs me that some ankhegs have been causing chaos upriver from Baldur's Gate, along the east bank, just north of the witch Tenya's home.  His friend Nester has already met his fate in their midst, and Quinn has asked me to return there in the hopes of finding something for the burial.  To be honest, I don't expect there'll be too much of Nester left... but the boy is grieving, so I will do as asked.  Quinn can be found in the northwest section of the city.~ */ EXIT
  IF ~Global("X#QUINN1","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#QUINN1","GLOBAL",1)~ EXTERN ~_KIVANJ~ 413
  IF ~Global("X#QUINN1","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#QUINN1","GLOBAL",1)~ EXTERN ~_AJANTJ~ 297
END

IF ~PartyHasItem("_DAGG06")
Global("HelpQuinn","GLOBAL",1)
~ THEN BEGIN 2 // from:
  SAY #79407 /* ~'At's Nester's dagger you got there! I saw 'im drive it between the plates of 'at ankheg 'afore it pulled 'im under. 'Ere, take this gem of mine. We 'ad come to the city to pawn it 'afore things all went wrong. (Sniff) 'Is momma's gonna be real grateful to ya.~ */
  IF ~~ THEN DO ~EraseJournalEntry(79406)
TakePartyItem("_DAGG06")
GiveItemCreate("_MISC32",LastTalkedToBy,0,0,0)
SetGlobal("HelpQuinn","GLOBAL",2)
AddexperienceParty(950)
ReputationInc(1)
~ SOLVED_JOURNAL #88979 /* ~Quinn's friend

Surprisingly, I was actually able to locate something of Nester's for young Quinn.  I recovered a dagger which, Quinn informed me, Nester had thrust into the ankheg before being pulled down to his death.  Quinn rewarded me with the very gem he and Nester had been intending to pawn before disaster struck.~ */ EXIT
END

IF ~Global("HelpQuinn","GLOBAL",1)
~ THEN BEGIN 3 // from:
  SAY #79408 /* ~I'm real sorry for troublin' you last time with 'at awful story 'bout Nester and the ankhegs. It's all true but it ain't right to foist all your troubles on other people like that. I hopes ya don't think I did wrong...~ */
  IF ~~ THEN EXIT
END

IF ~False()
~ THEN BEGIN 4 // from:
  SAY #79409 /* ~The ankhegs are comin'! The ankhegs are comin'!~ */
  IF ~~ THEN EXIT
END

IF ~True()
~ THEN BEGIN 5 // from:
  SAY #79410 /* ~Nester's momma says you done good... And I ain't gettin' no nightmares 'bout them ankhegs anymore, neither. Just wish Nester coulda known ya.~ */
  IF ~~ THEN EXIT
END
