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

BEGIN ~_BRAGE~

IF ~Global("BrageRiddle","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #76296 /* ~I pray you left a trail of crumbs to lead us all back again.  The others did not, so they have decided to stay.  Shall we try to find the way home together?  I pose to you a riddle, the answer to which I once knew, but now cannot perceive.  Remind me, and we shall all return unto the day.  Fail, and stay with me in the dark, forgetting whence we came...

It has neither mouth, nor teeth, yet, it eats its food steadily.  It has neither village, nor home, nor hands, nor feet; yet it wanders everywhere.  It has neither country, nor means, nor office, nor pen; yet it is ready for fight - always.  By day and by night there is wailing about it.  It has no breath, yet to all it appears.~ */
  IF ~~ THEN REPLY #76297 /* ~War~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #76298 /* ~Wind~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #76299 /* ~The Insect~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #14026 /* ~Death~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
SetGlobal("BrageRiddle","GLOBAL",1)
~ GOTO 2
  IF ~~ THEN REPLY #76300 /* ~The Circus~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #76301 /* ~The Moon~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #76302 /* ~A Bear~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~~ THEN REPLY #76303 /* ~An Outlaw~ */ DO ~SetGlobal("MetBrage","GLOBAL",1)
~ GOTO 1
  IF ~Global("X#VicBrage","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicBrage","GLOBAL",1)~ EXTERN ~_VICONJ~ 88
END

IF ~~ THEN BEGIN 1 // from: 0.7 0.6 0.5 0.4 0.2 0.1 0.0
  SAY #76304 /* ~Thine eyes are as blind as mine!  If thou art in the darkness with me, then we are of the same cloth!  I'll not allow another to do as I have!  Die monsters, DIE!!~ */
  IF ~~ THEN DO ~SetGlobal("BrageRiddle","GLOBAL",3)
Enemy()
~ UNSOLVED_JOURNAL #76305 /* ~The tale of Captain Brage

I have had to kill the berserking Brage, and I need but return his body to Nashkel for my reward.  I must decide whether to return it to the garrison, or to the temple.~ */ EXIT
  IF ~Global("X#GarBrage","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarBrage","GLOBAL",1)~ EXTERN ~_GARRIJ~ 56
END

IF ~~ THEN BEGIN 2 // from: 0.3
  SAY #76306 /* ~The end of night, where the light shines unto mine eyes and I can see clearly once again!  What hath I wrought!?  'Tis horrible, HORRIBLE!!  I will welcome the block that must await me at Nashkel!  How could I live with what I've done!  Please, thy must guide me to the town that I might pay for my crimes!  I fear I can keep my senses for only so long, and I must not be allowed to do this again!  Too many good people have lost their lives to me!  Please...~ */
  IF ~!Dead("nalin")
~ THEN REPLY #76307 /* ~We'll see you back safe as we can, though I don't see how killing you will help those that have died.  We shall take you to the temple of Helm in hopes that you may be healed.~ */ GOTO 4
  IF ~~ THEN REPLY #76308 /* ~There be a bounty on your head, Brage.  A bounty that says nothing of the rest of you!  I'll not take the chance that you'll lose your mind again!  Since they'll kill you anyway, you die here and now!~ */ GOTO 5
  IF ~Global("X#BRAGE2","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#BRAGE2","GLOBAL",1)~ EXTERN ~_XANJ~ 275
  IF ~Global("X#BRAGE2","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#BRAGE2","GLOBAL",1)~ EXTERN ~_VICONJ~ 224
END

IF ~~ THEN BEGIN 3 // from:
  SAY #76309 /* ~I suppose I am a murderer as you hast said, though it's as though my mind were elsewhere.  I can only assume this is an after-effect of my years wielding a blade.  A life of fighting must have made me... unstable.  Well, I'm done with it!  Take all my gear and do with it what you will.  I'll not be needing it in the gallows.  Lead on.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #76310 /* ~The tale of Captain Brage

I have captured the supposedly murderous Brage.  Now I need but return him to Nashkel, to either the garrison or the temple.  If he is delivered to the garrison he will surely be killed, but I know not what the temple intends.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.0
  SAY #76311 /* ~I fear I can do nothing for those I've wronged whether I live or die, and I still know not what led me to this.  It's like a foul presence in my mind!  I can only imagine that I have finally succumbed to battle fatigue.  Take my weapon, that I might not harm another!  Use it if thy wish, though I'd rather it be destroyed.  Innocent blood on everything!  I'd only just acquired the sword.  Such a waste this has been.  Take me to Nashkel, I can bear this no longer.~ */
  IF ~~ THEN DO ~DestroyItem("_SW2H01")
GiveItem("_SW2H03",LastTalkedToBy)
GiveItem("_POTN12",LastTalkedToBy)
AddexperienceParty(1000)
ReputationInc(1)
ClearAllActions()
StartCutSceneMode()
StartCutScene("_RAGECUT")
~ UNSOLVED_JOURNAL #76310 /* ~The tale of Captain Brage

I have captured the supposedly murderous Brage.  Now I need but return him to Nashkel, to either the garrison or the temple.  If he is delivered to the garrison he will surely be killed, but I know not what the temple intends.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.1
  SAY #76319 /* ~Money-hungry bounty-hunters!  A hundred more I could have killed, and you would have done nothing if there were no price on my carcass!  I've no wish to continue this life, but I'll not lay down for thy easy money!  You fooled me, but in reality your eyes are as blind as I was!  Die monsters!~ */
  IF ~~ THEN DO ~Enemy()
~ UNSOLVED_JOURNAL #76305 /* ~The tale of Captain Brage

I have had to kill the berserking Brage, and I need but return his body to Nashkel for my reward.  I must decide whether to return it to the garrison, or to the temple.~ */ EXIT
END

IF ~Global("BrageRiddle","GLOBAL",1)
~ THEN BEGIN 6 // from:
  SAY #76320 /* ~No, I cannot show my face here after what I've done!  Just give me to the guard that I might take my punishment as I should!  Do not disgrace me further in front of Helm!~ */
  IF ~~ THEN DO ~SetGlobal("BrageRiddle","GLOBAL",2)
~ EXTERN ~_NALIN~ 3
END

IF ~~ THEN BEGIN 7 // from: _DYNAHJ:275.0 _DYNAHJ:274.0 _DYNAHJ:273.0 _AJANTJ:295.0
  SAY #76321 /* ~But my crimes... my family... I don't want to go on!~ */
  IF ~~ THEN EXTERN ~_NALIN~ 4
END

IF ~~ THEN BEGIN 8 // from:
  SAY #76322 /* ~I will resist you not at all.  Lead me to mine fate.~ */
  IF ~~ THEN EXIT
END

IF ~Global("BrageRiddle","GLOBAL",2)
~ THEN BEGIN 9 // from:
  SAY #76323 /* ~I must atone for my many crimes.  My poor family...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #100080 /* ~DIE!~ */
  IF ~~ THEN DO ~SetGlobal("BrageRiddle","GLOBAL",3)
Enemy()
~ UNSOLVED_JOURNAL #76305 /* ~The tale of Captain Brage

I have had to kill the berserking Brage, and I need but return his body to Nashkel for my reward.  I must decide whether to return it to the garrison, or to the temple.~ */ EXIT
END
