// creator  : weidu.exe (version 23100)
// argument : _FTOWBA.DLG
// game		 : .
// source	 : ./override/_FTOWBA.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #4 /* Triggers after states #: 1 2 3 5 even though they appear after this state */
~RandomNum(9,1)
~ THEN BEGIN 0 // from:
  SAY #61290 /* ~Leave me be!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~RandomNum(9,2)
Global("Chapter","GLOBAL",7)
Global("DukeThanks","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #79102 /* ~Help!  Help!  It's them.  The mass murderers!  Help!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~RandomNum(9,5)
Global("Chapter","GLOBAL",7)
Global("DukeThanks","GLOBAL",0)
~ THEN BEGIN 2 // from:
  SAY #79103 /* ~That new nobleman, Sarevok, he's a most handsome fellow.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#DynaheirHandsome","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirHandsome","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 84
END

IF WEIGHT #2 ~RandomNum(9,7)
Global("Chapter","GLOBAL",7)
Global("DukeThanks","GLOBAL",0)
~ THEN BEGIN 3 // from:
  SAY #79104 /* ~I think Sarevok would make the best replacement to Entar as Grand Duke.  He seems like he's got lots locked up in that noodle of his.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #79105 /* ~The rise of Sarevok

Sarevok seems to be a popular choice to replace the deceased Entar Silvershield.~ */ EXIT
END

IF WEIGHT #12 /* Triggers after states #: 5 6 9 12 13 14 15 16 even though they appear after this state */
~RandomNum(9,9)
Global("DukeThanks","GLOBAL",0)
~ THEN BEGIN 4 // from:
  SAY #79106 /* ~My husband tells me that the bandits have been hired by Amn to soften up our city for an invasion.  It's so frightening, ain't it?~ */
  IF ~~ THEN UNSOLVED_JOURNAL #75568 /* ~Rising tensions with Amn

Tension seems to be building between Baldur's Gate and Amn.~ */ EXIT
END

IF WEIGHT #3 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 5 // from:
  SAY #74965 /* ~I'm just a simple little lady, I don't know much at all.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 ~RandomNum(9,2)
GlobalLT("Chapter","GLOBAL",7)
~ THEN BEGIN 6 // from:
  SAY #79107 /* ~I recognize you!  Yer those adventurers who've been cleaning up on all the bandits, ain't ya.  The leader of yer bunch is named <CHARNAME>.  Why are ya up here at the Gate.  Are ya restocking, or 'ave ya come 'cause there's evil to fight in town?~ */
  IF ~~ THEN REPLY #79108 /* ~We're just here to stock up on adventuring equipment.  Would you know a good place we could do that?~ */ GOTO 7
  IF ~~ THEN REPLY #79109 /* ~Evil?  Here in Baldur's Gate.  Why would you think that?  Have you heard rumors or any some such.~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #79110 /* ~There's a lot of stores about that sell equipment and weapons, I'm sure you'll find one soon enough.  Oh!  It's so exciting to meet some real live adventurers.  Bye, bye <CHARNAME>.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #79111 /* ~I heard some weird stuff about the merchant consortiums in town.  Both the Seven Suns and Merchants' league have been acting real strange as of late.  Then there's that new Iron Throne that just moved in.  They took over that huge abandoned tower in the west side of town.  Well, that's all I really know.  It was nice meeting some real adventurers.  Bye now.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~RandomNum(9,3)
Global("HelpAgnasia","GLOBAL",0)
~ THEN BEGIN 9 // from:
  SAY #79112 /* ~Alas, the rot's got poor Ghorak. I doubt he'll be with us much longer.~ */
  IF ~~ THEN REPLY #79113 /* ~The rot? Why, that's horrible...~ */ GOTO 10
  IF ~~ THEN REPLY #79114 /* ~Who's Ghorak? I don't recognize the name.~ */ GOTO 11
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #79115 /* ~Ay, it is a horror indeed and e'en more so in one who once shone so brightly. He was one of Tymora's own, and, alongside his brother Kereph, the kindest soul. But then ill befell him... It is not like Lady Luck to abandon and persecute her faithful so.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: 9.1
  SAY #79116 /* ~He was a fixture in this city, sharp of wit and fair of face... Indeed I loved him once, we all did! Ghorak and his brother Kereph. We were like giggling girls scattering ourselves at their feet and they treated each of us with such respect and dignity. Lady Luck loved them too, it seemed, but she is fickle and cruel mistress. Kereph is long dead, you see, and Ghorak bears the plague. Aye, like a spurned lover, Tymora turns her loves away that she might draw them closer in the end.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 ~RandomNum(9,4)
Global("DukeThanks","GLOBAL",0)
~ THEN BEGIN 12 // from:
  SAY #79117 /* ~I've heard lots of talk about war; it's all my husband and his loudmouth friends can talk about.  I don't believe it for one second!  Amn and Baldur's Gate have always been at peace, and I think it'll stay that way.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 ~RandomNum(9,5)
GlobalLT("Chapter","GLOBAL",7)
~ THEN BEGIN 13 // from:
  SAY #79118 /* ~Those new Iron Throne people scare me.  Ever since they moved into the west tower, things have gotten worse for us little folk.  I know it's kinda paranoid to blame the Throne for all the bandits and the iron thing, but none of that happened until they showed up.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 ~RandomNum(9,6)
~ THEN BEGIN 14 // from:
  SAY #79119 /* ~Hello there!  You're adventurers aren't you.  You must be real brave to have to fight monsters and such.  Ummmm... you know if any of you are wantin' to have a good time, I know a place; it's called the Splurging Sturgeon and it's located in the north east of town.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #10 ~RandomNum(9,7)
GlobalLT("Chapter","GLOBAL",7)
~ THEN BEGIN 15 // from:
  SAY #79120 /* ~I'm sorry to be so intrusive, but aren't you those adventurers who cleared out the monsters at the mines of Nashkel.  I just have to say how pleasant it is to see people who are willing to risk their lives to help others.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #11 ~RandomNum(9,8)
~ THEN BEGIN 16 // from:
  SAY #79121 /* ~Adventurers!  Don't you go telling any children your fanciful stories about monsters and swashbuckling.  All you do is get the wrong idea in their heads.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #13 ~True()
~ THEN BEGIN 17 // from:
  SAY #79121 /* ~Adventurers!  Don't you go telling any children your fanciful stories about monsters and swashbuckling.  All you do is get the wrong idea in their heads.~ */
  IF ~~ THEN EXIT
END
