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

BEGIN ~TRGUARD~

IF ~~ THEN BEGIN 0 // from: TRAX:2.0
  SAY #541 /* ~(snicker)~ */
  IF ~~ THEN EXTERN ~TRAX~ 3
END

IF ~~ THEN BEGIN 1 // from: TRAX:4.0
  SAY #542 /* ~(You're not anyone's friend.)~ */
  IF ~~ THEN EXTERN ~TRAX~ 5
END

IF ~~ THEN BEGIN 2 // from: TRAX:5.0
  SAY #543 /* ~Sorry, sir.~ */
  IF ~~ THEN EXTERN ~TRAX~ 6
END

IF ~~ THEN BEGIN 3 // from: TRAX:10.0
  SAY #544 /* ~Who's the dangerous enemy?~ */
  IF ~~ THEN EXTERN ~TRAX~ 11
END

IF ~~ THEN BEGIN 4 // from:
  SAY #592 /* ~Ah, the fabled savior of yonder gnome. You've come to pay his fine?~ */
  IF ~~ THEN REPLY #593 /* ~Yes, I would like to pay his fine.~ */ GOTO 5
  IF ~~ THEN REPLY #594 /* ~I don't know what you're talking about. What gnome?~ */ GOTO 7
  IF ~~ THEN REPLY #598 /* ~He would like to think so but I am not planning to pay his way out of jail.~ */ GOTO 9
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #599 /* ~At last! That gnome is the worst prisoner I ever had!  He keeps picking the lock, complains about the food... even my hygiene!  Just pay the 800gp and take him!~ */
  IF ~~ THEN REPLY #600 /* ~I'm afraid that I don't have enough gold right now.~ */ GOTO 6
  IF ~~ THEN REPLY #601 /* ~I've changed my mind. Enjoy your day!~ */ GOTO 9
  IF ~~ THEN REPLY #602 /* ~Here is your gold.~ */ GOTO 10
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #603 /* ~Look, I can spot you 200gp. Do you have just 600gp?~ */
  IF ~PartyGoldGT(599)
~ THEN REPLY #604 /* ~Yes, I do. It's a deal.~ */ GOTO 11
  IF ~PartyGoldLT(600)
~ THEN REPLY #605 /* ~I'm afraid that I just don't have enough.~ */ GOTO 9
  IF ~~ THEN REPLY #606 /* ~I refuse to take your charity. You'll simply have to wait.~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 4.1
  SAY #607 /* ~You're not <CHARNAME>? Ah, well. I guess I'll just cling to the hope that someone will bail him out... or buy me enough liquor to drink myself senseless.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 9.0 6.2
  SAY #608 /* ~Ah, well. I suppose I shall have to cling to the hope that someone will bail him or at least buy me enough liquor to drink myself senseless.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.1 5.1 4.2
  SAY #609 /* ~Am I to be cursed with this gnome forever? You're driving me to drink! You and my mother, both. Take pity on a simple man... come back and pay the fine.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 10 // from: 5.2
  SAY #612 /* ~Excellent! He is free so, please, take him and go.~ */
  IF ~~ THEN DO ~SetGlobal("JanFree","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 11 // from: 6.0
  SAY #613 /* ~Most excellent! He is free so, please, take him and go. Remember, you do owe me 200gp.~ */
  IF ~~ THEN DO ~SetGlobal("JanFree","GLOBAL",1)
SetGlobal("Owe","LOCALS",1)
~ EXIT
END
