// creator  : weidu.exe (version 23100)
// argument : FTOWN2.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~FTOWN2~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 5 even though they appear after this state */
~RandomNum(5,1)~ THEN BEGIN 0 // from:
  SAY #14386 /* ~By Lathander!  I heard that a wizard went insane, earlier, and almost killed everyone!  How can they let those people live when the children are in such danger?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 5 even though they appear after this state */
~RandomNum(5,2)~ THEN BEGIN 1 // from:
  SAY #14388 /* ~I don't know why anyone would want to go to the slums.  Such a dreadful and dangerous place.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 5 even though they appear after this state */
~RandomNum(5,3)~ THEN BEGIN 2 // from:
  SAY #14392 /* ~The weather has been so hot, lately, I just can't do anything with my hair.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 5 even though they appear after this state */
~RandomNum(5,4)~ THEN BEGIN 3 // from:
  SAY #14394 /* ~My husband's shop has been robbed four times, now.  I'm so worried that it's going to close down!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 5 even though they appear after this state */
~RandomNum(5,5)
!Dead("KalahIllusion")~ THEN BEGIN 4 // from:
  SAY #14395 /* ~I truly wish my children would stop wanting to go to that circus.  I've heard too many things about what has occurred there to even consider it.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~NumTimesTalkedTo(0)~ THEN BEGIN 5 // from:
  SAY #14402 /* ~Good business to you, my <LADYLORD>.  I don't recognize you.  Are you new to Athkatla?~ */
  IF ~~ THEN REPLY #14406 /* ~Yes, I am, in fact.~ */ GOTO 6
  IF ~~ THEN REPLY #14407 /* ~No, I've been here for some time.~ */ GOTO 7
  IF ~~ THEN REPLY #14410 /* ~I've no wish to speak with you, woman.~ */ GOTO 8
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #14408 /* ~Ah!  Well, welcome to the city.  Do you need assistance finding your way around?~ */
  IF ~~ THEN REPLY #14412 /* ~Yes, I'm trying to find a decent inn or tavern.~ */ GOTO 9
  IF ~~ THEN REPLY #14419 /* ~Yes, I'm looking for a shop.  Perhaps something with weapons and armor?~ */ GOTO 11
  IF ~~ THEN REPLY #14421 /* ~Yes, I'm looking for some magical equipment, if you know of it.~ */ GOTO 12
  IF ~~ THEN REPLY #14423 /* ~If I need assistance, I'll find a compass.~ */ GOTO 8
  IF ~~ THEN REPLY #14425 /* ~No, thank you.~ */ GOTO 10
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #14409 /* ~Oh, excuse me.  A pearl to you and a good day.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.3 5.2
  SAY #14411 /* ~How rude!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.0
  SAY #14413 /* ~Well, I don't know if I would call it decent, but the Copper Coronet is a common destination.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 12.0 11.0 9.0 6.4
  SAY #14414 /* ~Good business to you, then.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: 6.1
  SAY #14420 /* ~Hmmm, I wouldn't know much about that.  Perhaps the Adventure Mart would have what you're looking for.  It's in the bottom tier on the west end of the Promenade... look at your map, I suppose.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 12 // from: 6.2
  SAY #14422 /* ~I certainly wouldn't.  (sniff)  Nor would any woman of decent character.~ */
  IF ~~ THEN GOTO 10
END
