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

BEGIN ~TRPLE01~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #47249 /* ~Ho, friend!  Welcome to the tent of pleasure, haha!  I've been here for over a week, myself, and I can tell you that the prices are well worth it!~ */
  IF ~~ THEN REPLY #47250 /* ~Who are you?~ */ GOTO 1
  IF ~~ THEN REPLY #47251 /* ~Just how is it that you are able to afford these prices?~ */ GOTO 3
  IF ~~ THEN REPLY #47252 /* ~I'll be going, then.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 21.0 0.0
  SAY #47253 /* ~The name's Wilfred.  Wilfred the Red of Luskan, although I'm sure you've probably heard of me.  Heh.  Adventurer extraordinaire and currently living off the excesses of my most recent plunder.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 3.0 1.0
  SAY #47254 /* ~It's quite a story.  A tale for the ages, you might say... you wouldn't happen to be a bard, would you?  Well, I'd be happy to regale you with the story, anyway, if you're willing.~ */
  IF ~~ THEN REPLY #47255 /* ~I'm listening.~ */ GOTO 5
  IF ~~ THEN REPLY #47256 /* ~Never mind, I have to go.~ */ GOTO 4
  IF ~OR(2)
Class(LastTalkedToBy,THIEF)
Alignment(LastTalkedToBy,MASK_EVIL)~ THEN REPLY #47259 /* ~Actually, I'd rather rob you blind, if you're really so rich.~ */ GOTO 10
END

IF ~~ THEN BEGIN 3 // from: 21.1 0.1
  SAY #47257 /* ~Aha!  Glad you asked!  You are looking at one of the finest adventurers ever to hail from the city of Luskan, my friend!  I am just recently come from a fine exploit that has left me considerably richer!~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 4 // from: 2.1 0.2
  SAY #47258 /* ~Well, I was glad to meetcha, anyway.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.0
  SAY #47260 /* ~Great!  So, anyway, there I was traveling through the Troll Hills, right?  I come across this large cavern, warm steam coming out of it and the forbidding smell of brimstone and such...~ */
  IF ~~ THEN DO ~SetGlobal("wilfredtoldstory","LOCALS",1)~ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #47261 /* ~A dragon, I think to myself.  And being Wilfred the Red the great adventurer, I walk in and challenge the dread beast!~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #47262 /* ~Thirty feet high he was, with a wingspan easily three times that!  Red as blood and eviler than a cockatrice in May!~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #47263 /* ~I slew the beast, naturally, after a valiant struggle.  A few minor scorch-marks were all I suffered for felling the beast, and its horde was mine!  More gold than you could possibly imagine!~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #47264 /* ~Too bad I was by myself at the time.  I could only gather as much gold as I could carry.  Still, it was enough to make me plenty wealthy.  Plus, it was a good deed, which is my forte.~ */
  IF ~~ THEN REPLY #47265 /* ~That's very impressive.~ */ GOTO 11
  IF ~CheckStatGT(LastTalkedToBy,14,WIS)
CheckStatLT(LastTalkedToBy,17,WIS)~ THEN REPLY #47266 /* ~You don't look like someone who could single-handedly slay a dragon!  What's the real story, here?~ */ GOTO 12
  IF ~CheckStatGT(LastTalkedToBy,16,WIS)~ THEN REPLY #47267 /* ~I'm wise enough to see right through your story, Wilfred.  You're lying.~ */ GOTO 13
  IF ~OR(2)
Class(LastTalkedToBy,THIEF)
Alignment(LastTalkedToBy,MASK_EVIL)~ THEN REPLY #47268 /* ~Well, perhaps you wouldn't mind if I relieved you of most of your wealth, then... ever been robbed?  That'd be a good tale to tell your friends...~ */ GOTO 10
  IF ~~ THEN REPLY #47269 /* ~Well, I'll be on my way, now.~ */ GOTO 20
END

IF ~~ THEN BEGIN 10 // from: 22.2 12.2 9.3 2.2
  SAY #47270 /* ~Wh-what?!  You... you can't do that!~ */
  IF ~~ THEN REPLY #47271 /* ~Why not?  If you killed a dragon, surely you can handle me.~ */ GOTO 18
  IF ~CheckStatGT(LastTalkedToBy,14,WIS)~ THEN REPLY #47272 /* ~Scared, are you?  I knew your story was full of holes.  What's the real deal with all your coin, anyway?~ */ GOTO 13
  IF ~~ THEN REPLY #47273 /* ~Not only can I, I'm going to!~ */ GOTO 19
END

