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

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

IF WEIGHT #1 /* Triggers after states #: 10 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #1352 /* ~Who are you?~ */
  IF ~~ THEN REPLY #1362 /* ~My wings have been clipped... oh, I wish you could understand how it feels to be bound to the ground, chained and weighted like a miserable prisoner of earth...~ [AERIE88] */ EXIT
  IF ~~ THEN REPLY #1363 /* ~Save Jaheira from Baron Ployer's curse.

I found a man named Corneil in the government building who seemed to be responsible for the Cowled Wizards in some way, but was certainly not very forthcoming... there is no help here for Jaheira that I can find.~ */ DO ~TakePartyGold(50)
~ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #1353 /* ~Oh, I shall certainly save it. I shall save it just long enough to bring the fury of mother earth upon that fat slaver that would imprison her children.~ */
  IF ~!Dead("Rieltar")
~ THEN REPLY #1364 /* ~What was it like to fly, Aerie?~ */ GOTO 2
  IF ~~ THEN REPLY #1365 /* ~Plath Rededge~ */ GOTO 9
  IF ~Global("HelpLothander","GLOBAL",1)
~ THEN REPLY #1367 /* ~My raven, my raven, we must have rest if we are to keep this flock together.~ [HAERDA50] */ GOTO 4
  IF ~~ THEN REPLY #1366 /* ~We're all prisoners of the earth down here.~ */ GOTO 5
  IF ~Global("Chapter","GLOBAL",7)
~ THEN REPLY #1368 /* ~I like how you always pretend people are birds.~ [AERIE47] */ GOTO 6
  IF ~Global("Chapter","GLOBAL",7)
~ THEN REPLY #1369 /* ~You promise?~ */ GOTO 7
  IF ~Dead("Rieltar")
~ THEN REPLY #1370 /* ~You fly above us all, no anger, no rage to tie you down.  Aye... You're right Aerie.  You are no hound, nor shall I ever name you one, you have my pledge.~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #1354 /* ~Aye, hawk, aye.  A truth's been spoken and it's been spoken from your tongue.~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",9)
~ JOURNAL #7237 /* ~~ */ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 1.6
  SAY #1355 /* ~~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",9)
~ JOURNAL #7238 /* ~~ */ GOTO 8
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #1356 /* ~If not for the promise of combat I would not bother looking for this 'Ployer.'~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",4)
~ JOURNAL #7239 /* ~~ */ GOTO 8
END

IF ~~ THEN BEGIN 5 // from: 1.3
  SAY #1357 /* ~Plath Rededge~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",9)
~ JOURNAL #7240 /* ~Investigate the deaths in the Umar Hills.

I have encountered a werewolf by the name of Anath, who spun a tale of a 'Shade Lord' that has arisen from a ruined temple to the east that once belonged to the antiquated sun god Amaunator but is now an unholy place of darkness.  This Shade Lord killed her pack, turning them into Shade Wolves, and she claimed to desire nothing more than revenge against him.  Perhaps some of her tale was true, but she was an evil creature nonetheless and I dispatched her.~ */ GOTO 8
END

IF ~~ THEN BEGIN 6 // from: 1.4
  SAY #1358 /* ~What do you mean by that? Am I not worth the effort of rescue? Have you better things to do?~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",9)
~ JOURNAL #7242 /* ~A Spectator and his chest are rarely parted.

I've encountered a peculiar Spectator Beholder, set to guard a particular chest for a lengthy time.  He doesn't seem malevolent, but if I want in that chest I guess I have no choice but to fight him.  Perhaps someone wiser might be able to talk him into helping us out, but I don't know.~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 1.5
  SAY #1359 /* ~Yes, I have numerous better things to do. I will assist but you are of little use.~ */
  IF ~~ THEN DO ~SetGlobal("LothanderMove","GLOBAL",9)
~ JOURNAL #7243 /* ~The Final Battle with Bodhi.

Imoen has been restored with Bodhi's death.  She is fine... and it seems that she has gotten her soul back from the vampire, now.  This bodes well for my coming battle with Irenicus, and makes my path clear.~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 9.0 7.0 6.0 5.0 4.0 3.0 2.0
  SAY #1360 /* ~Yes, I have numerous better things to do. I will assist but you are of little use.~ */
  IF ~~ THEN DO ~SetGlobalTimer("Diviner","GLOBAL",ONE_DAY)
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 1.1
  SAY #1361 /* ~Of course not. I merely grow frustrated at not being able to help. I apologize.~ */
  IF ~~ THEN GOTO 8
END

IF WEIGHT #0 ~!NumTimesTalkedTo(0)
GlobalTimerNotExpired("Diviner","GLOBAL")
~ THEN BEGIN 10 // from:
  SAY #6414 /* ~I suggest that you take sanctuary with me until you can discover how this unfortunate event came to pass.~ */
  IF ~~ THEN EXIT
END
