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

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

IF WEIGHT #3 /* Triggers after states #: 29 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
False()
NumberOfTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",5)
~ THEN BEGIN 0 // from:
  SAY #78103 /* ~What do you mean, prisoners?!  No one is supposed to know of camp!  NO ONE!~ */
  IF ~~ THEN EXTERN ~_RAIKEN~ 14
END

IF WEIGHT #9 /* Triggers after states #: 3 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 1 // from: _RAIKEN:14.0
  SAY #78142 /* ~All the reason more to kill!  He'll have my skull for this!  Kill them now!  Better still, I do myself!  I trust not you fools!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK1","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK1","GLOBAL",1)~ EXTERN ~_SHARTJ~ 115
END

IF WEIGHT #10 /* Triggers after states #: 3 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 2 // from:
  SAY #78143 /* ~Save breath, waste breath, whatever you wish.  You die either way!~ */
  IF ~~ THEN DO ~ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 29 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
False()
NumberOfTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",2)
~ THEN BEGIN 3 // from:
  SAY #78144 /* ~Recruits!?  Secret operation and you hire those you rob!?  By the lower planes, why do we pay Black Talon to do stealth if you almost light signal fires!?~ */
  IF ~~ THEN EXTERN ~_RAIKEN~ 15
END

IF WEIGHT #11 /* Triggers after states #: 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 4 // from: _RAIKEN:15.0
  SAY #78145 /* ~YOU DON'T THINK!  I THINK!  I question them myself and if they are not as you say, you die too!~ */
  IF ~~ THEN GOTO 5
END

IF WEIGHT #12 /* Triggers after states #: 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 5 // from: 4.0
  SAY #78146 /* ~I say now I don't like you!  Give me reason to not have you broth-boiled and use your skin to swaddle my small-kin!  Who are you that I should let you join?!~ */
  IF ~~ THEN REPLY #78147 /* ~We're just a group of simple merchants on our way to Baldur's Gate.  Your bandits tried to raid us, so we figured if we can't beat them, join them.~ */ GOTO 6
  IF ~~ THEN REPLY #78148 /* ~Ahh, go scare some school-girls.  I could bruise you but good, and that's exactly why you need me!~ */ GOTO 7
  IF ~~ THEN REPLY #78149 /* ~We're strong, well armed, and we know opportunity when we see it!  What better job be there for us?  Dungeon crawling?  That's fools' work!~ */ GOTO 9
  IF ~Global("X#VicTazok","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicTazok","GLOBAL",1)~ EXTERN ~_VICONJ~ 127
END

IF WEIGHT #13 /* Triggers after states #: 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 6 // from: _VICONJ:127.0 55.0 5.0
  SAY #78150 /* ~I've never seen "simple" merchants armed as you are!  It look more like kick-ass be your commodity!  I think you lie to me!  I THINK YOU DIE!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK2","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK2","GLOBAL",1)~ EXTERN ~_SHARTJ~ 116
END

IF WEIGHT #14 /* Triggers after states #: 8 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 7 // from: _VICONJ:127.1 55.1 5.1
  SAY #78151 /* ~You talk big!  Maybe I think you talk TOO big!  Maybe I think we just see who gets bruised!!  Put your sword where your mouth is, or I put MINE there!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK3","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK3","GLOBAL",1)~ EXTERN ~_SHARTJ~ 117
END

IF WEIGHT #5 /* Triggers after states #: 29 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
HPPercentLT(Myself,50)
Global("FoughtTazok","GLOBAL",0)
~ THEN BEGIN 8 // from:
  SAY #78152 /* ~Heh!  You fight pretty good.  Maybe you're not such weaklings.  I think you make pretty good bandits.  Okay, you have run of camp.  I have business to do but Ardenor and Taugosz will keep eyes on you!~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",1)
ChangeEnemyAlly(Myself,NEUTRAL)
SetGlobal("FoughtTazok","GLOBAL",1)
~ UNSOLVED_JOURNAL #78153 /* ~Tazok and the bandits

Tazok has allowed us to stay in the bandit camp, but will be keeping a constant watch on us.~ */ GOTO 13
  IF ~Global("X#GarTaz1","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarTaz1","GLOBAL",1)~ EXTERN ~_GARRIJ~ 117
END

