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

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

IF WEIGHT #2 /* Triggers after states #: 8 even though they appear after this state */
~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN BEGIN 0 // from:
  SAY #272 /* ~Kamikaze Kobold~ */
  IF ~~ THEN REPLY #278 /* ~I can make do with that. Let me just go fetch the jewel from where I've hidden it.~ */ GOTO 5
  IF ~~ THEN REPLY #280 /* ~Don't make me laugh. Goodbye, Miss Raelis, I think our business here is through.~ */ GOTO 4
  IF ~~ THEN REPLY #282 /* ~Aye, for a thousand I'll do your deed. Come, Haer'Dalis, let us find ourselves a gem.~ */ GOTO 2
END

IF WEIGHT #3 /* Triggers after states #: 8 even though they appear after this state */
~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
  SAY #273 /* ~Kamikaze Kobold~ */
  IF ~~ THEN REPLY #279 /* ~Don't make me laugh. Goodbye, Miss Raelis, I think our business here is through.~ */ GOTO 5
  IF ~~ THEN REPLY #281 /* ~You go nowhere, <CHARNAME>. Miss Raelis, call the others. These ravens must not leave here with the stone!~ */ GOTO 4
  IF ~~ THEN REPLY #283 /* ~Neither for a thousand nor a hundred thousand shall I be your gnomish errand-beast. Come, Haer'Dalis, your friends are wearing on my patience.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.2 0.2
  SAY #274 /* ~It is here, my lady, resting safe with us... I, uh, promised these ravens of mine you would reward them.~ */
  IF ~~ THEN REPLY #284 /* ~We will be back, Miss Raelis.~ */ GOTO 5
  IF ~~ THEN REPLY #285 /* ~Be you my captain, jailer, friend, or thief, I shall not have you speak so unto Miss Raelis! Make room for my blades amidst your innards, fool, for that is where they're heading!~ */ GOTO 4
  IF ~~ THEN REPLY #286 /* ~Zombie Wolf~ */ GOTO 6
END

IF WEIGHT #4 /* Triggers after states #: 8 even though they appear after this state */
~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN BEGIN 3 // from:
  SAY #275 /* ~No, my lady, we do not. It seems my ravens need a little more convincing.~ */
  IF ~~ THEN DO ~TakePartyItem("SW1H13")
MoveToPoint([113.695])
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.1 1.1 0.1
  SAY #276 /* ~Very well. I have upon me 700 coins. Will that be enough?~ */
  IF ~~ THEN DO ~TakePartyItem("SW1H13")
MoveToPoint([113.695])
EscapeArea()
~ JOURNAL #16551 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.0 1.0 0.0
  SAY #277 /* ~Your purse is generous. Here, then, is the stone you covet.~ */
  IF ~~ THEN DO ~JoinParty()
~ JOURNAL #16552 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.2
  SAY #287 /* ~Good, for our time grows short. Here is the thousand gold. Haer' Dalis, tell your friends what we are about. I must prepare the jewel for its summoning.~ */
  IF ~~ THEN DO ~TakePartyItem("SW1H13")
MoveToPoint([113.695])
EscapeArea()
~ JOURNAL #16551 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #6433 /* ~Wanna go kill that over there? C'mon, let's kill somthin'!~ [SSWORD68] */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 8 // from:
  SAY #6434 /* ~Hot butta!~ [SSWORD69] */
  IF ~~ THEN JOURNAL #16553 /* ~Investigate activities in the Copper Coronet's rooms.

I have encountered a slave called Hendak in the Copper Coronet's pen. He asked me to help him escape.  I refused.~ */ EXIT
END

IF ~~ THEN BEGIN 9 // from:
  SAY #14747 /* ~Albert~ */
  IF ~~ THEN DO ~~ EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #14748 /* ~You wouldn't happen to know who those men were who the wizard was fighting, do you?~ */
  IF ~~ THEN DO ~~ EXIT
END
