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

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

IF WEIGHT #2 /* Triggers after states #: 5 7 even though they appear after this state */
~  RandomNum(5,1)
~ THEN BEGIN 0 // from:
  SAY #1917 /* ~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 #26859 /* ~Tazok and the Bandits
It seems that the bandit group known as the "Chill" does not get along with the bandit group called the "Blacktalons."~ */ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 5 7 even though they appear after this state */
~  RandomNum(5,2)
~ THEN BEGIN 1 // from:
  SAY #1918 /* ~Watch yourself! There's strange magic around that Ardenor. Not like any hobgoblin I ever seen!~ [GENMG12] */
  IF ~~ THEN UNSOLVED_JOURNAL #26860 /* ~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 7 even though they appear after this state */
~  RandomNum(5,3)
~ THEN BEGIN 2 // from:
  SAY #1919 /* ~Where does that Tazok get off ordering the Blacktalons around?! I dun heard he ain't even the big boss!~ [BANDT02] */
  IF ~~ THEN UNSOLVED_JOURNAL #26861 /* ~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 7 even though they appear after this state */
~  RandomNum(5,4)
~ THEN BEGIN 3 // from:
  SAY #1920 /* ~Shut yer mouth, fool! Tazok works for the Zhentarim, and they spreadin' everywhere! Why you think they bring us from Iriaebor? Pushin' into the Sword Coast an' the locals ain't pleased.~ [BANDT03] */
  IF ~~ THEN UNSOLVED_JOURNAL #26862 /* ~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 7 even though they appear after this state */
~  RandomNum(5,5)
~ THEN BEGIN 4 // from:
  SAY #1922 /* ~What are you lookin' at?! Shove off!~ [BANDT04] */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 /* Triggers after states #: 7 even though they appear after this state */
~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 5 // from:
  SAY #6825 /* ~I'm a bandit who works fer the Blacktalons. 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 #26857 /* ~Tazok and the Bandits
The low level grunts of the Blacktalon 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 #8930 /* ~I wouldn't trust you as far as I can spit!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  Global("X#TazokAlarm","GLOBAL",1)
~ THEN BEGIN 7 // from:
  SAY #45627 /* ~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 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #45628 /* ~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 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #45629 /* ~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
