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

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

IF WEIGHT #0 ~NumTimesTalkedTo(0)
Global("Player1Fear","GLOBAL",0)
Global("Player1Selfish","GLOBAL",0)
Global("Player1Greed","GLOBAL",0)
Global("Player1Pride","GLOBAL",0)
Global("Player1Wrath","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #54738 /* ~Ahhh... so you have come to us at last, Child of Bhaal.  You have come to claim your heritage, perhaps?  And in pieces, no less.  Tsk tsk tsk... how terrible it must be to die in such a state.~ [HELFEA06] */
  IF ~~ THEN REPLY #54740 /* ~Claim my heritage?  What are you talking about?~ */ GOTO 1
  IF ~~ THEN REPLY #54741 /* ~I am not dead!  Irenicus is dead and somehow I have followed him here.~ */ GOTO 2
  IF ~~ THEN REPLY #54742 /* ~What are you talking about 'in pieces'?  What kind of riddle is this?~ */ GOTO 3
  IF ~~ THEN REPLY #54743 /* ~Continue to speak to me in such a manner, fiend, and you shall perish where you stand.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #54744 /* ~Your heritage, Child. This is Bhaal's realm. You have not faded to join the former Lord of Murder's essence, have you? No... so your blood holds sway here.~ */
  IF ~~ THEN REPLY #54753 /* ~Holds sway?  What are you speaking of?~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #54745 /* ~And hence the fact that your essence has not disintegrated to rejoin the former Lord of Murder.  This is Bhaal's realm, here... and your blood holds sway in this piece of Hell.~ */
  IF ~~ THEN REPLY #54754 /* ~Holds sway?  What are you speaking of?~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #54747 /* ~I speak of your soul, Child of Murder. You come as a piece of the whole, so your essence has not rejoined that of Bhaal, and therefore your blood holds sway here.~ */
  IF ~~ THEN REPLY #54755 /* ~Holds sway?  What are you speaking of?~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #54748 /* ~I bow before you, of course. You are a Child of Murder, but your essence has not rejoined that of the dead Bhaal. In your Father's realm... your blood holds sway.~ */
  IF ~~ THEN REPLY #54756 /* ~Holds sway?  What are you speaking of?~ */ GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0 3.0 2.0 1.0
  SAY #54757 /* ~You hold power here... or rather, the piece of you that is Bhaal's holds power here. And that part of you now rests in both you and the other, the wizard, yes?~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #54761 /* ~He stole much of your divine soul, but not all. So you are tethered to the mage, as he is to you. Neither of you truly dead, yet neither truly alive. Most interesting.~ */
  IF ~~ THEN REPLY #54763 /* ~So how do I end this, fiend?  Will you tell me that?~ */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #54764 /* ~But you already know!  You must seek your soul by gathering the Tears of Bhaal... only then shall the way be open to you.~ */
  IF ~~ THEN REPLY #54765 /* ~The Tears of Bhaal?~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #54768 /* ~Death causes many tears to fall, Child, and Bhaal collected many while he lived.  The Tears will open the eyes... and show you the path to your soul.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #5017 /* ~Finding Irenicus in Hell

The demon I encountered has explained much.  This plane was once the realm controlled by Bhaal, and my heritage means that I hold a certain amount of power over it.  So does Irenicus, however, since he remains in possession of most of my soul.  I don't quite understand, but the great doorway in this place 'represents' the path to my own soul... the other piece that the mage holds.  So long as Irenicus holds that piece, we are tethered... it is what drew me down here, and is the reason why neither of us is fully dead or alive.

By finding the Tears of Bhaal, I will be able to open the doorway and face Irenicus.  And then, I suppose, I must take all of my soul back.  What will happen then, I can only wonder.~ */ GOTO 9
END

IF WEIGHT #3 /* Triggers after states #: 19 20 even though they appear after this state */
~NumTimesTalkedTo(0)
~ THEN BEGIN 9 // from: 29.0 8.0
  SAY #54769 /* ~A Tear of Bhaal lies very close to here, Child of Bhaal... just beyond either of these two rooms before you.~ [HELFEA02] */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #54771 /* ~You have encountered many times in your existence where you have been forced to swallow your fear, no?  You have fought off terror that would overwhelm a lesser being and shown courage, instead.~ [HELFEA10] */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #54773 /* ~Pass through either of these rooms and your vaunted courage shall be challenged, Child of Bhaal.~ [HELFEA11] */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #54774 /* ~I have something I will offer, however, which will make it so much easier for you, Child.  You know, like so many with power, that items of magic can do much that the ordinary man cannot...~ [HELFEA12] */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #54777 /* ~... such as this cloak, for instance.  Stitched together from the flayed skins of lovely nymphs.  Wear it and be soothed by its powerful magic... panic will never overcome you again.~ [HELFEA13] */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #54778 /* ~With this cloak you could easily gather the Tear of Bhaal and worry not of your courage.  I bow to the power of your divine soul, Child, and offer this cloak up to you... if you wish it.~ [HELFEA14] */
  IF ~~ THEN REPLY #54781 /* ~A cloak stitched from the skin of nymphs?  I can feel its evil from here.  I wish nothing to do with it, despite its power.~ */ GOTO 15
  IF ~~ THEN REPLY #54800 /* ~I do not need a cloak to give me courage, fiend.  Take it and begone.~ */ GOTO 15
  IF ~~ THEN REPLY #54784 /* ~I am not sure.  Let me investigate these rooms, myself, and I will decide then if I need it.~ */ GOTO 16
  IF ~~ THEN REPLY #54785 /* ~A magical cloak?  Of course I'll take it.~ */ GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 18.1 18.0 14.1 14.0
  SAY #54786 /* ~Then you choose to rely on your own power and bravery.  It shall be as you wish, Child of Bhaal.~ [HELFEA15] */
  IF ~~ THEN DO ~SetGlobal("Player1Fear","GLOBAL",1)
ActionOverride("hellbeh1",Enemy())
ActionOverride("hellbeh2",Enemy())
CreateVisualEffect("spplanar",[414.395])
DestroySelf()~ UNSOLVED_JOURNAL #23557 /* ~Finding Irenicus in Hell

I encountered a demon who seemed to perform some kind of test of character.  It explained that there are two paths to a Tear of Bhaal... both are paths of fear.  It offered me a vile cloak of nymph's skin to protect me from the fear, saying the path would be easier, but I refused.~ */ EXIT
END

IF ~~ THEN BEGIN 16 // from: 18.2 14.2
  SAY #54787 /* ~Of course.  I shall remain to give you the cloak of skins, should you desire it... unless you acquire the Tear on your own, of course.  I am only here to offer my help.~ [HELFEA16] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 18.3 14.3
  SAY #54790 /* ~Then your courage shall stem from the power of the magic you wear.  It shall be as you say, Child of Bhaal.  Here it be... the Tear lies beyond.~ [HELFEA17] */
  IF ~~ THEN DO ~GiveItemCreate("clck30",LastTalkedToBy,0,0,0)
SetGlobal("Player1Fear","GLOBAL",2)
CreateVisualEffect("spplanar",[414.395])
Wait(2)
DestroySelf()~ UNSOLVED_JOURNAL #9738 /* ~Finding Irenicus in Hell

I encountered a demon that seemed to perform some sort of test of character.  It explained that there are two paths to a Tear of Bhaal... both are paths of fear.  It offered me a cloak of nymph's skin to protect me from the fear, saying the path would be easier, and I have accepted it.  Now I shall have to see whether the demon lies or not.~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 19 20 even though they appear after this state */
~True()~ THEN BEGIN 18 // from:
  SAY #54792 /* ~You are here to take another look, Child? A finely crafted cloak, this is... made of the skin of lovely nymphs, and imbued magic, enough to calm even the most panicked heart. Do you wish it?~ [HELFEA07] */
  IF ~~ THEN REPLY #54794 /* ~No.  The cloak is made of nymph's flesh and I can sense its evil even from here.  I want nothing to do with it.~ */ GOTO 15
  IF ~~ THEN REPLY #54799 /* ~I do not need a cloak to give me courage.  Take your so-called gift and begone.~ */ GOTO 15
  IF ~~ THEN REPLY #54795 /* ~I am not sure.  Wait here until I decide.~ */ GOTO 16
  IF ~~ THEN REPLY #54797 /* ~Yes... if it does what you say, I want it.~ */ GOTO 17
END

IF WEIGHT #1 ~False()~ THEN BEGIN 19 // from:
  SAY #54801 /* ~Your bravery is tainted by your foolishness, but it is a sort of courage nevertheless.  I bow before your superior strength, Child of Bhaal, and shall fight you no longer..~ [HELFEA08] */
  IF ~~ THEN DO ~CreateVisualEffect("spplanar",[414.395])
SetGlobal("Player1Fear","GLOBAL",1)
ActionOverride("hellbeh1",Enemy())
ActionOverride("hellbeh2",Enemy())
Wait(2)
DestroySelf()~ UNSOLVED_JOURNAL #9980 /* ~Finding Irenicus in Hell

I encountered a demon that seemed to perform some kind of test of character.  It explained that there are two paths to a Tear of Bhaal... both are paths of fear.  It offered me a cloak of nymph's skin to protect me from the fear, saying the path would be easier.  I attacked the demon and it fled, taking the cloak with it.  I suppose I shall have to gain the Tear on my own power.~ */ EXIT
END

IF WEIGHT #2 ~NumTimesTalkedTo(0)
Global("Player1Fear","GLOBAL",0)
GlobalGT("Player1Selfish","GLOBAL",0)
GlobalGT("Player1Greed","GLOBAL",0)
GlobalGT("Player1Pride","GLOBAL",0)
GlobalGT("Player1Wrath","GLOBAL",0)
~ THEN BEGIN 20 // from:
  SAY #54833 /* ~Ah.  So the Child of Bhaal comes to me, finally, for the last of the Tears of Bhaal.  You have come very near to locating your quarry.  Yes, indeed you have.~ [HELFEA09] */
  IF ~~ THEN REPLY #54834 /* ~What are you talking about?!  All I have done is been subjected to a series of strange tests!~ */ GOTO 21
  IF ~~ THEN REPLY #54835 /* ~I suppose you're going to tell me Irenicus has been waiting behind that strange doorway this entire time?~ */ GOTO 22
  IF ~~ THEN REPLY #54836 /* ~You are making no sense.  Explain or die, fiend.~ */ GOTO 23
END

IF ~~ THEN BEGIN 21 // from: 20.0
  SAY #54837 /* ~Tests? Of a sort. Remember that the mage holds power here too, and seeks to prevent you finding him. The tests are of your own making, from your own power.~ */
  IF ~~ THEN REPLY #54840 /* ~What do you mean?~ */ GOTO 24
END

IF ~~ THEN BEGIN 22 // from: 20.1
  SAY #54838 /* ~Of course not. He moves quickly, yet you close on him quickly. These tests that you place on yourself are clever, o young <PRO_LADYLORD> of Murder. Your power is strong.~ */
  IF ~~ THEN REPLY #54841 /* ~What do you mean?~ */ GOTO 24
END

IF ~~ THEN BEGIN 23 // from: 20.2
  SAY #54839 /* ~Your prey moves quickly, but the tests you have devised lead you ever closer to him.  Your power is strong here, despite the resistance of the mage.~ */
  IF ~~ THEN REPLY #54842 /* ~What do you mean?~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.0 22.0 21.0
  SAY #54843 /* ~How do you find your soul, Child of Bhaal? Do you find it on a stroll? No, you must know yourself, the depths of your passion and the heights of your depravity.~ */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #54844 /* ~You come to know what you are capable of... and that shall open the way to your soul. It is yourself, your essence, that you seek... whether you know it or not.~ */
  IF ~~ THEN GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #54845 /* ~And because this is what you seek, your power fights against the mage's and brings you closer to your goal. Soon you shall open the eyes with the Tears of Bhaal.~ */
  IF ~~ THEN REPLY #54846 /* ~And what then?  The door will be open and Irenicus will be there?~ */ GOTO 27
END

IF ~~ THEN BEGIN 27 // from: 26.0
  SAY #54849 /* ~The way to your soul shall be revealed, but you only perceive it as a door. A pity that mortal minds can encompass more power than their faculties can comprehend.~ */
  IF ~~ THEN GOTO 28
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #54850 /* ~I hope you have been careful, Child of Bhaal.  The Nine Hells are a place of retribution... the Tears sting as easily as they soothe.~ */
  IF ~~ THEN REPLY #54851 /* ~Why are you speaking so cryptically?  What does that mean?~ */ GOTO 29
END

IF ~~ THEN BEGIN 29 // from: 28.0
  SAY #54853 /* ~I obscure the truth because it is my nature to do so, o <PRO_LADYLORD> of Murder.  But I bow to your mastery, here, and answer your questions nevertheless.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #6945 /* ~Finding Irenicus in Hell

The demon that holds the last of the Tears of Bhaal has made things clearer to me.  In this place, this piece of Hell over which I hold power, things are not what they seem.  My inner thoughts battle against Irenicus, here.  I search for him and he seeks to obscure himself.  But Irenicus has my soul... and the way to discover my soul is to know more of it.  Hence the 'tests' that I am putting myself through.  With each I grow closer to Irenicus' location, and soon the way to my soul will be clear.

The idea that my subconscious is what gives this place form and summons these demons is disturbing.  More so, perhaps, because it seems to happen so naturally.  The demon also warned me that the Tears of Bhaal sting... Hell is a place of retribution.  What it means by that I do not know.~ */ GOTO 9
END
