// creator  : weidu.exe (version 23600)
// argument : DEAGAN.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 7 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #1262 /* ~Can I have a moment of your time?~ */
  IF ~~ THEN REPLY #1269 /* ~No, get out of my face.~ */ GOTO 1
  IF ~~ THEN REPLY #1270 /* ~What do you want?~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #1263 /* ~You needn't be rude.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #1264 /* ~I have heard around town that there is a freelance group of mercenaries who have recently arrived. Would you be those people?~ */
  IF ~~ THEN REPLY #1271 /* ~Got the wrong people, now we have to be on our way.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #1272 /* ~What's it to you?~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.1
  SAY #1265 /* ~Before we go on, perhaps it would be well if I introduced myself. I am Deagan, employee of the Merchants' League. My master has need of services that only you would be able to provide. He is one of the owners of the Merchants' League Estate. If you were willing to speak with him in private, he would pay you 5 gold each, before you agreed to do anything for him. What do you say?~ */
  IF ~~ THEN REPLY #1273 /* ~I say nay.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #1274 /* ~Free money, why not?~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1
  SAY #1266 /* ~If you would be kind enough to follow me, I can show you to him right away. He wishes to meet with you at the Three Old Kegs.~ */
  IF ~~ THEN JOURNAL #6579 /* ~We have agreed to follow a man named Deagan to see his master in the Three Old Kegs inn.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #1267 /* ~I thought you had agreed to come. You haven't changed your minds, have you?~ */
  IF ~~ THEN REPLY #1275 /* ~Hold your horses, we're coming!~ */ EXIT
  IF ~~ THEN REPLY #1276 /* ~Actually we have, bye.~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #1268 /* ~This is my master, Aldeth Sashenstar.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 7 // from:
  SAY #3684 /* ~My name is Deagan, and I'm a servitor to Aldeth Sashenstar. Recently there have been problems at the Merchants' League Estate, which my master owns. He gave me orders to find a team of mercenaries that would be able to help him out. I really don't have much more to say, unless you'd like to hear about the problems I've been having with my wife. No? Okay then.~ */
  IF ~~ THEN JOURNAL #6580 /* ~When we charmed Deagan we learned that there have been many troubles at the Merchants' League Estate.~ */ EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #8965 /* ~I'll not speak a word after what you did!~ */
  IF ~~ THEN EXIT
END
