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

BEGIN ~_KYLEE~

IF ~!PartyHasItem("_DAGG07")
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 0 // from:
  SAY #77375 /* ~I can't believe I lost my dagger.  Hey there!  You're more adventurers huh? My name's Kylee, and I gotta say it's good to have some armed people down here.  Well I hope you do better than the last bunch.  Gods be damned, I lost my dagger, and with all that's been going on, I feel kinda naked without it.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #77325 /* ~Investigating the Nashkel mines

Other adventurers have apparently tried to clear out the mines, with little success.~ */ EXIT
  IF ~Global("X#ImoenKylee1","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenKylee1","GLOBAL",1)~ EXTERN ~_IMOEN2~ 194
END

IF ~PartyHasItem("_DAGG07")
~ THEN BEGIN 1 // from:
  SAY #77376 /* ~You have my dagger? Thank you so much, I was getting nervous down here being unarmed, with all the things going on.~ */
  IF ~GlobalGT("Chapter","GLOBAL",2)
~ THEN DO ~TakePartyItem("_DAGG07")
AddexperienceParty(200)
EraseJournalEntry(77355)
AddJournalEntry(88907,QUEST_DONE)
~ EXIT
  IF ~GlobalLT("Chapter","GLOBAL",3)
~ THEN REPLY #77377 /* ~What do you know about the happenings of the mine?~ */ DO ~TakePartyItem("_DAGG07")
AddexperienceParty(200)
EraseJournalEntry(77355)
AddJournalEntry(88907,QUEST_DONE)
~ GOTO 2
  IF ~Global("X#DynaheirKylee","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirKylee","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 87
END

IF ~~ THEN BEGIN 2 // from: 4.1 1.1
  SAY #77378 /* ~Kobolds! They're overrunning the place piece by piece. We used to see them occasionally but now you can't go more than a few feet without kicking one of them on the lower levels. It's not so bad up here with the guards around. Still, I wouldn't get caught in the dark if I were you.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #77379 /* ~Investigating the Nashkel mines

Kobolds are what have been killing the miners, though they seldom work alone.~ */ EXIT
END

IF ~True()
~ THEN BEGIN 3 // from:
  SAY #74685 /* ~Leave us be, there is much work to be done.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #99668 /* ~Every little bit helps!~ */
  IF ~GlobalGT("Chapter","GLOBAL",2)
~ THEN DO ~TakePartyItem("_DAGG07")
AddexperienceParty(200)
EraseJournalEntry(77355)
AddJournalEntry(88907,QUEST_DONE)
~ EXIT
  IF ~GlobalLT("Chapter","GLOBAL",3)
~ THEN REPLY #77377 /* ~What do you know about the happenings of the mine?~ */ DO ~TakePartyItem("_DAGG07")
AddexperienceParty(200)
EraseJournalEntry(77355)
AddJournalEntry(88907,QUEST_DONE)
~ GOTO 2
END