IF WEIGHT #15 /* Triggers after states #: 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 9 // from: _VICONJ:127.2 55.2 5.2
  SAY #78154 /* ~Hmmm.  You have some sense, but I have many a strong back here already.  What for I need you?!~ */
  IF ~~ THEN REPLY #78155 /* ~Surely you must realize you need any help you can get, especially after losing Mulahey in the Nashkel mine.~ */ GOTO 10
  IF ~~ THEN REPLY #78156 /* ~Would you rather have too few and need more, or have too many and not need them at all?~ */ GOTO 11
  IF ~~ THEN REPLY #78157 /* ~Must I explain everything?!  Can your thick ogrish skull not see how obviously talented we are?  You're a fool if you don't take us!~ */ GOTO 12
END

IF WEIGHT #16 /* Triggers after states #: 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 10 // from: 9.0
  SAY #78158 /* ~NONE KNOW THIS!!  If you know, maybe it was you who did it!!  I take your heads back to see if you get recognized!!  At them, men!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
SetGlobal("JoinedBandits","GLOBAL",0)
Shout(2727)
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK4","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK4","GLOBAL",1)~ EXTERN ~_SHARTJ~ 118
END

IF WEIGHT #17 /* Triggers after states #: 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 11 // from: 9.1
  SAY #78159 /* ~Ehhh'?  You sure are big on words.  You better be big on the battlefield too, cuz if you're not... you die.  You have run of the camp.  If I hear ONE bad thing from Ardenor and Taugosz, I personally feed your livers to the crows!~ */
  IF ~~ THEN GOTO 13
END

IF WEIGHT #18 /* Triggers after states #: 13 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 12 // from: 9.2
  SAY #78160 /* ~I may not be the smartest man, but I know a blowhard braggart when I see one!  I'm also not the one giving grief to the short-tempered, extremely large half-ogre!  Put your sword where your mouth is, or I put MINE there!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK5","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK5","GLOBAL",1)~ EXTERN ~_SHARTJ~ 119
END

IF WEIGHT #6 /* Triggers after states #: 29 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
Global("BeatTazok","GLOBAL",1)
~ THEN BEGIN 13 // from: 53.0 11.0 8.0
  SAY #78161 /* ~I take a patrol and leave for mine tonight!  Keep pressure on trade routes and there be extra gold for all when we are done!  I leave soon.~ */
  IF ~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
EscapeArea()
~ UNSOLVED_JOURNAL #78162 /* ~A hidden base?

Tazok is traveling to a mine site.  This mine site could be the home base of whoever controls the bandits.~ */ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivanTazok1","GLOBAL",0)
~ THEN DO ~SetGlobal("P#KivanTazok1","GLOBAL",1)
EndCutSceneMode()
~ EXTERN ~_KIVANJ~ 242
END

IF WEIGHT #19 /* Triggers after states #: 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 14 // from:
  SAY #78163 /* ~A fool you are!  You have no brain to attack me with my bandits everywhere!  Attack!!  I want these idiots dead!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK6","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK6","GLOBAL",1)~ EXTERN ~_SHARTJ~ 120
END

IF WEIGHT #20 /* Triggers after states #: 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 15 // from: _TEVEN:15.0
  SAY #78164 /* ~All the more reason to kill!  He'll have my skull for this!  Kill them now!  Better still, I do myself!  I trust not you fools!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK7","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK7","GLOBAL",1)~ EXTERN ~_SHARTJ~ 121
END

IF WEIGHT #21 /* Triggers after states #: 17 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 16 // from:
  SAY #78143 /* ~Save breath, waste breath, whatever you wish.  You die either way!~ */
  IF ~~ THEN DO ~ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 29 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
False()
NumberOfTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",1)
~ THEN BEGIN 17 // from:
  SAY #78144 /* ~Recruits!?  Secret operation and you hire those you rob!?  By the lower planes, why do we pay Black Talon to do stealth if you almost light signal fires!?~ */
  IF ~~ THEN EXTERN ~_TEVEN~ 16
END

IF WEIGHT #22 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 18 // from: _TEVEN:16.0
  SAY #78165 /* ~YOU DON'T THINK!  I THINK!  I question them myself and if they not as you say, you die too!~ */
  IF ~~ THEN GOTO 19
END

IF WEIGHT #23 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 19 // from: 18.0
  SAY #78146 /* ~I say now I don't like you!  Give me reason to not have you broth-boiled and use your skin to swaddle my small-kin!  Who are you that I should let you join?!~ */
  IF ~~ THEN REPLY #78147 /* ~We're just a group of simple merchants on our way to Baldur's Gate.  Your bandits tried to raid us, so we figured if we can't beat them, join them.~ */ GOTO 20
  IF ~~ THEN REPLY #78148 /* ~Ahh, go scare some school-girls.  I could bruise you but good, and that's exactly why you need me!~ */ GOTO 21
  IF ~~ THEN REPLY #78149 /* ~We're strong, well armed, and we know opportunity when we see it!  What better job be there for us?  Dungeon crawling?  That's fools' work!~ */ GOTO 23
