// creator  : weidu.exe (version 23600)
// argument : TEVEN.DLG
// game     : .
// source   : ./override/TEVEN.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 18 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #1194 /* ~Drop ye weapons and and mayhaps ye outlive the day! I'll no be sayin' it twice!~ */
  IF ~~ THEN REPLY #1195 /* ~You weak-kneed bandits don't scare me! I'll feed your arse my boot!~ */ GOTO 1
  IF ~~ THEN REPLY #1196 /* ~We'll not fight you. In fact, we want to join your group.~ */ GOTO 3
  IF ~~ THEN REPLY #1197 /* ~We don't want any trouble. Take what you want and leave us be.~ */ GOTO 2
  IF ~Global("X#KivanTeven","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
!Dead("tazok")
~ THEN DO ~SetGlobal("X#KivanTeven","GLOBAL",1)~ EXTERN ~KIVANJ~ 227
END

IF ~~ THEN BEGIN 1 // from: 8.0 7.0 4.0 0.0
  SAY #1198 /* ~At their throats, men, for today they wish to die!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ UNSOLVED_JOURNAL #27382 /* ~Tazok and the Bandits
While they didn't provide any useful information, I put an end to another group of bandits plaguing the Sword Coast today.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 8.1 7.1 4.1 0.2
  SAY #1199 /* ~There be a good group o' heroes. Now we be takin' any iron for the boss, and any gold for ourselves. Planning for the future I be.~ */
  IF ~~ THEN DO ~TakePartyGold(1000000)
Shout(2)
EscapeArea()
~ UNSOLVED_JOURNAL #27378 /* ~Tazok and the Bandits
The bandits I fought today were happy to steal copper, silver, and gold, but the metal they really cared about was iron.~ */ EXIT
  IF ~Global("X#ImoenTeven","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenTeven","GLOBAL",1)~ EXTERN ~IMOEN2~ 225
END

IF ~~ THEN BEGIN 3 // from: 0.1
  SAY #1200 /* ~Ha! We've plenty o' mules now! What for we be needin' you?~ */
  IF ~  CheckStatLT(LastTalkedToBy,10,STR)
~ THEN REPLY #1201 /* ~This is a bloodthirsty job you have, and we like the killin'! Let us join and the roads will run red 'neath our feet!~ */ UNSOLVED_JOURNAL #27379 /* ~Tazok and the Bandits
The local bandits have become awfully picky. They refused my offer to join their merry band.~ */ GOTO 4
  IF ~~ THEN REPLY #1202 /* ~Tazok can ill afford to turn down any offer of help. It's a monumental task he has ahead.~ */ GOTO 6
  IF ~~ THEN REPLY #1203 /* ~But there's no future in anything else! Everyone is afraid of you, and I want to be respected like that too! Please? Pretty pleeeeeease?~ */ GOTO 7
  IF ~  False()
~ THEN REPLY #1204 /* ~You're too good at your job! We can see which way the wind is blowing, and whatever you're doing, we want in. It's the only real profit on the Sword Coast today.~ */ GOTO 8
  IF ~  CheckStatGT(LastTalkedToBy,14,STR)
~ THEN REPLY #1926 /* ~This is a bloodthirsty job you have, and we like the killin'! Let us join and the roads will run red 'neath our feet!~ */ GOTO 5
  IF ~  True()
~ THEN REPLY #1927 /* ~You're too good at your job! We can see which way the wind is blowing, and whatever you're doing, we want in. It's the only real profit on the Sword Coast today.~ */ GOTO 9
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #1205 /* ~You be dead before dawn, an' probably take us all wit' you! We've no room fer lunatics! Now do ye surrender or no?~ */
  IF ~~ THEN REPLY #1928 /* ~You weak-kneed bandits don't scare me! I'll feed your arse my boot!~ */ GOTO 1
  IF ~~ THEN REPLY #1929 /* ~We don't want any trouble. Take what you want and leave us be.~ */ GOTO 2
END

IF ~~ THEN BEGIN 5 // from: 3.4
  SAY #1206 /* ~Aha, the fury of youth! Just wind ya up and point ya in the right direction, eh? Well, we'll see if the boss wants any more berserkers. Let's move.~ */
  IF ~~ THEN DO ~AddexperienceParty(400)
SetGlobal("JoinedBandits","GLOBAL",1)
Shout(2)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")
~ UNSOLVED_JOURNAL #27380 /* ~Tazok and the Bandits
I have managed to convince a group of bandits to let me join with them. I foresee no problem in finding their base now.~ */ EXIT
  IF ~Global("X#AjantisTeven1","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AjantisTeven1","GLOBAL",1)~ EXTERN ~AJANTJ~ 58
END

IF ~~ THEN BEGIN 6 // from: 3.1
  SAY #1207 /* ~Aye, Tazok be my master's name, but how would ye know that? Blasted spies you are! Have at them, men!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ UNSOLVED_JOURNAL #27381 /* ~Tazok and the Bandits
When I mentioned the name Tazok to a group of bandits, they attacked me at once. I guess not all bandits get along with each other.~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from: 3.2
  SAY #1208 /* ~We've no room for whiners! Surrender now and ye be home to Mommy in time for din-din!~ */
  IF ~~ THEN REPLY #1930 /* ~You weak kneed bandits don't scare me! I'll feed your arse my boot!~ */ GOTO 1
  IF ~~ THEN REPLY #1931 /* ~We don't want any trouble. Take what you want and leave us be.~ */ GOTO 2
END

IF ~~ THEN BEGIN 8 // from: 3.3
  SAY #1209 /* ~Shut yer sweet-mouth 'fore I gag, and choose to live or choose to die!~ */
  IF ~~ THEN REPLY #1932 /* ~You weak kneed bandits don't scare me! I'll feed your arse my boot!~ */ GOTO 1
  IF ~~ THEN REPLY #1933 /* ~We don't want any trouble. Take what you want and leave us be.~ */ GOTO 2
END

IF ~~ THEN BEGIN 9 // from: 3.5
  SAY #1210 /* ~Save your sweet talk fer the boss. I'll take ya to meet him but if he says ya die, then ya die. No chance to surrender then.~ */
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",4)
Shout(2)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")
~ UNSOLVED_JOURNAL #27380 /* ~Tazok and the Bandits
I have managed to convince a group of bandits to let me join with them. I foresee no problem in finding their base now.~ */ EXIT
  IF ~Global("X#AjantisTeven2","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AjantisTeven2","GLOBAL",1)~ EXTERN ~AJANTJ~ 59
END

IF ~~ THEN BEGIN 10 // from:
  SAY #1219 /* ~It's certain they woulda had a few coin between them, to be sure! Ye're a liar, and I'll still have yer blood on me blade when I run them through!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #1220 /* ~You be a day's dead before I give a second thought to killin' you!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ UNSOLVED_JOURNAL #27382 /* ~Tazok and the Bandits
While they didn't provide any useful information, I put an end to another group of bandits plaguing the Sword Coast today.~ */ EXIT
END

IF ~~ THEN BEGIN 12 // from:
  SAY #1221 /* ~Damned if I be lettin' you go after this mess. Ye're gonna have a chat with Tazok back at the camp, you will, and explain why you've delayed us! Or maybe ya just die tryin'!~ */
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",4)
Shout(2)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")
~ EXTERN ~BANDCT~ 0
END

IF ~~ THEN BEGIN 13 // from:
  SAY #1222 /* ~They's a bit more than just mouthy. They interested like they be knowin' something about what's going on! I just figured Tazok would want to know where they got their info. That would be bloody important, wouldn't it?~ */
  IF ~~ THEN EXTERN ~BANDCT~ 1
END

IF ~~ THEN BEGIN 14 // from:
  SAY #1223 /* ~I eyed 'em well 'fore bringin' 'em this far, and they be as good as we got. We ain't got the time to do formal training to cover our losses. We'll be no use if we don't fill in the ranks.~ */
  IF ~~ THEN EXTERN ~BANDCT~ 3
END

IF ~~ THEN BEGIN 15 // from: TAZOK:33.0
  SAY #1224 /* ~I know, Tazok. We just thought that you might want to question them. They seem to know something about what is going on!~ */
  IF ~~ THEN EXTERN ~TAZOK~ 15
END

IF ~~ THEN BEGIN 16 // from: TAZOK:17.0
  SAY #1225 /* ~We need to keep our numbers up! Besides, we checked them out pretty good. I think they'll do fine.~ */
  IF ~~ THEN EXTERN ~TAZOK~ 18
END

IF ~~ THEN BEGIN 17 // from:
  SAY #1226 /* ~Get yer arse in gear, ye stupid git! I'll no tell you twice!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 18 // from:
  SAY #5791 /* ~Me name's Teven. I've served the Blacktalons fer about 3 years now. I've been given orders to disrupt the flow of iron through this region. That's all I really know.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #27476 /* ~Tazok and the Bandits
When we charmed the bandit named Teven, we learned that he works for the Blacktalon mercenaries. The Blacktalons have been raiding the Coast Way. They have been ordered to target iron caravans.~ */ EXIT
END

IF ~~ THEN BEGIN 19 // from:
  SAY #8937 /* ~No talking and no deals! Death is all that you have left!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from:
  SAY #45576 /* ~Wait a minute! Lower ya hood, ya scum! Boys, here's Tazok's old friend - that's the one who offed Red Gren! We bring his head to Tazok - we're rich!~ */
  IF ~~ THEN DO ~Shout(1)
Enemy()
~ SOLVED_JOURNAL #45577 /* ~Teven Attacks

I have encountered a portion of the bandits that currently plague the coast. Their leader, Teven, recognized my companion, Kivan... and, I fear, it ended in conflict, and I shall have to find another method to locate their base.~ */ EXIT
END

IF ~~ THEN BEGIN 21 // from:
  SAY #46091 /* ~Ye said somethin'?~ */
  IF ~~ THEN DO ~AddexperienceParty(400)
SetGlobal("JoinedBandits","GLOBAL",1)
Shout(2)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")
~ UNSOLVED_JOURNAL #27380 /* ~Tazok and the Bandits
I have managed to convince a group of bandits to let me join with them. I foresee no problem in finding their base now.~ */ EXIT
END

IF ~~ THEN BEGIN 22 // from:
  SAY #46091 /* ~Ye said somethin'?~ */
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",4)
Shout(2)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")
~ UNSOLVED_JOURNAL #27380 /* ~Tazok and the Bandits
I have managed to convince a group of bandits to let me join with them. I foresee no problem in finding their base now.~ */ EXIT
END

IF ~~ THEN BEGIN 23 // from:
  SAY #47058 /* ~Thank ye kindly!~ */
  IF ~~ THEN DO ~TakePartyGold(1000000)
Shout(2)
EscapeArea()
~ UNSOLVED_JOURNAL #27378 /* ~Tazok and the Bandits
The bandits I fought today were happy to steal copper, silver, and gold, but the metal they really cared about was iron.~ */ EXIT
END
