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

BEGIN ~_AMNIS3~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 2 even though they appear after this state */
~Global("EmersonPermission","GLOBAL",1)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 0 // from:
  SAY #77257 /* ~I wish you guys luck in there.  Whatever's been causing all the trouble isn't something I'd wanna run into.~ */
  IF ~~ THEN DO ~Shout(1)
~ EXIT
  IF ~Global("X#GarAmnis3","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarAmnis3","GLOBAL",1)~ EXTERN ~_GARRIJ~ 52
END

IF WEIGHT #2 /* Triggers after states #: 2 even though they appear after this state */
~Global("EmersonPermission","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #77258 /* ~You guys really should get permission from Emerson 'fore you enter the mines.  He can get really nasty 'bout unauthorized guys wandering 'bout his mines.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #77259 /* ~Investigating the Nashkel mines

The guards at the mine entrance told me that I have to see a man named Emerson before they will let me into the mines.~ */ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 2 // from:
  SAY #77260 /* ~Hey friend, all I know is that there's been trouble in the mines, some sort of dog-people I've heard.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #77261 /* ~Investigating the Nashkel mines

When I charmed a guard, he told me that 'dog people' were attacking miners in the lower levels.~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY #77262 /* ~Approach me not!  I'll ruffle you up, I will!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #100075 /* ~Good luck!~ */
  IF ~~ THEN DO ~Shout(1)
~ EXIT
END