END

IF WEIGHT #24 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 20 // from: 19.0
  SAY #78150 /* ~I've never seen "simple" merchants armed as you are!  It look more like kick-ass be your commodity!  I think you lie to me!  I THINK YOU DIE!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK8","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK8","GLOBAL",1)~ EXTERN ~_SHARTJ~ 122
END

IF WEIGHT #25 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 21 // from: 19.1
  SAY #78166 /* ~You talk big!  Maybe I think you talk TOO big!  Maybe I think we just see who get bruised!!  Put you're sword where your mouth is, or I put MINE there!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK9","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK9","GLOBAL",1)~ EXTERN ~_SHARTJ~ 123
END

IF WEIGHT #26 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 22 // from:
  SAY #78167 /* ~Heh!  You fight pretty good.  Maybe you're not such weaklings.  I think you make pretty good bandits.  Okay, you have run of camp.  I have business to do, but Ardenor and Taugosz keep eyes on you!~ */
  IF ~~ THEN DO ~SetGlobal("BeatTazok","GLOBAL",1)
ChangeEnemyAlly(Myself,NEUTRAL)
~ UNSOLVED_JOURNAL #78153 /* ~Tazok and the bandits

Tazok has allowed us to stay in the bandit camp, but will be keeping a constant watch on us.~ */ GOTO 27
  IF ~Global("X#GarTaz2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarTaz2","GLOBAL",1)~ EXTERN ~_GARRIJ~ 118
END

IF WEIGHT #27 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 23 // from: 19.2
  SAY #78168 /* ~Hmmm.  Ye have some sense to ye, but I have many a strong back here already.  What for I need you?!~ */
  IF ~~ THEN REPLY #78155 /* ~Surely you must realize you need any help you can get, especially after losing Mulahey in the Nashkel mine.~ */ GOTO 24
  IF ~~ THEN REPLY #78156 /* ~Would you rather have too few and need more, or have too many and not need them at all?~ */ GOTO 25
  IF ~~ THEN REPLY #78157 /* ~Must I explain everything?!  Can your thick ogrish skull not see how obviously talented we are?  You're a fool if you don't take us!~ */ GOTO 26
END

IF WEIGHT #28 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 24 // from: 23.0
  SAY #78169 /* ~NONE KNOW THIS!!  If you know, maybe it was you who did it!!  I take your heads back to see if you're recognized!!  At them, men!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
SetGlobal("JoinedBandits","GLOBAL",0)
Shout(2727)
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK10","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK10","GLOBAL",1)~ EXTERN ~_SHARTJ~ 124
END

IF WEIGHT #29 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 25 // from: 23.1
  SAY #78170 /* ~Ehhh... ?  You sure are big on words.  You better be big on the battlefield too, cuz if you're not... you die.  You have run of the camp.  If I hear ONE bad thing from Ardenor and Taugosz, I personally feed your livers to the crows!~ */
  IF ~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN UNSOLVED_JOURNAL #78153 /* ~Tazok and the bandits

Tazok has allowed us to stay in the bandit camp, but will be keeping a constant watch on us.~ */ GOTO 27
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivanTazok1","GLOBAL",0)
~ THEN DO ~SetGlobal("P#KivanTazok1","GLOBAL",1)
EndCutSceneMode()
~ EXTERN ~_KIVANJ~ 242
END

IF WEIGHT #30 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 26 // from: 23.2
  SAY #78171 /* ~I may not be the smartest man, but I know a blowhard braggart when I see one!  I'm also not the one giving grief to the short-tempered, extremely large half-ogre!  Put you're sword where your mouth is, or I put MINE there!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK11","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK11","GLOBAL",1)~ EXTERN ~_SHARTJ~ 125
END

IF WEIGHT #31 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 27 // from: 54.0 25.0 22.0
  SAY #78161 /* ~I take a patrol and leave for mine tonight!  Keep pressure on trade routes and there be extra gold for all when we are done!  I leave soon.~ */
  IF ~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
EscapeArea()
~ UNSOLVED_JOURNAL #78162 /* ~A hidden base?

