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

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

IF WEIGHT #1 /* Triggers after states #: 9 even though they appear after this state */
~  OR(2)
GlobalLT("DORNPLOT","GLOBAL",2)
!InParty("DORN")
~ THEN BEGIN 0 // from:
  SAY #28576 /* ~Oh, you haven't seen a man about uhm... this tall and, oh, this wide have you? That lout!~ [DN35] */
  IF ~~ THEN REPLY #28577 /* ~I'm sorry, I can't help you.~ */ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 9 even though they appear after this state */
~  Global("DORNPLOT","GLOBAL",2)
~ THEN BEGIN 1 // from:
  SAY #28576 /* ~Oh, you haven't seen a man about uhm... this tall and, oh, this wide have you? That lout!~ [DN35] */
  IF ~~ THEN REPLY #28578 /* ~I may be able to aid you, if you give me the information I seek.~ */ GOTO 2
  IF ~~ THEN REPLY #28577 /* ~I'm sorry, I can't help you.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #28579 /* ~I don't know very much about this area, <SIRMAAM>. I am looking for my husband, you see. He left me a week ago and— Oh, the danger on the roads, and then that AWFUL woman. I've been trying to find him ever since.~ [DN37] */
  IF ~~ THEN REPLY #28580 /* ~This woman you mentioned, would she be a mage of some sort?~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #28581 /* ~Well, my <LADYLORD>, I don't really know. My husband has vanished. He was seen heading east in the company of some woman. I followed them for a while, but the wilderness became too dangerous!~ [DN38] */
  IF ~~ THEN REPLY #28582 /* ~Please continue, and do not leave anything out. Even the smallest detail could aid me in finding your husband.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #28583 /* ~When I asked some of the other people here in town, they said that woman had lured several men away, not just my husband. I don't know what kind of game she thinks she's playing, but it isn't natural.~ [DN39] */
  IF ~  InParty("DORN")
~ THEN REPLY #21253 /* ~Go on.~ */ DO ~SetGlobal("DORNTARIS","GLOBAL",1)
~ EXTERN ~DORNJ~ 15
  IF ~  !InParty("DORN")
~ THEN DO ~SetGlobal("DORNTARIS","GLOBAL",2)
~ GOTO 5
END

IF WEIGHT #3 /* Triggers after states #: 9 even though they appear after this state */
~  Global("DORNTARIS","GLOBAL",2)
~ THEN BEGIN 5 // from: 4.1
  SAY #28584 /* ~That's really all I know. Somewhere to the east, perhaps past the mines. I miss Hagar so much, but I don't know if I could ever forgive him.~ [DN41] */
  IF ~~ THEN REPLY #28585 /* ~East of the mines, you say? And you haven't been able to search that area?~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #28586 /* ~Oh no, it's far too dangerous. I really don't know what to do. I have little money, and my husband is off with that wench! That horrible woman has stolen my Hagar!~ [DN42] */
  IF ~~ THEN REPLY #28587 /* ~Please, calm yourself. I will do my best to locate your husband, wait here for as long as you can.~ */ GOTO 7
  IF ~~ THEN REPLY #28588 /* ~Sounds like you need a new husband.~ */ GOTO 8
  IF ~  InParty("DORN")
~ THEN REPLY #28589 /* ~Dorn, do you have any idea why Kryll would have a group of followers?~ */ DO ~SetGlobal("DORNTARIS","GLOBAL",3)
~ EXTERN ~DORNJ~ 16
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #28590 /* ~Thank you, <SIRMAAM>! Thank you so much... I shall remain here while you search for Hagar.~ [DN43] */
  IF ~~ THEN DO ~EraseJournalEntry(28403)
SetGlobal("DORNTARIS","GLOBAL",4)
AddJournalEntry(28427,QUEST)
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #31699 /* ~I know most women would just move on, but Hagar loved me! I can't imagine him leaving me for some tramp, but I can't think of any other reason. That doesn't explain the others who left with her, but none of this makes any sense.~ [DN44] */
  IF ~~ THEN REPLY #31700 /* ~I'll see what I can do about Hagar. Wait here.~ */ DO ~EraseJournalEntry(28403)
SetGlobal("DORNTARIS","GLOBAL",4)
AddJournalEntry(28427,QUEST)
~ EXIT
END

IF WEIGHT #0 ~  GlobalGT("DORNPLOT","GLOBAL",1)
Global("DORNTARIS","GLOBAL",4)
~ THEN BEGIN 9 // from:
  SAY #28591 /* ~Have you tracked down Hagar yet? Do you know where he's gotten himself to?~ [DN45A] */
  IF ~  GlobalGT("DORNPLOT","GLOBAL",2)
~ THEN REPLY #28592 /* ~I don't know for sure that one was Hagar, but all of the people with Kryll met an untimely demise.~ */ GOTO 10
  IF ~~ THEN REPLY #20061 /* ~Not yet.~ */ EXIT
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #28593 /* ~Oh, no! I can't... Hagar must have been among them, I know it. I know he left me, but... oh poor Hagar! How did he die? Please. Tell me.~ [DN45C] */
  IF ~~ THEN REPLY #28594 /* ~He passed away peacefully, but Kryll, the woman he followed, was responsible.~ */ GOTO 14
  IF ~~ THEN REPLY #28595 /* ~His death was gruesome, but at least it was quick.~ */ GOTO 14
  IF ~~ THEN REPLY #28596 /* ~His skeleton LITERALLY leapt out of his body, and flesh went FLYING in every direction. It was quite a sight.~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.2
  SAY #28597 /* ~That is horrible! Why would you tell me in such a manner?!~ [DN45D] */
  IF ~~ THEN REPLY #28598 /* ~When I witnessed the spectacle of his death, all I could think was "Ouch! Ow! Yowzers!" It was fantastic! Bzow, boom, splort, and then a rain of various body parts!~ */ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #28599 /* ~What? I don't...~ [DN45E] */
  IF ~~ THEN REPLY #28600 /* ~I wish I could create a picture of it, but there isn't enough red paint in all the realms.~ */ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #28601 /* ~What is wrong with you, you monster?!~ [DN45F] */
  IF ~~ THEN REPLY #28531 /* ~Calm yourself, woman! Your knickers are becoming dangerously twisted!~ */ DO ~ActionOverride("TARIS",Enemy())
~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 10.1 10.0
  SAY #28532 /* ~Maybe it's better that I don't hear the details. Thank you for your help, but I must leave this place. I need to be alone.~ [DN45G] */
  IF ~~ THEN DO ~ActionOverride("TARIS",EscapeArea())
~ EXIT
END
