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

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

IF WEIGHT #1 /* Triggers after states #: 16 even though they appear after this state */
~NumTimesTalkedTo(0)
!Dead("drunk2")
!StateCheck("drunk2",STATE_SLEEPING)~ THEN BEGIN 0 // from:
  SAY #15187 /* ~Ey, now.  <burp>  (Morninglord's bleshin', excuse me.)  I don' be recognizin' ye.~ */
  IF ~~ THEN REPLY #15196 /* ~My name is <GABBER>.  Who might you be?~ */ GOTO 2
  IF ~~ THEN REPLY #15198 /* ~That's because I haven't been in the Copper Coronet for very long.  That doesn't mean we can't be friends, though, does it?~ */ GOTO 3
  IF ~~ THEN REPLY #15202 /* ~And I don't recognize you.  What of it?~ */ GOTO 4
  IF ~~ THEN REPLY #15204 /* ~I'll not associate with one who smells like he slipped into a vat of spirits.  Excuse me.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 15.3 7.3 6.2 5.4 4.0 3.4 2.4 0.3
  SAY #15208 /* ~Oy, my apologeesh, me <LADYLORD>.  I'm told itsh been a hard day, and I shpose I'm glad I can't 'member a none o' it.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 15.0 0.0
  SAY #15210 /* ~Well, I be Garoll, thank ye.  <burp>  (Who wash 'at?)  Now that you an' I be proper frendsh an' all, how aboutsh you buyin Garoll a drink, aye?~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #15241 /* ~You lush!  Very well, then, I'll buy an ale for you.  Better to keep you pleased and drunk than miserable and sober.~ */ DO ~TakePartyGold(1)~ GOTO 5
  IF ~PartyGoldGT(4)~ THEN REPLY #15244 /* ~Here's 5 gold pieces, Garroll.  I'm interested in hearing what's been going on around here, if you know of it.~ */ DO ~TakePartyGold(5)~ GOTO 6
  IF ~CheckStatGT(LastTalkedToBy,13,42)~ THEN REPLY #15247 /* ~I'm afraid I can't afford to help you out, Garroll.~ */ GOTO 7
  IF ~CheckStatLT(LastTalkedToBy,14,42)~ THEN REPLY #15250 /* ~I'm afraid I can't afford to help you out, Garroll.~ */ GOTO 8
  IF ~~ THEN REPLY #15248 /* ~I'll not add to your drunkenness.  Leave me be.~ */ GOTO 1
END

IF ~~ THEN BEGIN 3 // from: 4.1 0.1
  SAY #15227 /* ~Weeellll, I shpose thatsh true, it ish.  <hic>  Now, then.  It wouldsht be truer if ye bought ol' Garrol a drink, aye?~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #15267 /* ~You lush!  Very well, then, I'll buy an ale for you.  Better to keep you pleased and drunk than miserable and sober.~ */ DO ~TakePartyGold(1)~ GOTO 5
  IF ~PartyGoldGT(4)~ THEN REPLY #15268 /* ~Here's 5 gold pieces, Garroll.  I'm interested in hearing what's been going on around here, if you know of it.~ */ DO ~TakePartyGold(5)~ GOTO 6
  IF ~CheckStatGT(LastTalkedToBy,13,42)~ THEN REPLY #15269 /* ~I'm afraid I can't afford to help you out, Garroll.~ */ GOTO 7
  IF ~CheckStatLT(LastTalkedToBy,14,42)~ THEN REPLY #15270 /* ~I'm afraid I can't afford to help you out, Garroll.~ */ GOTO 8
  IF ~~ THEN REPLY #15271 /* ~I'll not add to your drunkenness.  Leave me be.~ */ GOTO 1
END