Tazok is traveling to a mine site.  This mine site could be the home base of whoever controls the bandits.~ */ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivanTazok1","GLOBAL",0)
~ THEN DO ~SetGlobal("P#KivanTazok1","GLOBAL",1)
EndCutSceneMode()
~ EXTERN ~_KIVANJ~ 242
END

IF WEIGHT #32 /* Triggers after states #: 29 33 34 35 even though they appear after this state */
~  OR(3)
!InParty("kivan")
!InMyArea("kivan")
StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN BEGIN 28 // from:
  SAY #78163 /* ~A fool you are!  You have no brain to attack me with my bandits everywhere!  Attack!!  I want these idiots dead!!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
  IF ~Global("X#SHARTEELTAZOK12","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK12","GLOBAL",1)~ EXTERN ~_SHARTJ~ 126
END

IF WEIGHT #2 /* Triggers after states #: 34 35 even though they appear after this state */
~False()
~ THEN BEGIN 29 // from:
  SAY #78172 /* ~I'm a member of the Black Talons.  All I know is that we've been hired by the Zhentarim to attack the iron shipments coming along the Coast Way road.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 30 // from:
  SAY #75471 /* ~You've outstayed your welcome!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 31 // from:
  SAY #78173 /* ~Useless magic!  Tazok laugh at you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 32 // from:
  SAY #78173 /* ~Useless magic!  Tazok laugh at you!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 34 35 even though they appear after this state */
~False()
NumberOfTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",4)
~ THEN BEGIN 33 // from:
  SAY #78174 /* ~What do you mean, prisoners?!  No one supposed to know of camp!  NO ONE!~ */
  IF ~~ THEN EXTERN ~_TEVEN~ 15
END

IF WEIGHT #0 ~  GlobalGT("JoinedBandits","GLOBAL",0)
Global("Chapter","GLOBAL",3)
InParty("kivan")
~ THEN BEGIN 34 // from:
  SAY #98971 /* ~Kill them! I am expected at the mines, and have no time for this shit!~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",2)
SetGlobal("FoughtTazok","GLOBAL",2)
SetGlobal("JoinedBandits","GLOBAL",0)
SetGlobal("X#KBCTE","GLOBAL",1)
ActionOverride("banditcr",Enemy())
~ JOURNAL #98972 /* ~Tazok has recognized Kivan, and our plan to infiltrate the bandit's camp has failed.~ */ GOTO 35
  IF ~Global("X#SHARTEELTAZOK13","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK13","GLOBAL",1)~ EXTERN ~_SHARTJ~ 127
END

IF WEIGHT #1 ~  Global("BeatTazok","GLOBAL",2)
InParty("kivan")
~ THEN BEGIN 35 // from: 51.0 36.0 34.0 _SHARTJ:127.0
  SAY #98973 /* ~The elf's head is to go on the pole in front of my tent!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",Enemy())
ActionOverride("raiken",Enemy())
SetGlobal("JoinedBandits","GLOBAL",0)
ActionOverride("banditcr",Enemy())
EscapeArea()
SetGlobal("X#KBCTE","GLOBAL",1)
~ UNSOLVED_JOURNAL #98974 /* ~Kivan and Tazok

Unsurprisingly, my companion Kivan was recognized by Tazok, but he did not get his chance to skewer the half-ogre. The bandit was apparently too busy to deal with the revenge-crazy elf. Tazok is traveling to a mine site. This mine site could be the home base of whoever controls the bandits.~ */ EXIT
  IF ~Global("X#SHARTEELTAZOK14","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELTAZOK14","GLOBAL",1)~ EXTERN ~_SHARTJ~ 128
END

IF ~~ THEN BEGIN 36 // from:
  SAY #98971 /* ~Kill them! I am expected at the mines, and have no time for this shit!~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",2)
SetGlobal("FoughtTazok","GLOBAL",2)
SetGlobal("JoinedBandits","GLOBAL",0)
ActionOverride("banditcr",Enemy())
~ JOURNAL #98975 /* ~Tazok Recognized Kivan

Tazok has recognized Kivan and our plan to infiltrate the bandit's camp has failed.~ */ GOTO 35
END

IF ~~ THEN BEGIN 37 // from:
  SAY #98976 /* ~Now, isn't that our walking dead at last? And with a company of pathetic fools like himself, no less.~ */
  IF ~~ THEN EXTERN ~_KIVANJ~ 253
END

IF ~~ THEN BEGIN 38 // from:
  SAY #98978 /* ~Oh, your screeching voice makes me shiver! You have pestered my soldiers long enough, scum! I am going to put an end to it, and I am going to do the job properly.~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",2)
