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

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

IF ~~ THEN BEGIN 0 // from: 8.0
  SAY #19461 /* ~Be thee not of impure heart or thou wilt surely destroy thyself. Kalah is the one Ruler, the One True Being.~ */
  IF ~~ THEN REPLY #19462 /* ~Who exactly is Kalah and where is this realm of his that I have come to?~ */ GOTO 1
  IF ~~ THEN REPLY #19463 /* ~Thank you for your welcome and I shall most certainly beware.~ */ GOTO 2
  IF ~~ THEN REPLY #19464 /* ~I've come to see the circus, not some half-dressed tart spouting dire warnings!~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 6.3 3.1 0.0
  SAY #19465 /* ~Kalah is beyond thy ken, mortal! He is the Beginning. He is the End. He is our God and our King. Tremble before him and he may take pity on thee.~ */
  IF ~~ THEN REPLY #19466 /* ~I am my own person and not this Kalah's possession.~ */ GOTO 4
  IF ~~ THEN REPLY #19469 /* ~I've come to see the circus, not some half-dressed tart spouting dire warnings!~ */ GOTO 3
  IF ~~ THEN REPLY #19470 /* ~Interesting. I thank you for your advice. Farewell.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 6.2 4.1 3.2 1.2 0.1
  SAY #19492 /* ~Kalah's blessing upon thee, <LADYLORD>.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 6.1 4.2 1.1 0.2
  SAY #19507 /* ~The circus is no more. Kalah's power has removed its baneful influence. Question not Lord Kalah, mortal!~ */
  IF ~~ THEN REPLY #19509 /* ~Where can I find Kalah?~ */ GOTO 5
  IF ~~ THEN REPLY #19519 /* ~Who exactly is this Kalah?~ */ GOTO 1
  IF ~~ THEN REPLY #19523 /* ~Thank you for the information. Farewell.~ */ GOTO 2
END

IF ~~ THEN BEGIN 4 // from: 1.0
  SAY #19524 /* ~Bow before the will of thy betters, mortal! Kalah's rage is awesome to behold. Let not thyself be found in its path.~ */
  IF ~~ THEN REPLY #19527 /* ~Where can I find Kalah?~ */ GOTO 5
  IF ~~ THEN REPLY #19536 /* ~Thank you for the information. Farewell.~ */ GOTO 2
  IF ~~ THEN REPLY #19538 /* ~I've come to see the circus, not some half-dressed tart spouting dire warnings!~ */ GOTO 3
END

IF ~~ THEN BEGIN 5 // from: 6.0 4.0 3.0
  SAY #19539 /* ~Worry not, <LADYLORD>, for Kalah has already found thee.~ */
  IF ~~ THEN GOTO 9
END

IF WEIGHT #2 /* Triggers after states #: 7 8 even though they appear after this state */
~True()
~ THEN BEGIN 6 // from:
  SAY #19543 /* ~Welcome and beware! Is there aught else that you require of me, <LADYLORD>?~ */
  IF ~~ THEN REPLY #19544 /* ~Where can I find Kalah?~ */ GOTO 5
  IF ~~ THEN REPLY #19546 /* ~I've come to see the circus, not some half-dressed tart spouting dire warnings!~ */ GOTO 3
  IF ~~ THEN REPLY #19547 /* ~I need nothing else at this time, thank you.~ */ GOTO 2
  IF ~~ THEN REPLY #19548 /* ~Who is Kalah?~ */ GOTO 1
END

IF WEIGHT #0 ~Global("Attacked","LOCALS",1)
~ THEN BEGIN 7 // from:
  SAY #19559 /* ~Kalah will destroy you!~ */
  IF ~~ THEN DO ~ForceSpell(Myself,DRYAD_TELEPORT)
~ EXIT
END

IF WEIGHT #1 ~NumTimesTalkedTo(0)
~ THEN BEGIN 8 // from:
  SAY #19802 /* ~Welcome, <LADYLORD>, to Kalah's realm. Be thee not of impure mind for surely Lord Kalah shall destroy thee.~ */
  IF ~~ THEN GOTO 0
END

IF ~~ THEN BEGIN 9 // from: 5.0
  SAY #23273 /* ~Continue on thy path and if thee should find favor in Kalah's eyes then thou shalt surely be granted an audience.~ */
  IF ~~ THEN EXIT
END