IF ~~ THEN BEGIN 4 // from: 0.2
  SAY #15235 /* ~Oh, Garrol meansh noshin', me <LADYLORD>.  Alwash lookin' fer a friendly face, ish all.~ */
  IF ~~ THEN REPLY #15272 /* ~Does this look like a friendly face?  Begone, slovenly drunkard.~ */ GOTO 1
  IF ~~ THEN REPLY #15273 /* ~I'm friendly enough, when I choose to be.  One can't be too careful when meeting strangers.~ */ GOTO 3
  IF ~~ THEN REPLY #15274 /* ~Well, I can't help you out, there.  Excuse me.~ */ GOTO 9
END

IF ~~ THEN BEGIN 5 // from: 15.1 3.0 2.0
  SAY #15253 /* ~Yer a kind, kind shoul you ish, me <LADYLORD>.  Wish all yer coin, I shpose yer here for the 'entertainment' in th' back, aye?~ */
  IF ~~ THEN REPLY #15276 /* ~The 'entertainment'?  What kind of entertainment are you speaking of?~ */ GOTO 10
  IF ~GlobalLT("chapter","GLOBAL",4)
InPartySlot(LastTalkedToBy,0)~ THEN REPLY #45574 /* ~No, actually.  A friend of mind has been taken captive by the Cowled Wizards.  Do you know where they keep their prisoners, maybe?~ */ GOTO 17
  IF ~GlobalLT("chapter","GLOBAL",4)
InPartySlot(LastTalkedToBy,0)~ THEN REPLY #45575 /* ~I'm looking for information on the Shadow Thieves, actually.~ */ GOTO 18
  IF ~~ THEN REPLY #15277 /* ~No, I'm not.  Please excuse me.~ */ GOTO 9
  IF ~~ THEN REPLY #15278 /* ~I'll not listen to your babblings, fool.  Begone.~ */ GOTO 1
END

IF ~~ THEN BEGIN 6 // from: 7.1 3.1 2.1
  SAY #15260 /* ~(Eh?)  Goingsh on?  Oh, I be knowin', I shoitanly do.  Wish all yer generoush coin, ye be lookin' for shome of Lahtinan's 'entertainment', aye?~ */
  IF ~~ THEN REPLY #15285 /* ~'Entertainment'?  What kind of 'entertainment' are you speaking of, Garroll?~ */ GOTO 10
  IF ~~ THEN REPLY #15286 /* ~I'm not interested.  Please excuse me.~ */ GOTO 9
  IF ~~ THEN REPLY #15288 /* ~Your a miserable wretch, and I'll have no more of you.  Begone!~ */ GOTO 1
END

IF ~~ THEN BEGIN 7 // from: 3.2 2.2
  SAY #15263 /* ~Oh, dash all rightsh, it ish.  I be knowin' whatsh itsh like, aye?  Sitsh down, friend.  Lahtinan owesh me an ale, he doesh.~ */
  IF ~~ THEN REPLY #15289 /* ~Well, I'm not too interested in drink, myself.  Perhaps you might know of other entertainments in the area?~ */ GOTO 10
  IF ~~ THEN REPLY #15290 /* ~I appreciate it.  Tell me, Garroll, do you know anything going on in the slums?  Anything you might be able to tell me of?~ */ GOTO 6
  IF ~~ THEN REPLY #15291 /* ~No, thank you.  I'm not interested.~ */ GOTO 9
  IF ~~ THEN REPLY #15292 /* ~I'll not sit with a stinking drunk like yourself.  Excuse me.~ */ GOTO 1
END

IF ~~ THEN BEGIN 8 // from: 13.2 3.3 2.3
  SAY #15264 /* ~Ah, yer a cheapshkate if I ever sheen one.  <burp>  Gah.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 18.2 17.2 15.2 13.1 7.2 6.1 5.3 4.2
  SAY #15275 /* ~A pearl to ye, then.  <hic>  Have yourshelf an ale for Garroll, aye?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 18.1 17.1 7.0 6.0 5.0
  SAY #15279 /* ~Well, dash depends on whash kind of fun you ish looking for, aye?  Lehtinan, here, he sherves all kindsh, he doesh.~ */
  IF ~~ THEN DO ~SetGlobal("KnowSlaves","GLOBAL",1)~ EXTERN ~DRUNK2~ 0
