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

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

IF WEIGHT #0 ~NumTimesTalkedTo(0)
OR(5)
Class(Player1,CLERIC)
Class(Player1,FIGHTER_CLERIC)
Class(Player1,CLERIC_MAGE)
Class(Player1,CLERIC_THIEF)
Class(Player1,FIGHTER_MAGE_CLERIC)
//InPartySlot(LastTalkedToBy,0)
Alignment(Player1,MASK_EVIL)
Global("BeholderPlot","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #28004 /* ~This cannot be tolerated! The chosen of Talos will not be allowed to follow this upstart! The fear of their lord has been carefully sown, and it will not be thrown aside so easily!~ [NALLAB02] */
  IF ~!Kit(Player1,GODHELM)
!Kit(Player1,GODTALOS)
!Kit(Player1,GODLATHANDER)
~ THEN GOTO 1
  IF ~Kit(Player1,GODTALOS)
~ THEN GOTO 54
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #29223 /* ~We need a vassal to carry our wrath! You there! You look like you fear the proper lord! I offer the chance to be the instrument of vengeance for the Stormlord!~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 54.0 1.0
  SAY #29224 /* ~Follow with all haste to the temple of Talos. There I will tell what is required of you. Do not stress our patience with a late arrival!~ */
  IF ~~ THEN DO ~//SetInterrupt(FALSE)
//DialogueInterrupt(FALSE)
//MoveToPointNoInterrupt([1946.2267])
OpenDoor("DOOR0904")
//DialogueInterrupt(TRUE)
//SetInterrupt(TRUE)
EscapeAreaMove("AR0904",338,378,14)
~ UNSOLVED_JOURNAL #34387 /* ~Investigate and destroy the Cult of the Eyeless.

After viewing the eyeless priest's speech, I was approached by a cleric of Talos obviously offended by his words.  He commanded that I be the vessel of Talos' revenge.  He ordered me to present myself at the temple of Talos to speak to him further on this matter.~ */ EXIT
END

IF WEIGHT #1 ~OR(5)
Class(Player1,CLERIC)
Class(Player1,FIGHTER_CLERIC)
Class(Player1,CLERIC_MAGE)
Class(Player1,CLERIC_THIEF)
Class(Player1,FIGHTER_MAGE_CLERIC)
InPartySlot(LastTalkedToBy,0)
Alignment(Player1,MASK_EVIL)
Global("BeholderPlot","GLOBAL",0)
Global("NoHelpBeholder","GLOBAL",0)
~ THEN BEGIN 3 // from:
  SAY #29225 /* ~Finally! You have arrived! I was about to order you flogged for your slowness, but there is no time for that now.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #29226 /* ~Ehh, you are without focus.  No matter, I can tell you are the kind that will serve Talos well. We must work together against the usurping of the darkness.~ */
  IF ~~ THEN REPLY #29227 /* ~I will help if I can, so long as it is profitable for both of us.~ */ GOTO 5
  IF ~~ THEN REPLY #29228 /* ~I can make no guarantee of service until I know what you want.~ */ GOTO 6
  IF ~~ THEN REPLY #29229 /* ~We shall see. I shall do what is best for me, first and foremost.~ */ GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 7.0 6.0 4.0
  SAY #29230 /* ~You hear the ranting of that fool in the street?  His tales are blasphemous, and it must be determined whether he seeks to usurp power from beneath us.~ */
  IF ~~ THEN REPLY #29231 /* ~Was he telling the truth? I would not want to oppose a powerful new enemy.~ */ GOTO 8
  IF ~~ THEN REPLY #29232 /* ~I will do what I can to help against the heathen. What do you require?~ */ GOTO 10
  IF ~~ THEN REPLY #29233 /* ~He seemed to prey on people's need for security. Can't you offer the same?~ */ GOTO 11
END

IF ~~ THEN BEGIN 6 // from: 4.1
  SAY #29234 /* ~There is no time for hesitations; do as the Storm Lord bids.  Joining our ranks can be extremely beneficial; opposing them is deadly.  Listen well to your task.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 7 // from: 4.2
  SAY #29235 /* ~What Talos bids is what is best for you.  We employ some large egos, but do not presume to be more important than you are.  Listen to your task and listen well.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 8 // from: 12.1 5.0
  SAY #29236 /* ~New deities are not unheard of, but they begin weak and pathetic. Even if this alley-prophet spoke truth, his lord would be in no position to defend against us.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #29237 /* ~The truth eludes us as yet. Talos has granted no insight, preferring to test our resolve. We must investigate our missing brethren and eliminate any threat.~ */
  IF ~~ THEN REPLY #29238 /* ~Then I will do what I must. Have you any more details of what is required?~ */ GOTO 10
  IF ~~ THEN REPLY #29239 /* ~Does this false prophet offer more to your followers than you can?~ */ GOTO 11
  IF ~~ THEN REPLY #29240 /* ~This is not my problem. I will not risk angering a deity. I refuse.~ */ GOTO 18
END

IF ~~ THEN BEGIN 10 // from: 20.1 12.0 9.0 5.1
  SAY #29241 /* ~We were to interrogate some that chose this new 'faith,' but they are never seen again once they go. You must investigate their temple and report what is happening.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 11 // from: 9.1 5.2
  SAY #29242 /* ~Our younger members do not realize the danger of leaving Talos.  They do not think long term.  Even Talos has patience and plans; they seek quicker gains.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #29243 /* ~Young fools want a god to walk with them, but that is not the way.  It demeans a god to walk with the flock, just as if I supped with insects.~ */
  IF ~~ THEN REPLY #29244 /* ~Then this man's claims are blasphemous lies. What must I do?~ */ GOTO 10
  IF ~~ THEN REPLY #29245 /* ~What if this new god is for real? Is it wise to anger such a powerful being?~ */ GOTO 8
  IF ~~ THEN REPLY #29246 /* ~I will not risk this. I will not help you.~ */ GOTO 18
END

IF ~~ THEN BEGIN 13 // from: 10.0
  SAY #29247 /* ~Visions indicate that most of their flock are underground and nearby, but we see nothing beyond the sewers.  Get in with lies or force, whichever is suitable. The entrances to the sewers are marked on your map.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #29248 /* ~You must wade through the filth of the sewers and find these fools. They are certainly not nestled amidst the pipes, so there must be a passage to them.~ */
  IF ~~ THEN REPLY #29249 /* ~You need not ask twice. I will return with answers or their heads.~ */ GOTO 15
  IF ~~ THEN REPLY #29250 /* ~I will help, but what shall be my reward? Faith alone cannot fill my stomach.~ */ GOTO 17
  IF ~Global("chapter","GLOBAL",2)
Global("ShadowWork","GLOBAL",1)~ THEN REPLY #46130 /* ~I need to gather a copious amount of gold to rescue an old comrade... so I require a reward from you for this.~ */ GOTO 17
  IF ~~ THEN REPLY #29251 /* ~I will not lower myself to traveling through the sewers. I refuse.~ */ GOTO 18
END

IF ~~ THEN BEGIN 15 // from: 20.2 17.1 14.0
  SAY #29252 /* ~Then may the force of Talos destroy those in your path. The services of the temple are here for you. Demand service from an acolyte and you will receive it.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #29253 /* ~We would reinforce you with Talons but we must guard against a real temple, something you will help with later.  For now, I wish you the mercy of Talos.~ */
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("BeholderPlot","GLOBAL",1)
SetGlobal("NoHelpBeholder","GLOBAL",0)
EraseJournalEntry(34386)~ UNSOLVED_JOURNAL #34399 /* ~Investigate and destroy the Cult of the Eyeless.

I have agreed to work for Nallabir, the head cleric of the Temple of Talos in Athkatla. I must find the temple of this 'Unseeing Eye' and determine the truth about what is occurring. I should 'get in through lies or force, whichever is suitable,' and eliminate the cult if it is a threat.  Nallabir said that the temple was far below the ground, and access to it likely exists in the sewers through some passage.  The Talassans will help me in whatever fashion they can, although the temple's Talons cannot aid me directly as they must defend the temple against true attack, should it come.~ */ EXIT
  IF ~IsValidForPartyDialog("Nalia")~ THEN DO ~SetGlobal("BeholderPlot","GLOBAL",1)
SetGlobal("NoHelpBeholder","GLOBAL",0)
EraseJournalEntry(34386)~ UNSOLVED_JOURNAL #34399 /* ~Investigate and destroy the Cult of the Eyeless.

I have agreed to work for Nallabir, the head cleric of the Temple of Talos in Athkatla. I must find the temple of this 'Unseeing Eye' and determine the truth about what is occurring. I should 'get in through lies or force, whichever is suitable,' and eliminate the cult if it is a threat.  Nallabir said that the temple was far below the ground, and access to it likely exists in the sewers through some passage.  The Talassans will help me in whatever fashion they can, although the temple's Talons cannot aid me directly as they must defend the temple against true attack, should it come.~ */ EXTERN ~NALIAJ~ 257
  IF ~!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Anomen")~ THEN DO ~SetGlobal("BeholderPlot","GLOBAL",1)
SetGlobal("NoHelpBeholder","GLOBAL",0)
EraseJournalEntry(34386)~ UNSOLVED_JOURNAL #34399 /* ~Investigate and destroy the Cult of the Eyeless.

I have agreed to work for Nallabir, the head cleric of the Temple of Talos in Athkatla. I must find the temple of this 'Unseeing Eye' and determine the truth about what is occurring. I should 'get in through lies or force, whichever is suitable,' and eliminate the cult if it is a threat.  Nallabir said that the temple was far below the ground, and access to it likely exists in the sewers through some passage.  The Talassans will help me in whatever fashion they can, although the temple's Talons cannot aid me directly as they must defend the temple against true attack, should it come.~ */ EXTERN ~ANOMENJ~ 236
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Viconia")~ THEN DO ~SetGlobal("BeholderPlot","GLOBAL",1)
SetGlobal("NoHelpBeholder","GLOBAL",0)
EraseJournalEntry(34386)~ UNSOLVED_JOURNAL #34399 /* ~Investigate and destroy the Cult of the Eyeless.

I have agreed to work for Nallabir, the head cleric of the Temple of Talos in Athkatla. I must find the temple of this 'Unseeing Eye' and determine the truth about what is occurring. I should 'get in through lies or force, whichever is suitable,' and eliminate the cult if it is a threat.  Nallabir said that the temple was far below the ground, and access to it likely exists in the sewers through some passage.  The Talassans will help me in whatever fashion they can, although the temple's Talons cannot aid me directly as they must defend the temple against true attack, should it come.~ */ EXTERN ~VICONIJ~ 71
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("BeholderPlot","GLOBAL",1)
SetGlobal("NoHelpBeholder","GLOBAL",0)
EraseJournalEntry(34386)~ UNSOLVED_JOURNAL #34399 /* ~Investigate and destroy the Cult of the Eyeless.

I have agreed to work for Nallabir, the head cleric of the Temple of Talos in Athkatla. I must find the temple of this 'Unseeing Eye' and determine the truth about what is occurring. I should 'get in through lies or force, whichever is suitable,' and eliminate the cult if it is a threat.  Nallabir said that the temple was far below the ground, and access to it likely exists in the sewers through some passage.  The Talassans will help me in whatever fashion they can, although the temple's Talons cannot aid me directly as they must defend the temple against true attack, should it come.~ */ EXTERN ~JAHEIRAJ~ 424
END

IF ~~ THEN BEGIN 17 // from: 14.2 14.1
  SAY #29254 /* ~Talos pays with each breath he lets you to take in his service.  You will do this to demonstrate your worth; we will discuss a reward when you are successful.~ */
  IF ~~ THEN REPLY #29255 /* ~Then I will not help you. I will know my payment first.~ */ GOTO 18
  IF ~~ THEN REPLY #29256 /* ~That is sufficient. I will help.~ */ GOTO 15
END

IF ~~ THEN BEGIN 18 // from: 20.0 17.0 14.3 12.2 9.2
  SAY #29257 /* ~You worry of angering this upstart cult, and yet you risk the wrath of Talos by refusing him? This is puzzling, if not entirely stupid!~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 19 // from: 18.0
  SAY #29258 /* ~Normally you would be dead on the spot, but we have not resources to deal with this cult right now. Return when you are willing to help.  Refuse at your peril.~ */
  IF ~~ THEN DO ~SetGlobal("NoHelpBeholder","GLOBAL",1)
~ EXIT
END

IF WEIGHT #2 ~Global("NoHelpBeholder","GLOBAL",1)
!Dead("UnseeingEye")
~ THEN BEGIN 20 // from:
  SAY #29259 /* ~Talos sees that you have come to beg his forgiveness and serve, as you should. A wise decision.~ */
  IF ~~ THEN REPLY #29260 /* ~I have not changed my mind.~ */ GOTO 18
  IF ~~ THEN REPLY #29261 /* ~Repeat what it was that you required.~ */ GOTO 10
  IF ~~ THEN REPLY #29262 /* ~Yes, I will help you.~ */ GOTO 15
END

IF WEIGHT #3 ~Global("BeholderPlot","GLOBAL",1)
~ THEN BEGIN 21 // from:
  SAY #29263 /* ~What have you to say to us? Have you found the fools that dared to claim the followers of Talos?~ [NALLAB06] */
  IF ~~ THEN REPLY #29264 /* ~I have nothing to report just yet.~ */ GOTO 22
  IF ~!Dead("UnseeingEye")
Global("TalkedToCult","GLOBAL",1)
~ THEN REPLY #29265 /* ~I have met with some. The fools put their eyes out in reverence to their lord!~ */ GOTO 23
  IF ~!Dead("UnseeingEye")
Global("KnowBeholder","GLOBAL",1)
~ THEN REPLY #29266 /* ~It is a beholder cult! The 'worshippers' are probably magically enslaved.~ */ GOTO 24
  IF ~Dead("UnseeingEye")
~ THEN REPLY #29267 /* ~It was a beholder cult, but I have destroyed the beast and all of its plans!~ */ DO ~EraseJournalEntry(2025)
EraseJournalEntry(2028)
EraseJournalEntry(2065)
EraseJournalEntry(2069)
EraseJournalEntry(34387)
EraseJournalEntry(34388)
EraseJournalEntry(34391)
EraseJournalEntry(34399)
EraseJournalEntry(34407)
EraseJournalEntry(34413)
EraseJournalEntry(34416)
EraseJournalEntry(34417)
EraseJournalEntry(34418)
EraseJournalEntry(34419)
EraseJournalEntry(34420)
EraseJournalEntry(34422)
EraseJournalEntry(30375)
SetGlobal("BeholderPlot","GLOBAL",2)
SetGlobalTimer("Vakola","GLOBAL",TWO_DAYS)
ReputationInc(1)
AddXPObject(Player1,45750)
AddXPObject(Player2,45750)
AddXPObject(Player3,45750)
AddXPObject(Player4,45750)
AddXPObject(Player5,45750)
AddXPObject(Player6,45750)
~ SOLVED_JOURNAL #47712 /* ~Investigate and destroy the Cult of the Eyeless.

I completed the task for the church and found the source of the cult of this Unseeing Eye.  The cult was run by a blind Beholder, yet the creature was still immensely powerful and I was lucky to be able to destroy it.  The entire cult has been routed as a result of the Beholder's death.~ */ GOTO 27
END

IF ~~ THEN BEGIN 22 // from: 23.2 21.0
  SAY #29268 /* ~Then keep looking! Talos demands adequate service from you! Do not fail him!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 23 // from: 21.1
  SAY #29269 /* ~We thought the fool prophet to be exaggerating when he said as much. They will be weak without their eyes. Is there anything else?~ */
  IF ~~ THEN REPLY #29270 /* ~It is a beholder cult! The 'worshippers' are probably magically enslaved.~ */ GOTO 24
  IF ~Dead("UnseeingEye")
~ THEN REPLY #29271 /* ~It was a beholder cult, but I have destroyed the beast and all of its plans!~ */ DO ~SetGlobal("BeholderPlot","GLOBAL",2)
SetGlobalTimer("Vakola","GLOBAL",TWO_DAYS)
ReputationInc(1)
~ GOTO 27
  IF ~~ THEN REPLY #29272 /* ~I have nothing else to say just yet.~ */ GOTO 22
END

IF ~~ THEN BEGIN 24 // from: 23.0 21.2
  SAY #29273 /* ~A beholder cult?  Well, it would be amusing to watch develop, but stealing Talos' followers is inexcusable. Why would this beast risk angering the Storm Lord?~ */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #29274 /* ~This creature must be destroyed, and its bloody carcass stuffed and put on display to show the might of Talos. You must kill this... this thing. I care not how.~ */
  IF ~~ THEN GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #29275 /* ~May The Destroyer guide your hand in the battle to come.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #34417 /* ~Investigate and destroy the Cult of the Eyeless.

I have informed the cleric of Talos of the nature of this beholder cult and he has commanded me to return to the temple and find a way to destroy the creature.~ */ EXIT
END

IF ~~ THEN BEGIN 27 // from: 23.1 21.3
  SAY #29276 /* ~A beholder cult?  A pity we couldn't have watched the inevitable chaos.  Talos might have been pleased, but the theft of his followers could not be forgiven.~ */
  IF ~~ THEN GOTO 28
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #29277 /* ~We will dispense some acolytes to destroy any survivors and make well and truly sure that their final rest is not an easy one.~ */
  IF ~Global("PlayerHasStronghold","GLOBAL",0)~ THEN GOTO 29
  IF ~Global("PlayerHasStronghold","GLOBAL",1)~ THEN GOTO 59
END

IF ~~ THEN BEGIN 29 // from: 28.0
  SAY #29278 /* ~Now then, to your fate. You have served the greater glory of Talos, such that none will oppose him in like manner again. Your reward will be beyond coin or trinket.~ */
  IF ~~ THEN REPLY #29279 /* ~Serving Talos and living through the experience was reward enough.~ */ DO ~GiveGoldForce(8000)~ GOTO 30
  IF ~~ THEN REPLY #29280 /* ~I deserve everything I have earned. Talos knows this.~ */ DO ~GiveGoldForce(8000)~ GOTO 30
  IF ~Global("chapter","GLOBAL",2)
Global("ShadowWork","GLOBAL",1)~ THEN REPLY #46131 /* ~I will take your gold, as I have unfinished business with Imoen and that wizard.  No other reason.~ */ DO ~GiveGoldForce(8000)~ GOTO 30
END

IF ~~ THEN BEGIN 30 // from: 29.2 29.1 29.0
  SAY #29281 /* ~You will stand with Talos against what comes. Your faith will be given purpose and meaning. You will know the fear of your responsibilities.~ */
  IF ~~ THEN GOTO 31
END

IF ~~ THEN BEGIN 31 // from: 30.0
  SAY #29282 /* ~You have safe haven within this temple, with a space of your own in which to worship.  Acolyte Vilon will inform you of your duties. Talk to him when we are done here.~ */
  IF ~~ THEN REPLY #29283 /* ~It is my great honor to give my life to Talos, the Storm Lord.~ */ GOTO 32
  IF ~~ THEN REPLY #29284 /* ~I will remain my own person. I refuse this 'gift.'~ */ GOTO 36
END

IF ~~ THEN BEGIN 32 // from: 36.1 31.0
  SAY #29285 /* ~Then know the thoughts of the Storm Lord.  Life is random and chaotic, so grab what you can, as who can say when Talos will strike and send you to the afterlife?~ */
  IF ~~ THEN GOTO 33
END

IF ~~ THEN BEGIN 33 // from: 32.0
  SAY #29286 /* ~Preach the might of Talos, so everyone knows Talos is to be worshipped by all, that he MUST be, or he will destroy all life with the forces at his command.~ */
  IF ~~ THEN GOTO 34
END

IF ~~ THEN BEGIN 34 // from: 33.0
  SAY #29287 /* ~Make all fear Talos by showing the destruction he causes.  Only acceptance of the Storm Lord can spare his wrath, and even then you must do as he wills.~ */
  IF ~~ THEN JOURNAL #55568 /* ~Cleric Stronghold.

I have been welcomed into service of the Temple to Talos. I am to be given space in the Temple, a sanctuary whenever I need. I may store any possessions that I wish to within the Temple containers. As a priest of Talos, I am responsible for enforcing the will of Talos amongst the flock. I am to find Acolyte Vilon within the Temple immediately. Vilon will tell me of my responsibilities and give me my first assignment.~ */ FLAGS 128 GOTO 35
END

IF ~~ THEN BEGIN 35 // from: 34.0
  SAY #29288 /* ~These are the guidelines in which you live. Welcome to your place in the house of Talos. Let it be known who <CHARNAME> serves!~ */
  IF ~Global("chapter","GLOBAL",2)
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Jaheira")~ THEN REPLY #42425 /* ~Might I ask you a question before I go?~ */ DO ~SetGlobal("PlayerHasStronghold","GLOBAL",1)
SetGlobal("JoinTalos","GLOBAL",1)
CreateCreature("TALVILON",[1195.564],0)
~ GOTO 47
  IF ~!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Jaheira")~ THEN REPLY #42428 /* ~Very well, I shall take my leave of you, then.~ */ DO ~SetGlobal("PlayerHasStronghold","GLOBAL",1)
SetGlobal("JoinTalos","GLOBAL",1)
CreateCreature("TALVILON",[1195.564],0)~ EXIT
  IF ~IsValidForPartyDialog("Anomen")~ THEN DO ~SetGlobal("PlayerHasStronghold","GLOBAL",1)
SetGlobal("JoinTalos","GLOBAL",1)
CreateCreature("TALVILON",[1195.564],0)~ EXTERN ~ANOMENJ~ 237
  IF ~!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("PlayerHasStronghold","GLOBAL",1)
SetGlobal("JoinTalos","GLOBAL",1)
CreateCreature("TALVILON",[1195.564],0)~ EXTERN ~JAHEIRAJ~ 425
END

IF ~~ THEN BEGIN 36 // from: 31.1
  SAY #29289 /* ~You refuse? You are truly mad to do so! Talos chooses you! Do you make a liar of The Destroyer?~ */
  IF ~~ THEN REPLY #29290 /* ~I do not wish to join with Talos.~ */ GOTO 37
  IF ~~ THEN REPLY #29291 /* ~I beg forgiveness! Talos will be my lord!~ */ GOTO 32
END

IF ~~ THEN BEGIN 37 // from: 36.0
  SAY #29292 /* ~Insanity! You... you tempt the fates like a mad<MANWOMAN>! Perhaps you will serve with your mindlessness, but you will never be of the chosen.~ */
  IF ~Global("SculptorPlot","GLOBAL",0)~ THEN GOTO 40
  IF ~GlobalGT("SculptorPlot","GLOBAL",0)~ THEN EXIT
END

IF WEIGHT #4 ~Global("BeholderPlot","GLOBAL",2)
Global("JoinTalos","GLOBAL",0)
~ THEN BEGIN 38 // from:
  SAY #29293 /* ~Talos would have welcomed you to the ranks of his chosen, but you have turned away. Madness.~ */
  IF ~OR(2)
!Global("Chapter","GLOBAL",6)
Global("NallabirDecided","LOCALS",1)~ THEN EXIT
  IF ~Global("Chapter","GLOBAL",6)
Global("NallabirDecided","LOCALS",0)~ THEN REPLY #53255 /* ~I have come to ask for the aid of the church in a great battle that I must undertake, Stormherald.~ */ GOTO 55
END

IF WEIGHT #5 ~Global("BeholderPlot","GLOBAL",2)
Global("JoinTalos","GLOBAL",1)
Global("Stripped","GLOBAL",0)
~ THEN BEGIN 39 // from:
  SAY #29294 /* ~You will serve well. Talos will show mercy on your soul if you prove to be a force for destruction in his name.~ [NALLAB07] */
  IF ~OR(2)
!Global("Chapter","GLOBAL",6)
Global("NallabirDecided","LOCALS",1)~ THEN EXIT
  IF ~Global("Chapter","GLOBAL",6)
Global("NallabirDecided","LOCALS",0)~ THEN REPLY #53256 /* ~I have come to ask for the aid of the church in a great battle that I must undertake, Stormherald.~ */ GOTO 55
END

IF ~~ THEN BEGIN 40 // from: 37.0
  SAY #29295 /* ~Ah, there is a duty you should perform with all haste. Perform well and the insult of your refusal may be forgotten. Speak with Talon Yarryl. Go.~ */
  IF ~~ THEN REPLY #42426 /* ~Before I go, I was wondering if I might ask you a question?~ */ GOTO 47
  IF ~~ THEN REPLY #42427 /* ~Very well.  I shall take my leave of you, then.~ */ EXIT
END

IF ~~ THEN BEGIN 41 // from:
  SAY #29392 /* ~What is the disturbance, Talon? Talos alone reserves fury in his own temple. Ahh, is this to be the new tribute you have commissioned?~ */
  IF ~~ THEN EXTERN ~SCYARRYL~ 27
END

IF ~~ THEN BEGIN 42 // from:
  SAY #29394 /* ~Why so? This is an interesting change. It is formless and shapeless, like the void. It seems a shadow rising against the light.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.0
  SAY #29395 /* ~It has the brilliance of illithium, but it looks as though it will catch the dirt and grime. Good. It will decay and suffer the destruction of time. A fitting tribute.~ */
  IF ~~ THEN EXTERN ~SCYARRYL~ 28
END

IF ~~ THEN BEGIN 44 // from:
  SAY #29397 /* ~Are you questioning me? I would not like to think so! Display it! Do you hear me? Reward this <CHARNAME> as you were told and get on with your duties!~ */
  IF ~~ THEN EXTERN ~SCYARRYL~ 29
END

IF WEIGHT #7 /* Triggers after states #: 46 even though they appear after this state */
~!InPartySlot(LastTalkedToBy,0)
~ THEN BEGIN 45 // from:
  SAY #33188 /* ~I speak not to subordinates! I can tell by your manner that you are one that follows! I would speak to your leader! My matters are for <PRO_HISHER> ears alone!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~Global("Stripped","GLOBAL",1)
~ THEN BEGIN 46 // from:
  SAY #37866 /* ~Weakwilled fool! Get out of my sight lest I bring the fury of the Stormlord down upon you!~ [NALLAB08] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 47 // from: 60.1 53.0 40.0 35.0
  SAY #42429 /* ~Ask, if you must.  You have performed well enough that I may well provide you a truthful answer.~ */
  IF ~~ THEN REPLY #42430 /* ~I am searching for an old friend who is being held by the Cowled Wizards.  Do you know anything of them?~ */ GOTO 49
  IF ~~ THEN REPLY #42431 /* ~Can you tell me anything of the Shadow Thieves here in Athkatla?~ */ GOTO 51
  IF ~~ THEN REPLY #42432 /* ~Perhaps I will just take my leave, now.~ */ GOTO 48
END

IF ~~ THEN BEGIN 48 // from: 52.1 50.1 47.2
  SAY #42433 /* ~Go, then, and be wary of the Storm Lord's wrath.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 49 // from: 52.0 47.0
  SAY #42434 /* ~Pfeh!  If your friend is a captive of the cowled ones there is little point in searching.  The wizards have many secrets and they guard them all jealously.~ */
  IF ~~ THEN GOTO 50
END

IF ~~ THEN BEGIN 50 // from: 49.0
  SAY #42435 /* ~Chances are you would not find the wizards themselves, never mind a prisoner.  Woe to them, however, should they ever cross the Storm Lord!~ */
  IF ~~ THEN REPLY #42436 /* ~Can you tell me anything of the Shadow Thieves here in Athkatla, then?~ */ GOTO 51
  IF ~~ THEN REPLY #42437 /* ~I shall be on my way.~ */ GOTO 48
END

IF ~~ THEN BEGIN 51 // from: 50.0 47.1
  SAY #42438 /* ~Talos is pleased with the chaos they bring to this city, as well as anywhere they touch... although it would be far better if they served Him directly.~ */
  IF ~~ THEN GOTO 52
END

IF ~~ THEN BEGIN 52 // from: 51.0
  SAY #42439 /* ~The Shadow Thieves are in difficulty, however; they struggle against a force unknown to us.  If the battle escalates, it should prove amusing to watch.~ */
  IF ~~ THEN REPLY #42440 /* ~I am searching for an old friend who is being held by the Cowled Wizards.  Do you know anything of them?~ */ GOTO 49
  IF ~~ THEN REPLY #42441 /* ~I shall be on my way, then.~ */ GOTO 48
END

IF ~~ THEN BEGIN 53 // from: ANOMENJ:237.0
  SAY #50054 /* ~Silence!  <CHARNAME> has made <PRO_HISHER> decision, and the Storm Lord welcomes <PRO_HIMHER> into the fold.~ */
  IF ~~ THEN REPLY #50055 /* ~Might I ask you a question before I go?~ */ GOTO 47
  IF ~~ THEN REPLY #50056 /* ~I shall take my leave of you, then.~ */ EXIT
END

IF ~~ THEN BEGIN 54 // from: 0.1
  SAY #52598 /* ~We need a vassal to carry our wrath! You there! As a Priest of Talos you shall be the instrument of vengeance for the Stormlord!~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 55 // from: 39.1 38.1
  SAY #53257 /* ~A battle?  Why would the servants of the Storm Lord undertake a battle, except at the command of Talos, himself?!  Speak!~ */
  IF ~Global("JoinTalos","GLOBAL",1)~ THEN REPLY #53258 /* ~I must destroy a powerful vampire by the name of Bodhi, who keeps ---~ */ GOTO 56
  IF ~Global("JoinTalos","GLOBAL",0)
Alignment(Player1,MASK_EVIL)
ReputationLT(Player1,10)~ THEN REPLY #53259 /* ~I must destroy a powerful vampire by the name of Bodhi, who keeps ---~ */ GOTO 56
  IF ~Global("JoinTalos","GLOBAL",0)
OR(2)
!Alignment(Player1,MASK_EVIL)
ReputationGT(Player1,9)~ THEN REPLY #53260 /* ~I must destroy a powerful vampire by the name of Bodhi, who keeps ---~ */ GOTO 58
END

IF ~~ THEN BEGIN 56 // from: 55.1 55.0
  SAY #53261 /* ~The blood-sucking mistress in the crypts?  Talos has no grudge against her, and is not impressed by your admitted weakness.  If you wish to fight her, do so.~ */
  IF ~~ THEN GOTO 57
END

IF ~~ THEN BEGIN 57 // from: 58.0 56.0
  SAY #53264 /* ~Now begone... I have given you my decision and that shall be the end of it.~ */
  IF ~~ THEN DO ~SetGlobal("NallabirDecided","LOCALS",1)~ UNSOLVED_JOURNAL #11771 /* ~Allies recruited for the struggle against Bodhi.

I asked the Temple of Talos to help fight Bodhi, but Nallabir refused.  He said that I must do so with my own strength.~ */ EXIT
END

IF ~~ THEN BEGIN 58 // from: 55.2
  SAY #53265 /* ~I know of the creature you speak of.  Talos would gladly strike... but not at your prodding.  Your motives are suspect and you shall receive no assistance here.~ */
  IF ~~ THEN GOTO 57
END

IF ~~ THEN BEGIN 59 // from: 28.1
  SAY #58785 /* ~As for you, we have a fine reward planned, though it is not as much as it might have been.  You already have many obligations elsewhere.~ */
  IF ~~ THEN DO ~GiveItemCreate("BLUN20",LastTalkedToBy,0,0,0)
GiveGoldForce(7000)
~ GOTO 60
END

IF ~~ THEN BEGIN 60 // from: 59.0
  SAY #58786 /* ~Still, you warrant some reward.  Take this and go.  I thank you, but Talos does not believe in long good-byes.~ */
  IF ~~ THEN REPLY #58787 /* ~Thank you. I will take my leave of you.~ */ EXIT
  IF ~Global("chapter","GLOBAL",2)
~ THEN REPLY #58788 /* ~I have a question before I go.~ */ GOTO 47
END
