// creator  : weidu.exe (version 23100)
// argument : HELMBYR.DLG
// game		 : .
// source	 : ./override/HELMBYR.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #17 /* Triggers after states #: 7 13 18 19 22 24 27 33 39 41 44 51 52 55 56 62 63 even though they appear after this state */
~Global("SpokenToByron","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #35942 /* ~You have settled in, I trust? I will be your tutor in your duties here as one of Helm's chosen. You have many things you are responsible for.~ */
  IF ~~ THEN DO ~SetGlobal("SpokenToByron","GLOBAL",1)~ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #35943 /* ~You have many benefits that others of the order do not, so you will provide extra service as payment. There are some basic duties you will be given, but they are also very important.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #35944 /* ~As a favored of Helm, you will hear questions from those that seek guidance in their duty. You will steer them on the true path to Helm's grace.~ */
  IF ~~ THEN REPLY #35945 /* ~Is this necessary? I do not know what I would have to offer.~ */ GOTO 3
  IF ~~ THEN REPLY #35946 /* ~How long will this service last?~ */ GOTO 4
  IF ~~ THEN REPLY #35947 /* ~I will honor my duty as best that I am able.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #35948 /* ~You have the wisdom that has secured your position within the church. You will dispense it to those that are needy. This is a sacred trust that you are given. Do not disappoint.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #35949 /* ~It shall last until it is completed. We all take our turn offering guidance. This is a sacred trust, and you should take honor in the opportunity.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 2.2
  SAY #35950 /* ~I though you might. It is a sacred trust, and you should be proud to be able to offer help to those that seek their place in life.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0 4.0 3.0
  SAY #35951 /* ~We will proceed with caution at first. I shall evaluate you following the results of each session. Usually the faithful return in a few days to tell how they made out. I shall return when this is so.~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut80a")
~ UNSOLVED_JOURNAL #55570 /* ~Cleric Stronghold: I am to serve the faithful.

In exchange for the honor of my position I am to hear questions from the faithful and advise them as the dictates of the church require. I must pay particular attention to how my faith should properly handle the situation.~ */ EXIT
END

IF WEIGHT #0 ~OR(4)
Global("Cuckold","GLOBAL",5)
Global("Cuckold","GLOBAL",6)
Global("Cuckold","GLOBAL",7)
Global("Cuckold","GLOBAL",9)
~ THEN BEGIN 7 // from:
  SAY #35952 /* ~Now I ask you how you have fared with your first assignment. What is the result of the meeting you had with Glinden?~ */
  IF ~Global("Cuckold","GLOBAL",5)
~ THEN REPLY #35953 /* ~I advised him to forgive his wife her transgressions. They are happy now.~ */ DO ~EraseJournalEntry(55570)
EraseJournalEntry(55572)
EraseJournalEntry(55573)
EraseJournalEntry(55574)
~ GOTO 8
  IF ~Global("Cuckold","GLOBAL",6)
~ THEN REPLY #35954 /* ~I advised him to remind his wife of her duty to their vows. It seems to have worked.~ */ DO ~EraseJournalEntry(55570)
EraseJournalEntry(55572)
EraseJournalEntry(55573)
EraseJournalEntry(55574)
~ GOTO 10
  IF ~Global("Cuckold","GLOBAL",7)
~ THEN REPLY #35955 /* ~I told him to not make a big production about his wife's infidelity. They still despair.~ */ DO ~EraseJournalEntry(55570)
EraseJournalEntry(55572)
EraseJournalEntry(55573)
EraseJournalEntry(55574)
~ GOTO 11
  IF ~Global("Cuckold","GLOBAL",9)
~ THEN REPLY #35956 /* ~I advised him to murder his wife and her lover. This seemed best.~ */ DO ~EraseJournalEntry(55570)
EraseJournalEntry(55572)
EraseJournalEntry(55573)
EraseJournalEntry(55574)
~ GOTO 12
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #35957 /* ~A fortuitous result, though you advised him improperly. To simply walk away from the sanctified vows of marriage is an affront to duty. You got lucky, but in future you must stress the importance of responsibility.~ */
  IF ~~ THEN DO ~AddexperienceParty(13000)
~ SOLVED_JOURNAL #55575 /* ~Cleric Stronghold: Not the best result for Helm. 

I was chastised by my fellows in the church for my advice to Glinden. The teachings of Helm would have been better served by stressing duty above all, regardless of the result.~ */ GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 12.0 11.0 10.0 8.0
  SAY #35958 /* ~I will have another young worshipper sent to you. Be sure to advise them as pleases Helm. The results are important, but the means are more so. I will return to you in 3 days.~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut80b")
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 7.1
  SAY #35959 /* ~Of course it has. They merely needed to be reassured that duty is above all, and that reverence for such duty is the way to happiness.~ */
  IF ~~ THEN DO ~AddexperienceParty(20000)
~ SOLVED_JOURNAL #55576 /* ~Cleric Stronghold: Just as Helm would wish it.  

I have pleased the church, despite the melancholy feelings of Glinden and his wife. Helm dictates that duty is the most important factor of any situation, and though they do not know it, the couple has been blessed by their actions.~ */ GOTO 9
END

IF ~~ THEN BEGIN 11 // from: 7.2
  SAY #35960 /* ~Of course they do! You should have stressed the importance of their duty to one another. They have nothing if they do not have this responsibility. You have not done well in this matter.~ */
  IF ~~ THEN DO ~AddexperienceParty(8000)
~ SOLVED_JOURNAL #55575 /* ~Cleric Stronghold: Not the best result for Helm. 

I was chastised by my fellows in the church for my advice to Glinden. The teachings of Helm would have been better served by stressing duty above all, regardless of the result.~ */ GOTO 9
END

IF ~~ THEN BEGIN 12 // from: 7.3
  SAY #35961 /* ~While the crime she committed was dire, and the abandonment of her vows is an affront to duty, death was far too harsh a punishment. You have failed in this matter, and must do better.~ */
  IF ~~ THEN SOLVED_JOURNAL #55575 /* ~Cleric Stronghold: Not the best result for Helm. 

I was chastised by my fellows in the church for my advice to Glinden. The teachings of Helm would have been better served by stressing duty above all, regardless of the result.~ */ GOTO 9
END

IF WEIGHT #1 ~Global("Duelmurder","GLOBAL",5)
~ THEN BEGIN 13 // from:
  SAY #35962 /* ~I have returned to evaluate your performance of your duty to Helm. What have you to tell me about Ti'Vael the dwarf? How did you advise him to deal with his problem?~ */
  IF ~Dead("cltiva01")
~ THEN REPLY #35964 /* ~I told him to kill the witnesses of a crime he committed, then I killed him for it.~ */ DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ GOTO 14
  IF ~!Dead("cltiva01")
~ THEN REPLY #35965 /* ~I told him to kill the witnesses of a crime he committed and never return here.~ */ DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ GOTO 14
  IF ~Dead("cltiva01")
~ THEN REPLY #35966 /* ~It... uh... worked out for the best. Yes, he's much better now.~ */ DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ GOTO 17
  IF ~!Dead("cltiva01")
~ THEN REPLY #35967 /* ~It... uh... worked out for the best. Yes, he's much better now.~ */ DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ GOTO 17
END

IF ~~ THEN BEGIN 14 // from: 13.1 13.0
  SAY #35970 /* ~This is not the way of Helm! There were innocent souls requiring help, and you led them down the path of chaos! You have failed in your duty! This is inexcusable!~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 28.0 17.0 14.0
  SAY #35971 /* ~You have misrepresented the Watcher and made a mockery of your role as a protector! I have no choice but to recommend you be stripped of the honor of specialty priest!~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.0
  SAY #35972 /* ~You are no longer welcome here as a favored of Helm. Go, and ponder the honor you have lost!~ */
  IF ~~ THEN DO ~SetGlobal("Stripped","GLOBAL",2)
SetGlobal("Duelmurder","GLOBAL",0)
SetGlobal("Faithless","GLOBAL",0)
SetGlobal("Cuckold","GLOBAL",0)
SetGlobal("Challenge","GLOBAL",0)
SetGlobal("Talonwar","GLOBAL",0)
EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
EraseJournalEntry(55569)
EraseJournalEntry(55570)~ SOLVED_JOURNAL #55579 /* ~Cleric Stronghold: My church has rejected me. 

My actions were so contrary to church teachings that I have been cast out. I no longer have the sanctuary I was granted.~ */ EXIT
END

IF ~~ THEN BEGIN 17 // from: 13.3 13.2
  SAY #35973 /* ~I see. You do realize that you have been under close scrutiny in your time here. Not only have you failed in your duty, you have led innocent souls down the path of chaos!~ */
  IF ~~ THEN GOTO 15
END

IF WEIGHT #2 ~Global("Stripped","GLOBAL",2)
~ THEN BEGIN 18 // from:
  SAY #35974 /* ~Your duty to the church is finished here. Go, and do not darken these halls again.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~Global("Duelmurder","GLOBAL",2)
~ THEN BEGIN 19 // from:
  SAY #36011 /* ~I have been advised by friends in the guard that you sent your last confidant to turn himself in. He apparently said that you made him aware of a greater duty he had to fulfill.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ SOLVED_JOURNAL #55593 /* ~Cleric Stronghold: Helm is well pleased.

While prison may not be the happiest of places, Ti'Vael's spirit will flourish in the end. He had a duty to a greater law, and I advised him properly.~ */ GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #36012 /* ~You have done exceptionally well. By taking responsibility he has spared his soul a most dreadful anguish. This adherence to a higher law is very agreeable to Helm's teachings.~ */
  IF ~~ THEN DO ~AddexperienceParty(20000)
~ GOTO 21
END

IF ~~ THEN BEGIN 21 // from: 26.0 23.0 20.0
  SAY #36013 /* ~I will have another person sent to you for guidance. Teach them in the ways of the Watcher. You will serve them well, I am sure. I will return in a few days for the result.~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut80c")
~ EXIT
END

IF WEIGHT #4 ~Global("Duelmurder","GLOBAL",7)
~ THEN BEGIN 22 // from:
  SAY #36014 /* ~I have heard of the direction you gave the dwarf, Ti'Vael. You were perhaps a bit naive in your judgement of the situation. All has ended well, though the greater law has still been breached.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ SOLVED_JOURNAL #55594 /* ~Cleric Stronghold: Helm is mostly satisfied.

Events with Ti'Vael could have been handled better. Remember the greater duty, and do not surrender to sentiment.~ */ GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.0
  SAY #36015 /* ~He has taken responsibility for the kin of his victim, and I suppose that is enough. Very good, though perhaps it could have been better. We shall see how you fare in the future.~ */
  IF ~~ THEN GOTO 21
END

IF WEIGHT #5 ~Global("Duelmurder","GLOBAL",4)
~ THEN BEGIN 24 // from:
  SAY #36016 /* ~A friend in the city guard has informed me about a sad occurrence. The dwarf you were to have given guidance has turned up dead. It would seem that he thought his crime would go unpunished.~ */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #36017 /* ~He was killed by a group of mercenaries. The kin of the man he murdered apparently could not afford professionals, and their cut-rate cutthroats got a little overzealous in gathering facts.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55584)
EraseJournalEntry(55585)
EraseJournalEntry(55586)
EraseJournalEntry(55587)
EraseJournalEntry(55588)
~ SOLVED_JOURNAL #55594 /* ~Cleric Stronghold: Helm is mostly satisfied.

Events with Ti'Vael could have been handled better. Remember the greater duty, and do not surrender to sentiment.~ */ GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #36018 /* ~No deed goes unpunished, especially when you do not take responsibility. Keep this in mind in the future when giving suspect advice, <CHARNAME>.~ */
  IF ~~ THEN GOTO 21
END

IF WEIGHT #6 ~OR(4)
Global("Faithless","GLOBAL",1)
Global("Faithless","GLOBAL",2)
Global("Faithless","GLOBAL",3)
Global("Faithless","GLOBAL",4)
~ THEN BEGIN 27 // from:
  SAY #36184 /* ~I would speak to you a moment, <CHARNAME>, about how you dealt with the young woman Rania, and her lack of faith.~ */
  IF ~Global("Faithless","GLOBAL",1)
~ THEN DO ~EraseJournalEntry(55595)
EraseJournalEntry(55596)
EraseJournalEntry(55597)
EraseJournalEntry(55598)
EraseJournalEntry(55570)
EraseJournalEntry(55569)~ GOTO 28
  IF ~Global("Faithless","GLOBAL",2)
~ THEN DO ~EraseJournalEntry(55595)
EraseJournalEntry(55596)
EraseJournalEntry(55597)
EraseJournalEntry(55598)
~ SOLVED_JOURNAL #55602 /* ~Cleric Stronghold: Helm is pleased.

Rania is a regrettable loss, but if her faith could not stand up to the pressures of duty, her loss was necessary.~ */ GOTO 29
  IF ~Global("Faithless","GLOBAL",3)
~ THEN DO ~EraseJournalEntry(55595)
EraseJournalEntry(55596)
EraseJournalEntry(55597)
EraseJournalEntry(55598)
~ SOLVED_JOURNAL #55603 /* ~Cleric Stronghold: Helm is not pleased.

I was too lenient on Rania and her weakened faith. Duty should have been better stressed. If she could not stand up to such, she is not worthy of Helm.~ */ GOTO 30
  IF ~Global("Faithless","GLOBAL",4)
~ THEN DO ~EraseJournalEntry(55595)
EraseJournalEntry(55596)
EraseJournalEntry(55597)
EraseJournalEntry(55598)
~ SOLVED_JOURNAL #55604 /* ~Cleric Stronghold: Helm is not pleased.

Banishment was too harsh a punishment for Rania and her weakened faith. Duty should have been better stressed, but she should not have been abandoned so quickly.~ */ GOTO 31
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #36185 /* ~Your behavior has been totally unacceptable. Ordering the killing of someone for simple doubts is hardly enough reason. Straying from the fold is serious, but it does not warrant death.~ */
  IF ~~ THEN SOLVED_JOURNAL #55579 /* ~Cleric Stronghold: My church has rejected me. 

My actions were so contrary to church teachings that I have been cast out. I no longer have the sanctuary I was granted.~ */ GOTO 15
END

IF ~~ THEN BEGIN 29 // from: 27.1
  SAY #36186 /* ~Though she has walked away from the church, you were correct in stressing the duty that accompanies faith. If she could not live up to that duty, then her loss is regrettable, but necessary.~ */
  IF ~~ THEN DO ~AddexperienceParty(20000)
~ GOTO 32
END

IF ~~ THEN BEGIN 30 // from: 27.2
  SAY #36187 /* ~You were much too lenient with her. The duty that accompanies the security of faith is not to be shucked off so easily. It will perhaps be best if she does not return. I understand your concern, though.~ */
  IF ~~ THEN DO ~AddexperienceParty(13000)
~ GOTO 32
END

IF ~~ THEN BEGIN 31 // from: 27.3
  SAY #36188 /* ~You were too harsh on her. Though a lack of faith is a dangerous thing for a member of the church, it does not warrant banishment. She could have been made to see reason.~ */
  IF ~~ THEN DO ~AddexperienceParty(8000)
~ GOTO 32
END

IF ~~ THEN BEGIN 32 // from: 31.0 30.0 29.0
  SAY #36191 /* ~I will have you advise another person soon, and I will return to see the result in a day or two. Continue to keep the will of Helm in mind.~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut80d")
~ EXIT
END

IF WEIGHT #7 ~OR(2)
Global("Challenge","GLOBAL",2)
Global("Challenge","GLOBAL",4)
!Dead("clcoti01")
~ THEN BEGIN 33 // from:
  SAY #36228 /* ~What is this yelling about! You will upset the parishioners if they think there is no peace in the Watcher's own home! Cotirso! You were told to keep your grievance out of the temple!~ */
  IF ~~ THEN EXTERN ~CLCOTI01~ 18
END

IF ~~ THEN BEGIN 34 // from:
  SAY #36230 /* ~If you were the better choice you would have the position! You were denied it fairly, not for any conspiracy reason! Now you have made a personal claim of this against <CHARNAME>.~ */
  IF ~~ THEN GOTO 35
END

IF ~~ THEN BEGIN 35 // from: 34.0
  SAY #36231 /* ~<CHARNAME>, you have been challenged to a duel, with Cotirso knowing full well your resources. This matter will be a short one to deal with if you accept. What say you?~ */
  IF ~~ THEN REPLY #36232 /* ~I will duel him here and now! He should not have slandered me!~ */ GOTO 36
  IF ~~ THEN REPLY #36233 /* ~I have no wish to fight him.~ */ GOTO 37
END

IF ~~ THEN BEGIN 36 // from: 35.0
  SAY #36234 /* ~Very well. Defend yourself, Cotirso! You have brought this upon your own head!~ */
  IF ~~ THEN DO ~SetGlobal("Challenge","GLOBAL",1)
ActionOverride("clcoti01",Enemy())
~ EXIT
END

IF ~~ THEN BEGIN 37 // from: 35.1
  SAY #36235 /* ~I see. Very well then, Cotirso, your challenge is refused. You have no recourse here now. Get out of the house of Helm until you can conduct yourself with decorum!~ */
  IF ~~ THEN EXTERN ~CLCOTI01~ 19
END

IF ~~ THEN BEGIN 38 // from:
  SAY #36237 /* ~Yes it IS! Go!~ */
  IF ~~ THEN DO ~SetGlobal("Challenge","GLOBAL",5)
ActionOverride("clcoti01",EscapeArea())
~ EXIT
END

IF WEIGHT #8 ~Global("Challenge","GLOBAL",5)
~ THEN BEGIN 39 // from:
  SAY #36238 /* ~You should have answered his challenge, <CHARNAME>. Cotirso is troubled, but he has the right to choose his method of expulsion. Perhaps he will be able to recover as he is, but I do not know.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55607)
EraseJournalEntry(55608)
EraseJournalEntry(55609)
~ SOLVED_JOURNAL #55613 /* ~Cleric Stronghold: Cotirso is pacified.

Helm would rather have had me accept Cotirso's challenge, although everything has worked out regardless.~ */ GOTO 45
END

IF ~~ THEN BEGIN 40 // from:
  SAY #36239 /* ~Enough excitement. I will have another supplicant sent to you soon.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #9 ~OR(2)
Global("Challenge","GLOBAL",1)
Dead("clcoti01")
Global("Talonwar","GLOBAL",0)
~ THEN BEGIN 41 // from:
  SAY #36263 /* ~This has been a regrettable series of events, hasn't it? Poor Cotirso. He could not understand the will of Helm in this matter. Still, he chose his own fate, and that is empowering.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55607)
EraseJournalEntry(55608)
EraseJournalEntry(55609)
~ SOLVED_JOURNAL #55614 /* ~Cleric Stronghold: Cotirso is removed.

Helm is satisfied that Cotirso took his life into his hands when he challenged me. I had no choice but to accept and respond as I must.~ */ GOTO 42
END

IF ~~ THEN BEGIN 42 // from: 41.0
  SAY #36264 /* ~You did as you should have in the situation. Helm looks on with favor at your continued service. Take heart that while your duty is not always easy, it is always appreciated.~ */
  IF ~~ THEN DO ~AddexperienceParty(20000)
~ GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 45.0 42.0
  SAY #36265 /* ~I would like to send you back to your regular duties, but there is a matter of much more importance that requires immediate attention, one that the Watchers cannot ignore.~ */
  IF ~~ THEN GOTO 46
END

IF WEIGHT #10 ~Global("Challenge","GLOBAL",5)
!Dead("clcoti01")
~ THEN BEGIN 44 // from:
  SAY #36266 /* ~That was unpleasant, to be sure. <CHARNAME>, you should have taken the duel. Your very work for Helm was being questioned. Take pride in what you do, and take your reputation seriously.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55607)
EraseJournalEntry(55608)
EraseJournalEntry(55609)
~ SOLVED_JOURNAL #55613 /* ~Cleric Stronghold: Cotirso is pacified.

Helm would rather have had me accept Cotirso's challenge, although everything has worked out regardless.~ */ GOTO 45
END

IF ~~ THEN BEGIN 45 // from: 44.0 39.0
  SAY #36267 /* ~Still, a life was saved, though I don't hold much hope for what he will do with it. For now, all is well again.~ */
  IF ~~ THEN DO ~AddexperienceParty(13000)
~ GOTO 43
END

IF ~~ THEN BEGIN 46 // from: 43.0
  SAY #36293 /* ~You know of Talos and his destructive teachings, don't you? His followers delight in chaos, and that delight is about to turn into the greatest crime we have known in years.~ */
  IF ~~ THEN REPLY #36294 /* ~No doubt it shall be murderous in nature if the Raging One is involved.~ */ GOTO 47
  IF ~~ THEN REPLY #36295 /* ~The Stormlord is a dangerous foe. I pity those in his path.~ */ GOTO 47
END

IF ~~ THEN BEGIN 47 // from: 46.1 46.0
  SAY #36296 /* ~We have received word that they are to assault the temple of the Morninglord, Lathander. We cannot allow this to come to pass, no matter how destined their conflict.~ */
  IF ~~ THEN REPLY #36297 /* ~We must be guardians to both, lest they destroy each other completely.~ */ GOTO 48
  IF ~~ THEN REPLY #36298 /* ~Would they even respond to reason? The Talassans are always ready to destroy.~ */ GOTO 48
  IF ~~ THEN REPLY #36299 /* ~What can be done? What can stand in the path of all of this?~ */ GOTO 48
END

IF ~~ THEN BEGIN 48 // from: 47.2 47.1 47.0
  SAY #36300 /* ~It falls to us to prevent a massacre, though the cure will be no less bloody than the disease. We must put ourselves between the two forces, so that neither are obliterated.~ */
  IF ~~ THEN GOTO 49
END

IF ~~ THEN BEGIN 49 // from: 48.0
  SAY #36301 /* ~You must protect the temple of Lathander, repelling all that try to kill those within. Failing that, you must convince the Lathanderites not to launch a revenge attack. Righteous fury can be as deadly as villainy.~ */
  IF ~~ THEN GOTO 50
END

IF ~~ THEN BEGIN 50 // from: 49.0
  SAY #36302 /* ~Tonight, <CHARNAME>, you must act as saviors to those that may not wish to be saved. None of the invading force can be allowed entry or retreat. This is deterrent. It must be.~ */
  IF ~~ THEN DO ~SetGlobal("Challenge","GLOBAL",0)
SetGlobal("Talonwar","GLOBAL",1)
SetGlobal("TalonwarSpawn","GLOBAL",1)
~ UNSOLVED_JOURNAL #55617 /* ~Cleric Stronghold: Halting the Talon War.

I must place myself between the forces of the Lathander temple and the Talos worshippers. I must protect the Lathander temple as allies of Helm, but I must also prevent them from wiping out the Talons as well. The entire action is illegal, and both parties must be made to stop. I must go to the Lathander temple first.~ */ EXIT
END

IF WEIGHT #11 ~Global("Talonwar","GLOBAL",1)
NumDeadLT("talkni02",4)
~ THEN BEGIN 51 // from:
  SAY #36303 /* ~You must ferret out the entire invading force of Talassans, such that they respect the borders between them and the house of the Morninglord. It is bloody, but it will prevent more death in the long term.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #12 ~Global("Talonwar","GLOBAL",2)
NumDeadGT("talkni02",3)
~ THEN BEGIN 52 // from:
  SAY #36304 /* ~Your harsh duty is fulfilled, <CHARNAME>. There are casualties, but at least there are some participants left to mourn them. It is not easy to stand in the path of anger, but you have stood tall.~ */
  IF ~~ THEN REPLY #36305 /* ~It was my duty. I could do no other than what Helm does bid me.~ */ GOTO 53
  IF ~~ THEN REPLY #36306 /* ~It was like standing between two squabbling children, a hand on each of their heads.~ */ GOTO 53
  IF ~~ THEN REPLY #36307 /* ~I should not wish to experience such again.~ */ GOTO 53
END

IF ~~ THEN BEGIN 53 // from: 52.2 52.1 52.0
  SAY #36308 /* ~Such is the burden of the Watchers, those that protect and guide. <CHARNAME>, you have shown your worth to Helm a hundred-fold over. Now you may take some time for yourself.~ */
  IF ~~ THEN GOTO 54
END

IF ~~ THEN BEGIN 54 // from: 53.0
  SAY #36309 /* ~Your place is here whenever you wish it, even if you do not actively serve. Remember that you remain in the gaze of the Vigilant One, and that your actions reflect upon him. Go with honor.~ */
  IF ~~ THEN DO ~AddexperienceParty(35000)
GiveGoldForce(1000)
SetGlobal("Talonwar","GLOBAL",3)
EraseJournalEntry(55617)
EraseJournalEntry(55619)
EraseJournalEntry(55621)
EraseJournalEntry(55622)
EraseJournalEntry(55623)
~ SOLVED_JOURNAL #55618 /* ~Cleric Stronghold: Halting the Talon War.

I have served the greater law and pacified both the Talons and the followers of the Morninglord. My service to Helm has been recognized as invaluable. For now I have been released from further service as a boon for all that I have done so far. I await to be called if need be.~ */ EXIT
END

IF WEIGHT #13 ~Global("Talonwar","GLOBAL",3)
~ THEN BEGIN 55 // from:
  SAY #36311 /* ~Thank you for stopping the war. Helm watches over you and through you. You are favored like few others, and are always welcome here.~ */
  IF ~Global("GaveLathReward","LOCALS",1)~ THEN EXIT
  IF ~Global("GaveLathReward","LOCALS",0)~ THEN GOTO 64
END

IF WEIGHT #14 ~Global("Talonwar","GLOBAL",4)
~ THEN BEGIN 56 // from:
  SAY #36382 /* ~<CHARNAME>, you were to stop the hostilities. You were to ease tensions once the initial attack was over. What have you done? There is death all around!~ */
  IF ~~ THEN REPLY #36384 /* ~The Tallassans needed to be put in their place! This is better in the long term!~ */ GOTO 57
  IF ~~ THEN REPLY #36385 /* ~The fallen needed to be revenged! Are we to abandon them?~ */ GOTO 59
END

IF ~~ THEN BEGIN 57 // from: 56.0
  SAY #36386 /* ~No it is not! This was not the only outpost of the Talos faith, and despite their feelings the Lathanderites were not completely devastated. The attack began as a minor, though bloody, mischief.~ */
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 58 // from: 59.0 57.0
  SAY #36388 /* ~Now we have the beginnings of a holy war, where both sides will not back down from insult! There will be much more death when their numbers are both reinforced.~ */
  IF ~~ THEN GOTO 60
END

IF ~~ THEN BEGIN 59 // from: 56.1
  SAY #36390 /* ~And what of the fallen on the Talassan side? Repelling their attack was one thing, but now we have added insult to injury! They will bolster their numbers and this will escalate!~ */
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 60 // from: 58.0
  SAY #36393 /* ~No, <CHARNAME>, this is a tragic failing on your part. I had thought to give you more time for yourself out of respect, but now I must relieve you in shame.~ */
  IF ~~ THEN GOTO 61
END

IF ~~ THEN BEGIN 61 // from: 60.0
  SAY #36395 /* ~Others will clean up this mess in time. Your work here is done. Go, and keep Helm in your heart as much as you are capable.~ */
  IF ~~ THEN DO ~SetGlobal("Talonwar","GLOBAL",5)
EraseJournalEntry(55617)
EraseJournalEntry(55619)
EraseJournalEntry(55621)
EraseJournalEntry(55622)
EraseJournalEntry(55623)
EraseJournalEntry(55568)
EraseJournalEntry(55670)~ SOLVED_JOURNAL #55579 /* ~Cleric Stronghold: My church has rejected me. 

My actions were so contrary to church teachings that I have been cast out. I no longer have the sanctuary I was granted.~ */ EXIT
END

IF WEIGHT #15 ~Global("Talonwar","GLOBAL",5)
~ THEN BEGIN 62 // from:
  SAY #36396 /* ~I fear your welcome will be a little cold, <CHARNAME>. We are still feeling the effects of the war you have let begin.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #16 ~!InPartySlot(LastTalkedToBy,0)~ THEN BEGIN 63 // from:
  SAY #61131 /* ~May Helm Watch over you! You must excuse me but my duties require me to speak with <CHARNAME>.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 64 // from: 55.1
  SAY #62111 /* ~Here is a reward for your service.~ */
  IF ~~ THEN DO ~AddexperienceParty(35000)
GiveGoldForce(1000)
SetGlobal("GaveLathReward","LOCALS",1)~ EXIT
END