END

IF ~~ THEN BEGIN 11 // from: DRUNK2:0.0
  SAY #15281 /* ~(Ach, I'm sure Lehtinan nay be mindin'.)~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #15282 /* ~Lehtinan, you servsh all thosh who have coin a'plenty, aye?  He 'as grippersh in th' back, I hearsh, to wagersh on.  A real fightsh, wish blood an' all!~ */
  IF ~~ THEN EXTERN ~DRUNK2~ 1
END

IF ~~ THEN BEGIN 13 // from: DRUNK2:1.0
  SAY #15284 /* ~Err, oh, aye.  Mayhapsh ye should be ashkin' Lehtinan for yourshelf, if 'at's whatsh ye be wantin'.  <burp>  I 'ave little enough coin, myshelf, to 'ave ever indulged.~ */
  IF ~PartyGoldGT(4)~ THEN REPLY #15295 /* ~Thank you for the information, Garroll.  Here's an extra 5 gold for your troubles.  Perhaps I'll go and talk to Lehtinan, after all.~ */ DO ~TakePartyGold(5)~ GOTO 14
  IF ~~ THEN REPLY #15296 /* ~I appreciate the information, friend.  I must be on my way.~ */ GOTO 9
  IF ~~ THEN REPLY #15297 /* ~You've told me nothing I didn't already know, fool.  Good-bye.~ */ GOTO 8
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #15298 /* ~Ah!  Ye are a shaint, ye are.  The Morninglord's praishes upon ye.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 16 even though they appear after this state */
~True()
!Dead("drunk2")
!StateCheck("drunk2",STATE_SLEEPING)~ THEN BEGIN 15 // from:
  SAY #15299 /* ~Ey?  <hic>  Doesh I knows you, friend?  Ye looksh familiar.~ */
  IF ~~ THEN REPLY #15300 /* ~Well, yes, we have met briefly.  I didn't catch your name, however.  I am <GABBER>.~ */ GOTO 2
  IF ~PartyGoldGT(0)~ THEN REPLY #15301 /* ~You don't remember me?  Here, let me buy you another ale.~ */ DO ~TakePartyGold(1)~ GOTO 5
  IF ~~ THEN REPLY #15302 /* ~Excuse me, I have to be going.~ */ GOTO 9
  IF ~~ THEN REPLY #15308 /* ~You don't remember me?  I'm insulted, and I'll not be wasting my time on a rude drunk.~ */ GOTO 1
END

IF WEIGHT #0 ~Dead("Lehtinan")
~ THEN BEGIN 16 // from:
  SAY #25830 /* ~Ey? <hic> Carish me home?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 18.0 5.1
  SAY #45576 /* ~Oohhhh, I don't know mush about them wishards, no, no.  The Counshel doeshn't throw 'em in jail, though, even though they casht magic.  Tch.  'Tish awful, my <PRO_LADYLORD>, simply awful.~ */
  IF ~~ THEN REPLY #45577 /* ~Do you know anything about the Shadow Thieves, perhaps?~ */ GOTO 18
  IF ~~ THEN REPLY #45578 /* ~What 'entertainments' were you talking about, earlier?~ */ GOTO 10
  IF ~~ THEN REPLY #45579 /* ~Thanks, I'll be going.~ */ GOTO 9
END

IF ~~ THEN BEGIN 18 // from: 17.0 5.2
  SAY #45581 /* ~The Shadow thievesh... theysh at war, so saysh everyone, aye?  All the thievesh dyin'... tsk, tsk.  When will it end, I ashk you?~ */
  IF ~~ THEN REPLY #45586 /* ~A friend of mine has been taken captive by the Cowled Wizards.  Do you know where they keep their prisoners, maybe?~ */ GOTO 17
  IF ~~ THEN REPLY #45587 /* ~What 'entertainments' were you talking about, before?~ */ GOTO 10
  IF ~~ THEN REPLY #45588 /* ~Thanks, I'll be going.~ */ GOTO 9
END
