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

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

IF WEIGHT #5 /* Triggers after states #: 1 3 4 5 6 even though they appear after this state */
~  RandomNum(5,5)
~ THEN BEGIN 0 // from:
  SAY #90 /* ~Go to Gorion and listen well, for without knowledge, life is a mere shadow of death.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 1 // from:
  SAY #6360 /* ~Good friend, would you like me to give you a sermon on the wisdom of Oghma? No, well perhaps another time.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from:
  SAY #9111 /* ~It would be wise for you to leave. Now.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~  RandomNum(5,1)
~ THEN BEGIN 3 // from:
  SAY #15958 /* ~A traveling merchant from Beregost came through last week and sold me a chain tunic. It only took an hour of sparring to turn it to so much scrap, as though the very metal itself was inferior. A strange happening, for I doubt the skills of the blacksmiths of Beregost have degraded so drastically.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~  RandomNum(5,2)
~ THEN BEGIN 4 // from:
  SAY #15959 /* ~It would seem prices are on the rise across the land. Stores of iron are dwindling, and nearly every industry depends on it, in one way or another.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~  RandomNum(5,3)
~ THEN BEGIN 5 // from:
  SAY #15960 /* ~Seems odd that a plentiful resource such as iron could be in short supply. Something must be dreadfully wrong in the mines of Nashkel.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~  RandomNum(5,4)
~ THEN BEGIN 6 // from:
  SAY #15951 /* ~We are largely isolated here at Candlekeep, and intentionally so, but we too will be hurt if the whole region is suffering an iron shortage.~ */
  IF ~~ THEN EXIT
END
