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

BEGIN ~SARBAR01~

IF ~!Dead("gromnir")
~ THEN BEGIN 0 // from:
  SAY #64182 /* ~Pyrgam Aleson at your service. I hope we have what you need.   A stiff drink, perhaps?  Dark times call for dark ale, am I right my <LADYLORD>?~ */
  IF ~~ THEN REPLY #64183 /* ~I'd like to see what services you have.~ */ GOTO 1
  IF ~~ THEN REPLY #64184 /* ~Not too many friendly faces in this town, are there?~ */ GOTO 2
  IF ~~ THEN REPLY #64185 /* ~Is there any way to get out of this town, or are we all trapped here?~ */ GOTO 3
  IF ~~ THEN REPLY #64186 /* ~What can you tell me about Gromnir Il-Khan?~ */ GOTO 4
  IF ~~ THEN REPLY #64187 /* ~Do you know anything about a woman named Melissan?~ */ GOTO 7
  IF ~Global("PassageTalk","GLOBAL",0)
~ THEN REPLY #64188 /* ~Do you know any way I might get inside the castle to speak to Gromnir?~ */ GOTO 14
  IF ~~ THEN REPLY #64421 /* ~Nothing for me right now. I'll be going.~ */ GOTO 10
END

IF ~~ THEN BEGIN 1 // from: 11.0 9.0 0.0
  SAY #64189 /* ~Excellent! Please see the bartender for a list of our services and items for sale.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 9.1 0.1
  SAY #64190 /* ~Saradush was a nice place not too long ago.  Then the Bhaalspawn started showing up, Gromnir took over and now we're under siege.  Can't blame folks if they've taken a dislike to strangers.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 3 // from: 11.3 9.2 0.2
  SAY #64191 /* ~Do you think I'd still be here running my business if I knew a way out?  Not even the mages can escape this place, or so I've heard.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 4 // from: 9.3 0.3
  SAY #64192 /* ~Bah!  I should spit in disgust every time I hear his name, but he's not worth the effort.  Gromnir Il-Khan's nothing but a bully - a cruel, cowardly little despot.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #64193 /* ~It was bad enough around here with all these refugees showing up these past few months.  But at least they didn't bother nobody.  Gromnir's a different story.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #64194 /* ~First his troops ran off Count Santele, then they started terrorizing the townsfolk.  Next thing we know we're caught between a tyrant we hate and an army outside our walls that wants to kill us all just to get at him!~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 7 // from: 11.4 9.4 0.4
  SAY #64195 /* ~Melissan? Wish I'd never heard her name.  Nothing against her as a person, you understand.  She's a fine woman, always looking to help out the less fortunate.~ */
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")~ THEN GOTO 8
  IF ~IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIA25J~ 0
  IF ~!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOME25J~ 7
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGA25J~ 0
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #64196 /* ~But that's the problem, see?  She brought these Bhaalspawn to Saradush to try and protect 'em, and now the whole town is doomed.  Good intentions, bad results.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 21.0 13.0 8.0 6.0 3.0 2.0
  SAY #64197 /* ~Still, life and business go on.  For a while.  All a man can do is carry on and hope for the best, that's my philosophy.  Anything else I can help you with?~ */
  IF ~~ THEN REPLY #64199 /* ~I'd like to see what services you have.~ */ GOTO 1
  IF ~!Dead("gromnir")
~ THEN REPLY #64200 /* ~Not too many friendly faces in this town, are there?~ */ GOTO 2
  IF ~~ THEN REPLY #64201 /* ~Is there any way to get out of this town, or are we all trapped here?~ */ GOTO 3
  IF ~!Dead("gromnir")
~ THEN REPLY #64202 /* ~What can you tell me about Gromnir Il-Khan?~ */ GOTO 4
  IF ~~ THEN REPLY #64203 /* ~Do you know anything about a woman named Melissan?~ */ GOTO 7
  IF ~Dead("gromnir")
~ THEN REPLY #64204 /* ~I thought people in town would be a little more appreciative after I got rid of Gromnir.~ */ GOTO 12
  IF ~!Dead("gromnir")
Global("PassageTalk","GLOBAL",0)
~ THEN REPLY #64227 /* ~Do you know any way I might get into the castle to speak with Gromnir?~ */ GOTO 14
  IF ~~ THEN REPLY #64420 /* ~Nothing for me right now. I'll be going.~ */ GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 17.3 16.0 14.0 11.5 9.7 0.6
  SAY #64198 /* ~Suit yourself.  Just remember - most folk don't take kindly to outsiders around here.  But me... I tend to take a more philosophical view.  Come back if you change your mind.~ */
  IF ~~ THEN EXIT
END

IF ~Dead("gromnir")
~ THEN BEGIN 11 // from:
  SAY #64219 /* ~Ah, the famous liberators of our town, the slayers of the tyrant Gromnir.  What can I do for you, my heroic <LADYLORD>?~ */
  IF ~~ THEN REPLY #64221 /* ~I'd like to see what services you have.~ */ GOTO 1
  IF ~~ THEN REPLY #64222 /* ~You sound a little sarcastic and bitter when you say that.~ */ GOTO 12
  IF ~~ THEN REPLY #64223 /* ~I thought people in town would be a little more appreciative after I got rid of Gromnir.~ */ GOTO 12
  IF ~~ THEN REPLY #64224 /* ~Do you know any way to get out of this town, or are we trapped here?~ */ GOTO 3
  IF ~~ THEN REPLY #64225 /* ~Do you know anything about Melissan?~ */ GOTO 7
  IF ~~ THEN REPLY #64226 /* ~Nothing for me right now.  I'll be going.~ */ GOTO 10
