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

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

IF WEIGHT #2 /* Triggers after states #: 10 11 even though they appear after this state */
~RandomNum(2,1)
~ THEN BEGIN 0 // from:
  SAY #43200 /* ~It has been a pleasure adventuring with you. Well met, and farewell.~ */
  IF ~~ THEN REPLY #74098 /* ~Please rejoin the party.~ */ DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY #74099 /* ~Bye.~ */ DO ~EscapeArea()~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 10 11 even though they appear after this state */
~RandomNum(2,2)
~ THEN BEGIN 1 // from:
  SAY #43201 /* ~Goodnight ladies, ladies goodnight.~ */
  IF ~~ THEN REPLY #74100 /* ~Get back in the party.~ */ DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY #74101 /* ~Goodnight and goodbye.~ */ DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,3)
~ THEN BEGIN 2 // from:
  SAY #43202 /* ~Alas, we must part ways. Until next time then.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,4)
~ THEN BEGIN 3 // from:
  SAY #43203 /* ~I regret that I must leave the party. It has been a joy to serve in your company.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #6 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,5)
~ THEN BEGIN 4 // from:
  SAY #43204 /* ~Fine, cast me aside just because my player took a hike. Nice, real nice. Probably stripped me naked too.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,6)
~ THEN BEGIN 5 // from:
  SAY #43205 /* ~Fare thee well, <CHARNAME>. It has been an honor serving in your company.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #8 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,7)
~ THEN BEGIN 6 // from:
  SAY #43206 /* ~You'll miss me when I'm gone. You know that, don't you?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #9 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,8)
~ THEN BEGIN 7 // from:
  SAY #43207 /* ~Fine, you just leave me here. I'll find someone else to do some serious gaming. Wouldn't that just cheese you right off if I finished the game for you, eh?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #10 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,9)
~ THEN BEGIN 8 // from:
  SAY #43208 /* ~I wish you safe travels. I am hopeful you can prevail against the odds set before you.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #11 /* Triggers after states #: 10 11 even though they appear after this state */
~//RandomNum(10,10)
~ THEN BEGIN 9 // from:
  SAY #43209 /* ~Is this the end for me? I suppose it was inevitable. Very well. No tears, no regrets. Now get outta here, ya big lug.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #0 ~InParty(Myself)~ THEN BEGIN 10 // from:
  SAY #62166 /* ~Why do you wish to waste my time with idle banter?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~!InParty(Myself)
OR(5)
Name("osprey",Myself)
Name("canderous",Myself)
Name("mordaine",Myself)
Name("arkanis",Myself)
Name("deeder",Myself)
~ THEN BEGIN 11 // from:
  SAY #43202 /* ~Alas, we must part ways. Until next time then.~ */
  IF ~~ THEN DO ~ActionOverride("osprey",EscapeArea())
ActionOverride("canderous",EscapeArea())
ActionOverride("mordaine",EscapeArea())
ActionOverride("arkanis",EscapeArea())
ActionOverride("deeder",EscapeArea())
EscapeArea()
~ EXIT
END