IF ~~ THEN BEGIN 11 // from: 9.0
  SAY #47274 /* ~I know, isn't it?  But don't take my word about this place... talk to Mistress Jeanne and experience it for yourself.  This is THE place to be if you've got coin to spare! Well, I've got to go.~ */
  IF ~~ THEN DO ~SetGlobal("wilfredgone","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 22.0 9.1
  SAY #47275 /* ~N-no, no I did!  I did!  I am the great warrior Wilfred the Red of Luskan!~ */
  IF ~~ THEN REPLY #47276 /* ~Well, perhaps you'd like to have a duel.  I'd be willing to match my skills against someone so powerful.~ */ GOTO 18
  IF ~~ THEN REPLY #47277 /* ~Really?  Let's see how great you are!  Put up your sword, Wilfred, and prepare to die!~ */ GOTO 19
  IF ~OR(2)
Class(LastTalkedToBy,THIEF)
Alignment(LastTalkedToBy,MASK_EVIL)~ THEN REPLY #47278 /* ~Right.  I think I'll just help myself to your wealth, myself.  Ever been robbed before, Wilfred?~ */ GOTO 10
  IF ~~ THEN REPLY #47279 /* ~Fine, fine.  If that's what you want to believe.  I'll be on my way.~ */ GOTO 20
END

IF ~~ THEN BEGIN 13 // from: 22.1 10.1 9.2
  SAY #47280 /* ~I... I... oh, alright.  (sigh)~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 18.0 13.0
  SAY #47281 /* ~I was... traveling through the Troll Hills with my caravan and I, uh, got separated from them when I responded to a, uh, call of nature...~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #47282 /* ~I was lost and when I thought I heard them close by, I ran to catch up.  I, er, stumbled and fell into a cave of sorts.  There was a dragon, there... a small one... and he was, uh, sleeping.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #47283 /* ~So I... helped myself to some of its gold.  And I, er, got out as quickly as I could.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.0
  SAY #47285 /* ~Please don't tell anyone!  I... I've got a reputation to uphold!  I'll do anything!  Oh, oh!  Here... take this!  Just... just don't tell anyone!  Ooooh, I'm so embarrassed!~ */
  IF ~~ THEN DO ~GiveGoldForce(1000)
AddexperienceParty(1000)
SetGlobal("wilfredgone","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 18 // from: 22.3 12.0 10.0
  SAY #47287 /* ~No, no violence!  Please!  I... I'm no great warrior!  There!  I admit it!  Please don't hurt me!  I... I... I'll tell you what really happened!~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 19 // from: 12.1 10.2
  SAY #47289 /* ~Aaaah!  No, no!  GUARDS!!  HAAALLLP!!~ */
  IF ~~ THEN DO ~SetGlobal("wilfredgone","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 20 // from: 12.3 9.4
  SAY #47291 /* ~Oh, er, alright.  Nice to, um, meet you...~ */
  IF ~~ THEN DO ~SetGlobal("wilfredgone","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~Global("wilfredtoldstory","LOCALS",0)~ THEN BEGIN 21 // from:
  SAY #47292 /* ~Hello there, again!  Ahhh, I was just musing over my tale of heroism with the lovely Annalynn, there.  It's nice to be a hero, isn't it?~ */
  IF ~~ THEN REPLY #47293 /* ~Just who are you again?~ */ GOTO 1
  IF ~~ THEN REPLY #47294 /* ~What tale of heroism are you talking about?~ */ GOTO 3
  IF ~~ THEN REPLY #47295 /* ~I'll be going.~ */ GOTO 23
END

IF ~~ THEN BEGIN 22 // from:
  SAY #47297 /* ~Hello, there, my good <MANWOMAN>!  Always a treat to meet a fellow adventurer.  Anything I can do for you?~ */
  IF ~CheckStatGT(LastTalkedToBy,14,WIS)
CheckStatLT(LastTalkedToBy,17,WIS)~ THEN REPLY #47298 /* ~I was just thinking about your story... you couldn't possibly kill a dragon all by yourself.  What's the real tale, here?~ */ GOTO 12
  IF ~CheckStatGT(LastTalkedToBy,16,WIS)~ THEN REPLY #47299 /* ~I was just thinking about your story, and I'm wise enough to know when someone is lying.  And you definitely are.~ */ GOTO 13
  IF ~OR(2)
Class(LastTalkedToBy,THIEF)
Alignment(LastTalkedToBy,MASK_EVIL)~ THEN REPLY #47301 /* ~You can empty your wealthy pockets, for one.  Ever been robbed, Wilfred?~ */ GOTO 10
  IF ~OR(2)
Class(LastTalkedToBy,FIGHTER)
CheckStatGT(LastTalkedToBy,15,INT)~ THEN REPLY #47302 /* ~I was just thinking that, since you're such a great warrior, perhaps we should duel.  That was I could learn from someone of such skill.~ */ GOTO 18
  IF ~~ THEN REPLY #47303 /* ~No, I don't think so.~ */ GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.4 21.2
  SAY #47304 /* ~Well, it was nice to see you again, regardless, my good <MANWOMAN>.  Feel free to stop by anytime... heh, this place is too good to just leave, you know.~ */
  IF ~~ THEN EXIT
END
