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

BEGIN ~HURGAN~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #21243 /* ~Working for Mae'Var will give you plenty of rewards on its own, and I have no qualms about adding a healthy dose of gold on top of that. Does that satisfy?~ */
  IF ~~ THEN REPLY #21244 /* ~Why you don't put one of your own men on this task. Why do you need me?~ */ GOTO 1
  IF ~~ THEN REPLY #21245 /* ~I would like to know more specifics of this task.~ */ GOTO 2
  IF ~~ THEN REPLY #21246 /* ~That sounds fine.  I agree to do as you ask.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #21247 /* ~No, I'm not interested.  Excuse me.~ */
  IF ~~ THEN REPLY #21248 /* ~Yes, the details. How shall I put this? One of my guildhouses to the south is run by a rather ambitious fellow named Mae'Var. Good thief, but I never liked him. Now I know why.~ [RENAL08] */ GOTO 4
  IF ~~ THEN REPLY #21249 /* ~I've had some hints that he is getting too big for himself. Thinking of taking my place, I suspect, but I've had no real evidence to say that this is so.~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 21.1 13.1 9.0 7.2 0.1
  SAY #21250 /* ~But without proof of betrayal, this would anger the other guildmasters and then I'd have a war on my hands and, well, just let it lie that I don't want that.~ */
  IF ~~ THEN DO ~SetGlobal("TalkToHurgan","GLOBAL",1)
~ JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 4.2 0.2
  SAY #21251 /* ~I will give you papers saying you were being transferred by the Shadow Master. You will spy on Mae'Var from the inside and find me the evidence that I need.~ */
  IF ~~ THEN DO ~SetGlobal("TalkToHurgan","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 9.1 5.0 1.0
  SAY #21252 /* ~You'll need to reassure Mae'Var, naturally. He won't know who you are, but I am confident that you are more than capable of this. What say you? Interested?~ */
  IF ~~ THEN REPLY #21253 /* ~Why don't you send one of your own men to do this?~ */ GOTO 6
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)~ THEN REPLY #21254 /* ~What kind of reward would I be looking at for this?~ */ GOTO 8
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #21255 /* ~What kind of reward would I be looking at for this?~ */ GOTO 3
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)~ THEN REPLY #22133 /* ~First tell me who you are and what you are doing here.~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 1.1
  SAY #21258 /* ~Well, it can't be said I didn't try. I'm sure that you understand the importance of not repeating what we've discussed. It wouldn't be particularly... healthy.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 6 // from: 8.0 4.3 4.0
  SAY #21259 /* ~But don't look on that as a threat, truly.  We're all good friends here, right?  If you change your mind, do come back and we'll talk again.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #21260 /* ~Excellent. I knew this would work out for the best. You remind me a bit of myself when I first arrived here.~ */
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #21261 /* ~Here are the papers you need to present to Mae'Var's men to gain access. I'm sure I don't have to tell you to be careful, do I?  No, I didn't think so.~ */ GOTO 11
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #21262 /* ~Just head to the storefront in the central Docks area and speak to the storekeeper, Gorch.  Show the papers to him and he'll let you in the guildhouse proper.~ */ GOTO 10
  IF ~~ THEN REPLY #21263 /* ~Work for Mae'Var as long as it takes to collect your evidence, and bring whatever you can find to me.  I'll be waiting to receive it most eagerly.~ */ GOTO 2
  IF ~~ THEN REPLY #21264 /* ~Well, hello once again, <CHARNAME>.  My, you turn up more often than a bad copper, don't you. I trust you've changed your mind about my proposal?~ */ GOTO 12
END

IF ~~ THEN BEGIN 8 // from: 4.1
  SAY #21270 /* ~Why did you bother me, then? Hmph. If you change your mind, let's speak again. Otherwise, keep yourself busy elsewhere.~ */
  IF ~~ THEN GOTO 6
END

IF ~Global("TalkToHurgan","GLOBAL",1)
Global("Hurganquest","GLOBAL",0)
Global("Cult1","GLOBAL",0)~ THEN BEGIN 9 // from:
  SAY #21272 /* ~I spoke to a thief named Embarl who overheard Mae'Var planning to assassinate you.~ */
  IF ~~ THEN REPLY #21274 /* ~Hmmn.  But you have nothing in writing?  No confession?  No orders given to his men?  I'm afraid that this tale does me little good.~ */ GOTO 2
  IF ~~ THEN REPLY #21275 /* ~Even if you got this Embarl alive, he's of no use as evidence. If rumor were proof, half of my guildmasters could be plotting my assassination on any given day.~ */ GOTO 4
END

IF ~~ THEN BEGIN 10 // from: 7.1
  SAY #21273 /* ~No, I don't have anything to tell you at the moment.~ */
  IF ~~ THEN REPLY #21276 /* ~What I need is confirmation, something in writing with fingerprints all but covering it. No, this isn't enough. Return to Mae'Var and continue investigating.~ */ DO ~SetGlobal("Hurganhamm","GLOBAL",1)
~ GOTO 12
  IF ~~ THEN REPLY #21277 /* ~ Arvoreen protect me!~ [MAZZY02] */ GOTO 13
END

IF ~~ THEN BEGIN 11 // from: 7.0
  SAY #21278 /* ~ I am most pleased with the efforts this party is making... I am proud to be a part of it.~ [MAZZY03] */
  IF ~~ THEN REPLY #21280 /* ~ I trust that this current... direction... we are on will not continue.~ [MAZZY04] */ DO ~SetGlobal("Hurgangold","GLOBAL",1)
