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

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

IF WEIGHT #1 /* Triggers after states #: 12 even though they appear after this state */
~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #38032 /* ~Good morrow, to you. I have been informed that this is where I am to take custody of my goddaughter. I trust she is well.~ */
  IF ~~ THEN REPLY #38037 /* ~She is safe and sound, as promised. I trust you can verify your identity.~ */ GOTO 1
  IF ~~ THEN REPLY #38038 /* ~No thanks to her own efforts. You are welcome to her, if you truly are Hurgis.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.1 0.0
  SAY #38035 /* ~You may refer to me as Lord Baltezan, or Sire. I will not accept any delay in the delivery of this child into my care. Tell her it is time to go.~ */
  IF ~~ THEN REPLY #38051 /* ~Yes sire, I will tell her immediately. Will she recognize you when she sees you?~ */ GOTO 2
  IF ~~ THEN REPLY #38052 /* ~I apologize for my impudence, sire. I merely wished to confirm who you were.~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #38069 /* ~I doubt she will, though I attended her birth. No, you have only my word and the word of your superiors. That should suffice for a creature of duty such as you.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #38071 /* ~You have my word and the instruction of your Order. That should be enough. You value your service to the Order, do you not? Of course you do.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0 2.0
  SAY #38074 /* ~Now inform the child that I am here for her. I do not wish to tarry in this place, for it is known to her enemies. Be quick now.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisHere","GLOBAL",1)~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 12 even though they appear after this state */
~Global("HurgisHere","GLOBAL",1)~ THEN BEGIN 5 // from:
  SAY #38076 /* ~I cannot wait long; assassins will be rallying. True safety will only come back at my estate in Baldur's Gate. Deliver my goddaughter as ordered.~ */
  IF ~~ THEN REPLY #38080 /* ~Of course, Sire. Forgive my cautious nature.~ */ GOTO 6
  IF ~~ THEN REPLY #38081 /* ~I must insist on some verification of your identity. I must be sure.~ */ GOTO 7
  IF ~~ THEN REPLY #38082 /* ~And what if you turn out to be some cut-throat in disguise? Can I trust you?~ */ GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #38088 /* ~Caution must give way to action eventually, <GIRLBOY>. Worry all you wish but bring the child now or all is lost.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.2 5.1
  SAY #38090 /* ~Have you no instincts? Do you serve the Order without your heart's guidance? Bah, I have no time for doubters. Be swift and bring my goddaughter.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 12 even though they appear after this state */
~Global("HurgisHere","GLOBAL",2)~ THEN BEGIN 8 // from:
  SAY #38092 /* ~Well? Is she coming down or is she not? I do not have all night to waste.~ */
  IF ~~ THEN REPLY #38198 /* ~I will go get her directly. Sorry to have kept you waiting.~ */ GOTO 9
  IF ~~ THEN REPLY #38199 /* ~Are you certain you have no proof of your identity?~ */ GOTO 10
  IF ~~ THEN REPLY #38200 /* ~I do not trust you and I will not turn her over to you.~ */ GOTO 11
END

IF ~~ THEN BEGIN 9 // from: 11.0 10.0 8.0
  SAY #38205 /* ~Not at all. I would be cautious as well, but I would also carry out my duty with all haste.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 8.1
  SAY #38207 /* ~I need no proof of who I am, for I already know. Look, either go and get her or state that you will not, but be prepared to endure the consequences!~ */
  IF ~~ THEN REPLY #38213 /* ~I will go and fetch her directly. Sorry for the delay.~ */ GOTO 9
  IF ~~ THEN REPLY #38214 /* ~I do not trust you or this situation!~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.1 8.2
  SAY #38209 /* ~Are disobeying the direct orders of your superiors? Are you refusing your duty? Consider your next words. I will fight to take charge of my goddaughter!~ */
  IF ~~ THEN REPLY #38218 /* ~I will go and get her directly. Forgive my obstinate nature, but I had to be sure.~ */ GOTO 9
  IF ~~ THEN REPLY #38219 /* ~I do not trust you. I choose to fight, and I will deal with the consequences later!~ */ DO ~Enemy()~ EXIT
END

IF WEIGHT #0 ~Allegiance(Myself,ENEMY)~ THEN BEGIN 12 // from:
  SAY #38220 /* ~So be it! You will die in shame!~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF WEIGHT #4 ~Global("HurgisHere","GLOBAL",3)~ THEN BEGIN 13 // from:
  SAY #38221 /* ~I thank you for what you have done here. I have been served well, and will say so to your superiors. Tyrianna will be safe, you can be sure of that.~ */
  IF ~~ THEN DO ~SetGlobal("PaladinPlot","GLOBAL",21)
ActionOverride("PLGIRL01",EscapeArea())
EscapeArea()~ EXIT
END