SetGlobal("FoughtTazok","GLOBAL",2)
ActionOverride("tazok",Enemy())
ActionOverride("teven",Enemy())
ActionOverride("banditcr",Enemy())
ActionOverride("raiken",Enemy())
~ JOURNAL #98979 /* ~Tazok Recognized Kivan

Tazok has recognized Kivan. Our only hope to infiltrate the bandit's camp now is to kill the fiend. Kivan would like that, I wager.~ */ EXIT
END

IF ~~ THEN BEGIN 39 // from: _SHARTJ:115.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 40 // from: _SHARTJ:116.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 41 // from: _SHARTJ:117.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 42 // from: _SHARTJ:118.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
SetGlobal("JoinedBandits","GLOBAL",0)
Shout(2727)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 43 // from: _SHARTJ:119.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 44 // from: _SHARTJ:120.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 45 // from: _SHARTJ:121.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 46 // from: _SHARTJ:122.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 47 // from: _SHARTJ:123.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 48 // from: _SHARTJ:124.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
SetGlobal("JoinedBandits","GLOBAL",0)
Shout(2727)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 49 // from: _SHARTJ:125.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 50 // from: _SHARTJ:126.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",EscapeArea())
ActionOverride("raiken",EscapeArea())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 51 // from: _SHARTJ:127.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",2)
SetGlobal("FoughtTazok","GLOBAL",2)
SetGlobal("JoinedBandits","GLOBAL",0)
SetGlobal("X#KBCTE","GLOBAL",1)
ActionOverride("banditcr",Enemy())
~ JOURNAL #98972 /* ~Tazok has recognized Kivan, and our plan to infiltrate the bandit's camp has failed.~ */ GOTO 35
END

IF ~~ THEN BEGIN 52 // from: _SHARTJ:128.1
  SAY #99845 /* ~Heh, maybe you are bandits, after all! Let's see if you can fight!~ */
  IF ~~ THEN DO ~EndCutSceneMode()
ActionOverride("teven",Enemy())
ActionOverride("raiken",Enemy())
SetGlobal("JoinedBandits","GLOBAL",0)
ActionOverride("banditcr",Enemy())
EscapeArea()
SetGlobal("X#KBCTE","GLOBAL",1)
~ UNSOLVED_JOURNAL #98974 /* ~Kivan and Tazok

Unsurprisingly, my companion Kivan was recognized by Tazok, but he did not get his chance to skewer the half-ogre. The bandit was apparently too busy to deal with the revenge-crazy elf. Tazok is traveling to a mine site. This mine site could be the home base of whoever controls the bandits.~ */ EXIT
END

IF ~~ THEN BEGIN 53 // from:
  SAY #100160 /* ~Taugoz watching you.~ */
  IF ~~ THEN DO ~ClearAllActions()
SetGlobal("BeatTazok","GLOBAL",1)
ChangeEnemyAlly(Myself,NEUTRAL)
SetGlobal("FoughtTazok","GLOBAL",1)
~ UNSOLVED_JOURNAL #78153 /* ~Tazok and the bandits

Tazok has allowed us to stay in the bandit camp, but will be keeping a constant watch on us.~ */ GOTO 13
END

IF ~~ THEN BEGIN 54 // from:
  SAY #100160 /* ~Taugoz watching you.~ */
  IF ~~ THEN DO ~SetGlobal("BeatTazok","GLOBAL",1)
ChangeEnemyAlly(Myself,NEUTRAL)
~ UNSOLVED_JOURNAL #78153 /* ~Tazok and the bandits

Tazok has allowed us to stay in the bandit camp, but will be keeping a constant watch on us.~ */ GOTO 27
END

IF ~~ THEN BEGIN 55 // from: _VICONJ:127.3
  SAY #100814 /* ~Ha! Only one of you be drow, the rest look like weak-things!~ */
  IF ~~ THEN REPLY #78147 /* ~We're just a group of simple merchants on our way to Baldur's Gate.  Your bandits tried to raid us, so we figured if we can't beat them, join them.~ */ GOTO 6
  IF ~~ THEN REPLY #78148 /* ~Ahh, go scare some school-girls.  I could bruise you but good, and that's exactly why you need me!~ */ GOTO 7
  IF ~~ THEN REPLY #78149 /* ~We're strong, well armed, and we know opportunity when we see it!  What better job be there for us?  Dungeon crawling?  That's fools' work!~ */ GOTO 9
END