END

IF ~~ THEN BEGIN 12 // from: 11.2 11.1 9.5
  SAY #64220 /* ~No disrespect intended I assure you, my <LADYLORD>.  You just have to understand that things haven't changed much for us here in town, even with Gromnir gone.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #64228 /* ~The children of Bhaal still walk our streets, and there's an army outside our walls willing to kill us all just to get at them.  Gromnir may be dead, but nothing has really changed for us.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 14 // from: 9.6 0.5
  SAY #64423 /* ~Don't know why you'd want to go meet with Gromnir Il-Khan - most of us do our best to avoid him and his troops.  But I just might be able to help you out in this matter.  For a fee.~ */
  IF ~~ THEN REPLY #64424 /* ~A fee? Forget it.~ */ GOTO 10
  IF ~CheckStatGT(LastTalkedToBy,13,CHR)
~ THEN REPLY #64425 /* ~Isn't the fact that I'm here to help Saradush enough for you?~ */ DO ~SetGlobal("PassageTalk","GLOBAL",1)
~ GOTO 15
  IF ~CheckStatLT(LastTalkedToBy,14,CHR)
~ THEN REPLY #64426 /* ~Isn't the fact that I'm here to help Saradush enough for you?~ */ GOTO 16
  IF ~~ THEN REPLY #64427 /* ~Fine.  How much do you want?~ */ GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 14.1
  SAY #64437 /* ~It goes against my basic nature, but I guess you make a good point.  Okay, listen up and I'll tell you a little story.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 16 // from: 14.2
  SAY #64438 /* ~Hey, business is business, even in these troubled times.  If you want the information, you have to pony up the gold.~ */
  IF ~~ THEN REPLY #64440 /* ~Forget it!  You can keep your secret and die like a dog when Saradush is overrun!~ */ GOTO 10
  IF ~~ THEN REPLY #64441 /* ~Fine.  How much do you want?~ */ GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.1 14.3
  SAY #64442 /* ~I'll need a thousand gold to share this little secret.~ */
  IF ~PartyGoldGT(999)
~ THEN REPLY #64444 /* ~Here's your money.  Now start talking.~ */ DO ~TakePartyGold(1000)
SetGlobal("PassageTalk","GLOBAL",1)
SetGlobal("KnowAboutKey","GLOBAL",1)
~ GOTO 19
  IF ~PartyGoldGT(499)
~ THEN REPLY #64446 /* ~I'll give you five hundred.  That's it.~ */ DO ~

~ GOTO 18
  IF ~~ THEN REPLY #64447 /* ~I don't have that much. Can you lower the price at all?~ */ GOTO 18
  IF ~~ THEN REPLY #64449 /* ~A thousand gold!  You're mad!  I won't pay you anything!~ */ GOTO 10
END

IF ~~ THEN BEGIN 18 // from: 17.2 17.1
  SAY #64451 /* ~Sorry, my friend.  This is a seller's market.  The full thousand or no deal.  Come on back when you're ready, willing and able to part with that precious gold.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 19 // from: 17.0 15.0
  SAY #64455 /* ~There's an old, abandoned jail in the city where Count Santele could imprison his political enemies. Rumor holds there was a secret passage from the jail into the castle.~ */
  IF ~~ THEN GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #64462 /* ~But the jail never got much use, and nobody bothered to look after it.  Eventually, it became overrun with undead and the Count secretly asked Sister Farielle at the Temple to seal the entrance.~ */
  IF ~~ THEN REPLY #71198 /* ~How do you know all this?~ */ GOTO 21
END

IF ~~ THEN BEGIN 21 // from: 20.0
  SAY #64471 /* ~Sister Farielle and I have a very *close* relationship, if you get my drift.  If you talk to her she might give you the key to the sealed door of the jail, seeing as how we're all doomed anyway.~ */
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Mazzy")
~ THEN UNSOLVED_JOURNAL #65001 /* ~Dealing With Gromnir

Pyrgam Aleson at the Tankard Tree told me there were legends of a secret entrance into the castle through an abandoned jail.  He instructed me to talk to Sister Farielle at the Temple of Waukeen about getting into the now sealed jail.~ */ GOTO 9
  IF ~IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Mazzy")~ THEN UNSOLVED_JOURNAL #65001 /* ~Dealing With Gromnir

Pyrgam Aleson at the Tankard Tree told me there were legends of a secret entrance into the castle through an abandoned jail.  He instructed me to talk to Sister Farielle at the Temple of Waukeen about getting into the now sealed jail.~ */ EXTERN ~KORGA25J~ 1
  IF ~IsValidForPartyDialog("Mazzy")~ THEN UNSOLVED_JOURNAL #65001 /* ~Dealing With Gromnir

Pyrgam Aleson at the Tankard Tree told me there were legends of a secret entrance into the castle through an abandoned jail.  He instructed me to talk to Sister Farielle at the Temple of Waukeen about getting into the now sealed jail.~ */ EXTERN ~MAZZY25J~ 2
END
