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

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

IF WEIGHT #1 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,1)~ THEN BEGIN 0 // from:
  SAY #13944 /* ~I saw the wizard blasting all those men in black leather!  A frightening display of magic...  the Cowled Wizards took the mage away once he collapsed, thank Lathander.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,2)~ THEN BEGIN 1 // from:
  SAY #13946 /* ~I heard that Dawnmistress Petra went missing last week.  The priests of Lathander have been asking about for her.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,3)~ THEN BEGIN 2 // from:
  SAY #13948 /* ~I was told that yet another priest went missing, this time it was a priest of Talos.  I thought that the Storm Lord's minions were behind the disappearances.  I suppose I was wrong.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,4)~ THEN BEGIN 3 // from:
  SAY #13950 /* ~My brother-in-law was mugged in the slums this morning.  Crime appears to be up all over the city, in my opinion.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,5)~ THEN BEGIN 4 // from:
  SAY #13953 /* ~My sister was robbed blind, her house cleaned out while she slept.  Mind you, her life has always been written in red ink.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(7,6)~ THEN BEGIN 5 // from:
  SAY #13960 /* ~Don't they ever clean these dusty streets?  This is Athkatla, not some barbarian village!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Anomen")
InParty("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)
Global("mtown2anomen","AR0700",0)
~ THEN BEGIN 6 // from:
  SAY #13986 /* ~My wife and I could not even attend our church yesterday morn.  It seems Brother Keelan has just up and vanished.  How very strange that he would leave without telling anyone.~ */
  IF ~~ THEN DO ~SetGlobal("mtown2anomen","AR0700",1)~ EXTERN ~ANOMENJ~ 115
END

IF WEIGHT #7 ~RandomNum(7,7)~ THEN BEGIN 7 // from:
  SAY #13989 /* ~Good business, <SIRMAAM>.  I don't recognize you.  Are you new to the city?~ */
  IF ~~ THEN REPLY #13990 /* ~Yes, I am.~ */ GOTO 10
  IF ~~ THEN REPLY #13991 /* ~No, I have been here for some time.~ */ GOTO 9
  IF ~~ THEN REPLY #13992 /* ~I have no time to speak with you.~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.2
  SAY #13993 /* ~Hmph.  Well, you're a bronze sort, aren't you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 7.1
  SAY #13994 /* ~Really?  I didn't recognize you.  Good business to you, then.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 7.0
  SAY #13995 /* ~Welcome to Athkatla, then, my <LADYLORD>.  Is there anything I can help you with?~ */
  IF ~~ THEN REPLY #13996 /* ~Is there somewhere about that I can get some food and rest?~ */ GOTO 12
  IF ~~ THEN REPLY #13997 /* ~I need supplies.  Weapons and armor, especially.~ */ GOTO 13
  IF ~~ THEN REPLY #13998 /* ~I am interested in magical equipment, if you know of any.~ */ GOTO 14
  IF ~~ THEN REPLY #14135 /* ~Is there a healer about?~ */ GOTO 15
  IF ~~ THEN REPLY #14136 /* ~Nothing, thank you.~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 15.0 13.0 12.0 10.4
  SAY #14137 /* ~Well, good business to you, then.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 10.0
  SAY #14138 /* ~Hm.  I suppose you could try the Copper Coronet.  Someone like you might appreciate that sort of place, even if it is in the slums.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 13 // from: 10.1
  SAY #14139 /* ~I would try the Adventure Mart, if I were you.  It's in the Promenade, here... check your map.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 14 // from: 10.2
  SAY #14140 /* ~You shouldn't show too much interest in magic, here, if you know what's good for you.  The Adventure Mart might prove useful for you, try there.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from: 10.3
  SAY #14141 /* ~You are in need of healing?  Oh, my.  There is a Church of Ilmater here in the Promenade on the north tiers.  Look on your map and you'll find it.~ */
  IF ~~ THEN GOTO 11
END
