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

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

IF WEIGHT #3 /* Triggers after states #: 2 3 5 even though they appear after this state */
~  RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #290 /* ~I was good for days 'n days and now I can go to the fair!~ */
  IF ~~ THEN JOURNAL #5815 /* ~There is a festival east of Nashkel. Many people are gathering there.~ */ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 2 3 5 7 even though they appear after this state */
~  RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #291 /* ~Poppa was in the mines, but Momma says he's with the Mommy of All now.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #26912 /* ~Troubles in the Region
Something is killing men in the mines. The Amnish guards are unable to stop it.~ */ EXIT
END

IF WEIGHT #0 ~  False()
~ THEN BEGIN 2 // from:
  SAY #292 /* ~Mother said not to talk with strangers.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~  False()
~ THEN BEGIN 3 // from:
  SAY #293 /* ~You funny lookin'.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #6104 /* ~You guys are those heroes! I wanna be just like you when I grow up.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 5 // from:
  SAY #6105 /* ~I'm just a kid. I like cookies, and I like toys, and I like lots a things, but I don't think you care about that, do you?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #8960 /* ~Leave me alone! You're mean!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~  RandomNum(3,3)
~ THEN BEGIN 7 // from:
  SAY #17965 /* ~Captain Brage went missing a few days ago. Ma and Pa told me that he's crazy. Sometimes at night I'm pretty sure that he's roaming around the woods just outside our house but I'm too afraid to go outside.~ */
  IF ~~ THEN EXIT
END
