// creator  : weidu.exe (version 23600)
// argument : AMNIS4.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF ~~ THEN BEGIN 0 // from:
  SAY #763 /* ~You there, you should not be here! You should see the foreman, Emerson.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 3 4 5 6 7 8 9 even though they appear after this state */
~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 1 // from:
  SAY #5753 /* ~I'm just yer average guard. I don't wanna run into those dog people who've been killin' everyone.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #26840 /* ~Investigating the Nashkel Mines
I charmed a guard who said that "dog people" were attacking miners in the lower levels.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from:
  SAY #8910 /* ~You've come back to speak with me? Fool! You get nothing but the point of my sword!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  RandomNum(7,1)
~ THEN BEGIN 3 // from:
  SAY #13947 /* ~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 #1 ~  RandomNum(7,2)
~ THEN BEGIN 4 // from:
  SAY #13948 /* ~You make one move that be suspicious, and I swear your head will leave the mines before your neck.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~  RandomNum(7,3)
~ THEN BEGIN 5 // from:
  SAY #13949 /* ~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 #3 ~  RandomNum(7,4)
~ THEN BEGIN 6 // from:
  SAY #13950 /* ~Some of the younger guards may be nervous because of what's been going on, but I've been around a bit. Kobold tracks down there. Lots of 'em.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~  RandomNum(7,5)
~ THEN BEGIN 7 // from:
  SAY #13951 /* ~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 #5 ~  RandomNum(7,6)
~ THEN BEGIN 8 // from:
  SAY #13952 /* ~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 #6 ~  RandomNum(7,7)
~ THEN BEGIN 9 // from:
  SAY #13953 /* ~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
