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

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

IF WEIGHT #1 /* Triggers after states #: 7 even though they appear after this state */
~NumTimesTalkedToLT(3)
~ THEN BEGIN 0 // from:
  SAY #76484 /* ~'Allo friend, nice to see you.  Terribly sorry, but I've got the unfortunate duty to tell you that we've come to kill you.  Bounty on your heads and all that sort of thing, so if you could just be a sport and prepare to die and all that, we'll get on with the collection proper.~ */
  IF ~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 1
  IF ~NumberOfTimesTalkedTo(1)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 2
  IF ~NumberOfTimesTalkedTo(2)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 2
  IF ~NumTimesTalkedToGT(0)
NumTimesTalkedToLT(3)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~~ THEN REPLY #76486 /* ~If you think you have the strength to best me, then bring it to bear!  Failure means your death!~ */ GOTO 6
  IF ~~ THEN REPLY #76487 /* ~I have the right to know my accusers!  Who has hired you and why?!~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 5.0 0.0
  SAY #76488 /* ~Perhaps.  I might be swayed by a sum equal to the price on your head, but only because I like you.  3,000 gold should just about cover it.  What say you to that?~ */
  IF ~~ THEN REPLY #76489 /* ~I cannot pay that amount.  Could you not make an exception in this case?~ */ GOTO 4
  IF ~PartyGoldGT(3000)
~ THEN REPLY #76490 /* ~Here is your gold.  A pleasure doing business with you.~ */ DO ~TakePartyGold(3000)
~ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 5.3 5.1 0.3 0.1
  SAY #76491 /* ~Your crimes have been abominable... but not wholly unforgivable at the right price.  For the life-giving sum of 8,000 gold I will spare your head 'til another day.  That is my offer.~ */
  IF ~~ THEN REPLY #76489 /* ~I cannot pay that amount.  Could you not make an exception in this case?~ */ GOTO 4
  IF ~PartyGoldGT(8000)
~ THEN REPLY #76490 /* ~Here is your gold.  A pleasure doing business with you.~ */ DO ~TakePartyGold(8000)
~ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.1
  SAY #76492 /* ~I did no business with the likes of you.  I have never seen you.  That is my story and I shall stick to it.  Good day.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 5.5 5.4 5.2 2.0 1.0 0.5 0.4 0.2
  SAY #76493 /* ~In a word, no.  As a duly appointed bounty hunter I hereby claim your head as payment for your crimes!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.7
  SAY #76494 /* ~If you must know, local authorities have hired me to bring an end to your murderous ways.  Bluntly put, you are a criminal and I am the law.  Have you any other questions?~ */
  IF ~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 1
  IF ~NumberOfTimesTalkedTo(1)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 2
  IF ~NumberOfTimesTalkedTo(2)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 2
  IF ~NumTimesTalkedToGT(0)
NumTimesTalkedToLT(3)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #76485 /* ~Now, can we not come to some sort of agreement?  Perhaps a bit of gold to "ease" your conviction to your cause?~ */ GOTO 4
  IF ~~ THEN REPLY #76486 /* ~If you think you have the strength to best me, then bring it to bear!  Failure means your death!~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.6 0.6
  SAY #76495 /* ~I am rather good at what I do, so I doubt failure shall enter into it.  Defend yourself!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 7 // from:
  SAY #76496 /* ~Perhaps I needn't take your head just yet, friend.  Likely though, I will not be quite so easy to dissuade when next we meet.  Just a friendly warning.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~True()
~ THEN BEGIN 8 // from:
  SAY #76497 /* ~You are quite foolish to think your simple little magical blathering could permanently put me off your scent.  You should have run while you had the chance!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ EXIT
END
