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

BEGIN ~KPLEND02~

IF ~~ THEN BEGIN 0 // from: KPLEND01:0.0
  SAY #40526 /* ~Just tell him and get it over with!~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 1
END

IF ~~ THEN BEGIN 1 // from: KPLEND01:1.0
  SAY #40528 /* ~A debt in the amount of two thousand gold pieces.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 2
END

IF ~~ THEN BEGIN 2 // from: KPLEND01:3.0
  SAY #40533 /* ~In fact, we have a scrip, here, asserting such... and it has his seal upon it.  Fully documented and legal, I assure you.~ */
  IF ~~ THEN EXTERN ~KPDOMO01~ 94
END

IF ~~ THEN BEGIN 3 // from: KPDOMO01:96.0
  SAY #40538 /* ~It is not a forgery.  We did not come here to cause any trouble, just to collect a simple outstanding debt.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 4
END

IF ~~ THEN BEGIN 4 // from: KPLEND01:4.0
  SAY #40541 /* ~So... if you refuse to honor this scrip, we will be forced to take other measures.  There are at least, oh, perhaps a dozen locals who owe us upward of a thousand crowns.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 5
END

IF ~~ THEN BEGIN 5 // from: KPLEND01:6.0
  SAY #40544 /* ~So, <PRO_LADYLORD> <CHARNAME>... what will it be?~ */
  IF ~PartyGoldGT(1999)~ THEN REPLY #40547 /* ~Very well.  I will pay you your 2,000 gold pieces.~ */ DO ~TakePartyGold(2000)~ GOTO 6
  IF ~PartyGoldGT(999)
CheckStatGT(Player1,14,CHR)~ THEN REPLY #40548 /* ~I am not Lord de'Arnise.  But I will pay you, say, 1,000 gp to get rid of you and protect my people.~ */ DO ~TakePartyGold(1000)~ GOTO 7
  IF ~PartyGoldGT(999)
CheckStatLT(Player1,15,CHR)~ THEN REPLY #40549 /* ~I am not Lord de'Arnise.  But I will pay you, say, 1,000 gp to get rid of you and protect my people.~ */ GOTO 9
  IF ~~ THEN REPLY #40550 /* ~I will not be threatened.  And I believe you are crooks.  Take them away immediately and execute them!~ */ GOTO 10
  IF ~~ THEN REPLY #40551 /* ~You will get nothing out of me.  Begone, before I have you executed!~ */ GOTO 12
END

IF ~~ THEN BEGIN 6 // from: 5.0 KPLEND01:9.0
  SAY #40552 /* ~Very good, <PRO_LADYLORD> <CHARNAME>.  You are a sensible <PRO_MANWOMAN>.  Your debt is hereby paid in full.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 7
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #40554 /* ~Hmm.  I suppose we should take what we can get, considering that the old Lord is dead and gone.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 8
END

IF ~~ THEN BEGIN 8 // from: KPLEND01:8.0
  SAY #40556 /* ~Very well, <PRO_LADYLORD> <CHARNAME>... we will take what you offer and consider the matter settled.  Thank you and good day.~ */
  IF ~~ THEN DO ~ActionOverride("kplend01",MoveToPoint([1549.1192]))
ActionOverride("kplend01",EscapeArea())
MoveToPoint([1499.1196])
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 5.2
  SAY #40557 /* ~But the amount owed to us is two thousand crowns, my <PRO_LADYLORD> <CHARNAME>.~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 9
END

IF ~~ THEN BEGIN 10 // from: 5.3 KPLEND01:9.2
  SAY #40562 /* ~Wh-what?!~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 10
END

IF ~~ THEN BEGIN 11 // from: KPLEND01:10.0
  SAY #40564 /* ~You'll pay for this, <CHARNAME>!  Your people owe us the money, and it WILL be collected!!~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut32i")
~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 5.4 KPLEND01:9.1
  SAY #40573 /* ~You have not heard the last of us, then, <CHARNAME>!~ */
  IF ~~ THEN EXTERN ~KPLEND01~ 11
END