~ GOTO 12
  IF ~~ THEN REPLY #21281 /* ~ I am warning you... as a defender of the right, I will not tolerate this sort of behavior!~ [MAZZY05] */ GOTO 21
END

IF ~~ THEN BEGIN 12 // from: 21.0 13.0 11.0 10.0 7.3
  SAY #21282 /* ~ You are a vile and inconsiderate lout, and our association is at an end!~ [MAZZY06] */
  IF ~~ THEN DO ~RevealAreaOnMap("AR0500")
SetGlobal("Hurganquest","GLOBAL",1)
~ JOURNAL #22911 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 13 // from: 10.1
  SAY #21284 /* ~ <yawn>  I am willing to continue, if needed... but I would vote to stop and rest.~ [MAZZY08] */
  IF ~~ THEN REPLY #21285 /* ~Renal Bloodscalp~ */ DO ~SetGlobal("Hurganhamm","GLOBAL",1)
~ GOTO 12
  IF ~~ THEN REPLY #21286 /* ~Renal Bloodscalp~ */ GOTO 2
END

IF ~Global("Hurganquest","GLOBAL",1)
Global("Cult1","GLOBAL",0)~ THEN BEGIN 14 // from:
  SAY #21287 /* ~It is good to speak to you once again, my dear <LADYLORD>.  Tell me, have you acquired what I seek?~ */
  IF ~~ THEN EXIT
END

IF ~Global("Cult1","GLOBAL",1)
Global("Hurgandemon","GLOBAL",0)~ THEN BEGIN 15 // from:
  SAY #21289 /* ~ I was never one to enjoy sitting still for long.  I hope you shall have something for me to do soon.~ [MAZZY09] */
  IF ~~ THEN REPLY #21290 /* ~Ah, <CHARNAME>!  I was just counting some loot from a delightful outing we had not long ago and I thought of you.  Mask help me if I didn't smile just a little!~ */ GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #21293 /* ~Is that so?  Hmmn.  Now, that is unexpected.  Fortunately, it's more than enough to damn Mae'Var completely.  I thank you, <CHARNAME>, for providing this.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.0
  SAY #21294 /* ~Once he is damned with proof, you can take care of this nuisance and eliminate Mae'Var.  One less headache for a busy man such as myself to be concerned with.~ */
  IF ~~ THEN DO ~SetGlobal("Hurgandemon","GLOBAL",1)
~ JOURNAL #22914 /* ~Helping Tiris in Trademeet

It appears that not all was as it seemed!  'Raissa' appears to be, in fact, Rejiek... who is also one of the skinless creatures.  So is Darsidian... this was all a set up to make me believe that Rejiek was finally dead!~ */ EXIT
END

IF ~Global("Hurgandemon","GLOBAL",1)
!Dead("Tanar")
~ THEN BEGIN 18 // from:
  SAY #21295 /* ~Only the last part of our deal remains to be carried out. Go and eliminate Mae'Var then, with my full authority.  Do that and this business shall be finished, finally.~ [RENAL09] */
  IF ~~ THEN EXIT
END

IF ~Dead("Tanar")
~ THEN BEGIN 19 // from:
  SAY #21296 /* ~Very well.  I'll go and eliminate the scum for you and return.~ */
  IF ~Global("Hurganhamm","GLOBAL",1)~ THEN REPLY #21297 /* ~I'm no assassin, Renal. I've provided the evidence to you. Kill Mae'Var, yourself.~ */ GOTO 22
  IF ~Global("Hurgangold","GLOBAL",1)~ THEN REPLY #22124 /* ~I await your next order, Bodhi.~ */ GOTO 20
  IF ~~ THEN REPLY #24119 /* ~I've seen that he doesn't show you enough respect. I have a love potion here. If you pour the potion into his ale when he arrives tonight, I guarantee that he'll be nice.~ */ GOTO 23
END

IF ~~ THEN BEGIN 20 // from: 19.1
  SAY #21298 /* ~The first part that needs to be taken care of, naturally, is finding the evidence on Mae'Var.~ */
  IF ~~ THEN REPLY #21334 /* ~You're here to talk to Renal, aren't you?  So talk to him.~ */ DO ~GiveGoldForce(2000)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 21 // from: 11.1
  SAY #21324 /* ~Move on, you.  This here be no place to concern ye.~ */
  IF ~~ THEN REPLY #21327 /* ~Ye're welcome to enter th' guild, as ye wishes.  Go on in.~ */ DO ~SetGlobal("Hurgold","GLOBAL",1)~ GOTO 12
  IF ~~ THEN REPLY #21330 /* ~Ye can do as ye likes in the guildhall, but don't get into trouble.~ */ GOTO 2
END

IF ~~ THEN BEGIN 22 // from: 19.0
  SAY #22127 /* ~Patience, I will honor our deal.  Indeed, I will be glad to see you to your destination.  However, if my tasks are left undone, your trip will not be possible.~ */
  IF ~~ THEN REPLY #21335 /* ~I'm one of the Bloodscalp's personal guards.  Don't mess with him and you won't have to mess with me.~ */ DO ~GiveItem("hamm04",LastTalkedToBy)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 23 // from: 19.2
  SAY #24120 /* ~Ya don't have to be all mean. Go away.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END
