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

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

IF WEIGHT #1 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(6,1)~ THEN BEGIN 0 // from:
  SAY #13752 /* ~Aye, I 'eard a sorcerer that went wild in the town, blastin' away wi' magic fire and such.  'Tis a good thing th' Cowled ones took 'im away 'fore he could harm any decent folk.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(6,2)~ THEN BEGIN 1 // from:
  SAY #13756 /* ~Don't be goin' into the slums, now, I warn ye.  If ye look like ye can rub more'n two coppers together, ye'll be jumped in no time!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 3 even though they appear after this state */
~RandomNum(6,3)~ THEN BEGIN 2 // from:
  SAY #13821 /* ~Bah!  The Council has levied another tax on us poor folk!  They'll ne'er sell me on th' need for it!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Nalia")
InParty("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
!Dead("Nalia")
RandomNum(2,1)
Global("mtown1nalia","AR0700",0)
~ THEN BEGIN 3 // from:
  SAY #13823 /* ~Me cousin just traveled from Nashkel to see me new wife, and wot does happen, eh?  He gets himself mugged in th' bloody slums, that's wot!  Th' garrison should march in there an' burn the whole bloody mess down!~ */
  IF ~~ THEN DO ~SetGlobal("mtown1nalia","AR0700",1)~ EXTERN ~NALIAJ~ 114
END

IF WEIGHT #4 ~RandomNum(6,4)~ THEN BEGIN 4 // from:
  SAY #13898 /* ~Fie!  Th' weather has been a mite foxey lately, aye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 ~RandomNum(6,5)~ THEN BEGIN 5 // from:
  SAY #13920 /* ~Keep out of th' slums, friend, or ye'll have yer coin foreclosed in a quick second!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~RandomNum(6,6)~ THEN BEGIN 6 // from:
  SAY #13923 /* ~Hey, now, eh?  Ye be lookin' new to Athkatla, aye?~ */
  IF ~~ THEN REPLY #13924 /* ~I am, actually, yes.~ */ GOTO 7
  IF ~~ THEN REPLY #13925 /* ~No, I've been here for quite some time.~ */ GOTO 8
  IF ~~ THEN REPLY #13926 /* ~I've no time to talk with you.~ */ GOTO 9
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #13927 /* ~Well, ye look t' be like a steel enough sort.  Is 'ere aught that a fellow like me can help ye wi'?~ */
  IF ~~ THEN REPLY #13931 /* ~Is there somewhere about that I can get some food and rest?~ */ GOTO 10
  IF ~~ THEN REPLY #13932 /* ~I need supplies.  Weapons and armor, especially.~ */ GOTO 11
  IF ~~ THEN REPLY #13933 /* ~I am interested in magical equipment, if you know of any.~ */ GOTO 12
  IF ~~ THEN REPLY #13934 /* ~Is there a healer about?~ */ GOTO 13
  IF ~~ THEN REPLY #13935 /* ~Nothing, thank you.~ */ GOTO 14
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #13928 /* ~Oh, so, aye?  I did not recognize ye.  A pearl to ye, then.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.2
  SAY #13930 /* ~Well, 'ere's no need t' be an ore grinder, is there?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 7.0
  SAY #13936 /* ~Well, ye could go t' the Copper Coronet.  It's a ways off in th' slums, however, and I would ne'er be caught walking there.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 11 // from: 7.1
  SAY #13938 /* ~Lookin' for trouble, eh?  Well, I'll not be th' one to argue with ye.  Ye can try the Adventure Mart. It's here in Waukeen's Promenade. Check yer map.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 12 // from: 7.2
  SAY #13940 /* ~Ack!  I hope ye not be some sorcerer.  The Cowled ones take ye away, if ye are. Still, ye can try the Adventure Mart here in Waukeen's Promenade. Check yer map.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 13 // from: 7.3
  SAY #13937 /* ~I suppose ye could find some healin' at the Temple of Ilmater here in Waukeen's Promenade, mayhap.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0 12.0 11.0 10.0 7.4
  SAY #13941 /* ~A pearl to ye, then.~ */
  IF ~~ THEN EXIT
END
