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

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

IF WEIGHT #2 /* Triggers after states #: 5 8 even though they appear after this state */
~RandomNum(5,1)
Global("Chapter","GLOBAL",3)
~ THEN BEGIN 0 // from:
  SAY #74670 /* ~Blasted Chill!  If'n we weren't workin' fer the same boss I'd kill them hobgoblin scum fer the coppers they carry!~ [_GENMG10] */
  IF ~~ THEN UNSOLVED_JOURNAL #74671 /* ~Tazok and the bandits

It would seem that the bandit group known as the 'Chill' does not get along with the bandit group called the 'Black Talons.'~ */ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 5 8 even though they appear after this state */
~RandomNum(5,2)
Global("Chapter","GLOBAL",3)
~ THEN BEGIN 1 // from:
  SAY #74672 /* ~Watch yourself!  There's strange magic around that Ardenor.  Not like any hobgoblin I ever seen!~ [_GENMG12] */
  IF ~~ THEN UNSOLVED_JOURNAL #74673 /* ~Tazok and the bandits

The hobgoblin called Ardenor Crush is rumored to be surrounded by strange magic.~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 5 8 even though they appear after this state */
~RandomNum(5,3)
Global("Chapter","GLOBAL",3)
~ THEN BEGIN 2 // from:
  SAY #74674 /* ~Where does that Tazok get off ordering the Black Talons around?!  I dun heard he ain't even the big boss!~ [_BANDT02] */
  IF ~~ THEN UNSOLVED_JOURNAL #74675 /* ~Tazok and the bandits

Though Tazok does lead the bandits, I have heard rumors that he has at least one superior.~ */ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 5 8 even though they appear after this state */
~RandomNum(5,4)
Global("Chapter","GLOBAL",3)
~ THEN BEGIN 3 // from:
  SAY #74676 /* ~Shut yer mouth, fool!  Tazok works for the Zhentarim, and they spreadin' everywhere!  Why you think they bring us from Iriaebor?  Pushin' into Sword Coast an the locals ain't pleased.~ [_BANDT03] */
  IF ~~ THEN UNSOLVED_JOURNAL #74677 /* ~Tazok and the bandits

I have heard rumors that Tazok gets his orders from the Zhentarim.  Of this I'm not so sure...~ */ EXIT
END

IF WEIGHT #6 /* Triggers after states #: 5 8 even though they appear after this state */
~RandomNum(5,5)
~ THEN BEGIN 4 // from:
  SAY #74678 /* ~What are you lookin' at?!  Shove off!~ [_BANDT04] */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 /* Triggers after states #: 8 even though they appear after this state */
~StateCheck(Myself,STATE_CHARMED)
Global("Chapter","GLOBAL",3)
~ THEN BEGIN 5 // from:
  SAY #74679 /* ~I'm a bandit who works fer the Black Talons.  From what I gather, we get paid by the Zhents.  Though I have to say this; the guys who come to give us orders don't look like Zhents.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #74680 /* ~Tazok and the bandits

The low level grunts of the Black Talon mercenaries believe that they've been hired by the Zhentarim to stir up trouble along the Coast Way.~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #74681 /* ~I wouldn't trust you as far as I can spit!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 8 even though they appear after this state */
~True()
~ THEN BEGIN 7 // from:
  SAY #74678 /* ~What are you lookin' at?!  Shove off!~ [_BANDT04] */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  Global("X#TazokAlarm","GLOBAL",1)
~ THEN BEGIN 8 // from:
  SAY #98980 /* ~Lo! Tazok was found dead. By Mask, he'd have our hides, if he'd get lucky again, and 'em bosses in the Gate'd order him patched up...~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #98981 /* ~But who're ya? Ne'ver seen ya before... Bah, I'm in no mood to ask questions. Nobody'd spend pretty penny on raising me up.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #98982 /* ~So, sorry, pal, but ya've been just promoted to murderers. HEYOOO! I found Tazok's killers! HEYOOO!~ */
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",0)
SetGlobal("X#TazokAlarm","GLOBAL",2)
ActionOverride("bandit",Enemy())
~ EXIT
END
