// creator  : weidu.exe (version 23600)
// argument : IGNATI.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~IGNATI~

IF ~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #17068 /* ~Psst! Hey, you, ya wanna schmooze with the Dukes?~ */
  IF ~~ THEN REPLY #17069 /* ~Do what with the who?~ */ GOTO 1
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #17070 /* ~Can you get me in?~ */ GOTO 2
  IF ~  ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #17078 /* ~Can you get me in?~ */ GOTO 3
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #17079 /* ~Can you get me in?~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #17071 /* ~Schmooze with the Dukes, kick up your heels with the Big Guys... You see, Entar Silvershield was off'd by the Shadow Thieves so they're naming this guy Sarevok as the new Grand Duke. And you can't name a new Duke without a big party, right?~ */
  IF ~~ THEN REPLY #17072 /* ~Sarevok?~ */ GOTO 5
  IF ~~ THEN REPLY #17073 /* ~Mm. I think I'll give it a pass. Sarevok's bad news, and I'd rather stay as far away from him as I can.~ */ GOTO 6
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #17074 /* ~This might be useful. Can you get me in?~ */ GOTO 2
  IF ~  ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #17080 /* ~This might be useful. Can you get me in?~ */ GOTO 3
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #17081 /* ~This might be useful. Can you get me in?~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 10.1 5.0 1.2 0.1
  SAY #17075 /* ~Well, have a look at my wares. These here are high quality forgeries of the official invitation. Use at your own risk, though, 'cause the guards might take a second look at the likes of you. Just 'cause we're chums, though, I'll give it to ya for a clean 150 gold pieces. Is that good?~ */
  IF ~  PartyGoldGT(149)
~ THEN REPLY #17076 /* ~That'll be great. Here's the 150 gold pieces right now.~ */ DO ~TakePartyGold(150)
GiveItem("MISC78",LastTalkedToBy)
~ GOTO 8
  IF ~~ THEN REPLY #17077 /* ~Maybe another time.~ */ GOTO 7
END

IF ~~ THEN BEGIN 3 // from: 10.2 5.1 1.3 0.2
  SAY #17082 /* ~Well, have a look at my wares. These here are high quality forgeries of the official invitation. Use at your own risk, though, 'cause the guards might take a second look at the likes of you. You're a tough kind of customer so how about I give it to ya for 200 gold pieces. That sound good?~ */
  IF ~~ THEN REPLY #17084 /* ~Maybe some other time.~ */ GOTO 7
  IF ~  PartyGoldGT(199)
~ THEN REPLY #17083 /* ~Sounds great. I've got the 200 gold pieces right here.~ */ DO ~TakePartyGold(200)
GiveItem("MISC78",LastTalkedToBy)
~ GOTO 8
END

IF ~~ THEN BEGIN 4 // from: 10.3 5.2 1.4 0.3
  SAY #17085 /* ~Well, have a look at my wares. These here are high quality forgeries of the official invitation. Use at your own risk, though, 'cause the guards might take a second look at the likes of you. I'm taking extra risks giving this out to your type, you realize, so it's gonna cost a little more than usual. Does 250 gold pieces sound good?~ */
  IF ~  PartyGoldGT(249)
~ THEN REPLY #17086 /* ~250 gold pieces! You're not just a forger, you're a thief, too. Here's the money, now give me that invitation.~ */ DO ~TakePartyGold(250)
GiveItem("MISC78",LastTalkedToBy)
~ GOTO 8
  IF ~~ THEN REPLY #17087 /* ~Maybe some other time, Ignatio.~ */ GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 1.0
  SAY #17088 /* ~Yeah. Dig his style, too. Spikes and armor all over the place. Remind me to stay on his good side... if he has one, that is.~ */
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #17089 /* ~So can you get me in?~ */ GOTO 2
  IF ~  ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #17090 /* ~So can you get me in?~ */ GOTO 3
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #17091 /* ~So can you get me in?~ */ GOTO 4
  IF ~~ THEN REPLY #17092 /* ~Trust me, he doesn't.~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.3 1.1
  SAY #17093 /* ~Aye, you look like you'd know. Well, run while you can 'cause them Dukes have long arms, you see... Longer arms than folks like you or I would ever want to encounter.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 10.0 4.1 3.0 2.1
  SAY #17094 /* ~Aye, well I'll be around here somewheres, just in case you change you mind. Keep your head down out there, you hear?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 4.0 3.1 2.0
  SAY #17095 /* ~It's been a pleasure doing a little bit of illicit business with ya, then. Keep your head down out there, now, will ya?~ */
  IF ~~ THEN EXIT
END

IF ~  False()
~ THEN BEGIN 9 // from:
  SAY #17096 /* ~I don't recommend throwing your weight around in a place like this. You're liable to get hurt.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #17097 /* ~Sure ya don't want to schmooze with the Dukes?~ */
  IF ~~ THEN REPLY #17098 /* ~Yeah, I'm sure Ignatio.~ */ GOTO 7
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #17099 /* ~All right, all right.~ */ GOTO 2
  IF ~  ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #17100 /* ~All right, all right.~ */ GOTO 3
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #17101 /* ~All right, all right.~ */ GOTO 4
END

IF ~  True()
~ THEN BEGIN 11 // from:
  SAY #17319 /* ~Hey there again. I wouldn't miss that party at the palace if I were you. I hear that it's the place to be if you're anybody.~ */
  IF ~~ THEN EXIT
END
