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

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

IF WEIGHT #1 /* Triggers after states #: 1 even though they appear after this state */
~Global("EmersonPermission","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #77299 /* ~You there, you should not be here!  You should see the foreman, Emerson.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 1 // from:
  SAY #77300 /* ~I'm just yer average guard.  I don't wanna run into those dog people who've been killin' everyone.~ */
  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 2 // from:
  SAY #77301 /* ~You've come back to speak with me?  Fool!  You get nothing but the point of my sword!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~RandomNum(7,1)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 3 // from:
  SAY #77302 /* ~I should watch your step amidst the mine guards.  They're just itchin' for an enemy they can see.  Tired o' this accursed cat n' mouse with whoever is below.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~RandomNum(7,2)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 4 // from:
  SAY #77303 /* ~You make one move that be suspicious and I swear your head will leave the mine before your neck.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~RandomNum(7,3)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 5 // from:
  SAY #77304 /* ~Don't know what's been happening to the ore, and I don't rightly care.  I'm here to protect the miners and that DON'T include poking around in the depths.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 ~RandomNum(7,4)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 6 // from:
  SAY #77305 /* ~Some of the younger guards might be nervous because of what's be going on, But I've been around a bit.  Kobold tracks down there.  Lots of 'em.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~RandomNum(7,5)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 7 // from:
  SAY #77306 /* ~Smelled a Kobold the other day and chased him down as far as I dared.  Let 'em have their dank holes if they want.  Nothin' but a nuisance on their own, anyway.  Too stupid to be behind what's going on.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 ~RandomNum(7,6)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 8 // from:
  SAY #77307 /* ~I was on deep patrol yesterday.  Saw the body of one of the miners that was lost weeks ago.  Scary thing was... it saw ME too.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 ~RandomNum(7,7)
GlobalLT("Chapter","GLOBAL",3)
~ THEN BEGIN 9 // from:
  SAY #77308 /* ~I canna believe I'm reduced to wearing this shoddy armor.  Between you and me, I smuggled out some ore for a blacksmith friend to use.  Even that was plagued like the rest.~ */
  IF ~~ THEN EXIT
END
