// creator  : weidu.exe (version 23100)
// argument : BDACT02.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #4 /* Triggers after states #: 2 3 4 6 even though they appear after this state */
~GlobalGT("PlayQuality","GLOBAL",0)
GlobalLT("PlayQuality","GLOBAL",6)
!Global("BardPlotOn","GLOBAL",2)~ THEN BEGIN 0 // from:
  SAY #40973 /* ~Eh?  Excuse me... I'm trying to get into character!  Can't you see that?!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 2 3 4 6 even though they appear after this state */
~GlobalLT("PlayQuality","GLOBAL",1)
!Global("BardPlotOn","GLOBAL",2)~ THEN BEGIN 1 // from:
  SAY #40974 /* ~The cursed play... and we're right in the middle of it.  'Tis the actor's dream to have it done well, though it seldom is...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("BardPlot1","GLOBAL",30)~ THEN BEGIN 2 // from:
  SAY #40975 /* ~Things always go wrong during a run of the Turmish play.  Always.  You can count on it.  Someone crossed the sorcerer whom this play laments, you can be sure.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~Global("BardPlot1","GLOBAL",20)~ THEN BEGIN 3 // from:
  SAY #40976 /* ~Higgold is a good enough man to run the playhouse.  He does a fine turn at acting, too.  Hmph.  I simply wish he would stop bedding Wynn and making the girl promises he won't keep.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~Global("BardPlot1","GLOBAL",25)~ THEN BEGIN 4 // from:
  SAY #40977 /* ~'Tis a grand thing to have the Council anoint the playhouse so.  And an even greater honor to be a part of the troupe that done it.  This will be a great place someday... a fine, honorable theater.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: BDACT01:3.0
  SAY #41071 /* ~As he says, my <PRO_LADYLORD>, Wynn and I play the minor roles.  I am a little concerned, myself, about the curse attached to the play, though...~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 18
END

IF WEIGHT #3 ~Global("BardPlot1","GLOBAL",11)~ THEN BEGIN 6 // from:
  SAY #41306 /* ~Aha!  The <PRO_LADYLORD> patron is here!  Finally!~ */
  IF ~Global("zarenchanges","GLOBAL",2)~ THEN EXTERN ~BDACT04~ 25
  IF ~Global("zarenchanges","GLOBAL",1)~ THEN EXTERN ~BDACT04~ 26
  IF ~Global("zarenchanges","GLOBAL",0)~ THEN EXTERN ~BDACT04~ 27
END

IF ~~ THEN BEGIN 7 // from: BDACT04:28.0 BDACT04:26.0
  SAY #41319 /* ~Well... some of the lines are better, I think.  But... it's changing all the time!  Every day it's something new!~ */
  IF ~~ THEN EXTERN ~BDACT05~ 19
END

IF ~~ THEN BEGIN 8 // from: BDACT04:29.0
  SAY #41322 /* ~If something isn't done, we're walking out!  Jenna feels the same, and Wynn is tired of it, too!~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 83
END

IF ~~ THEN BEGIN 9 // from: BDACT05:20.0
  SAY #41325 /* ~Some of it's better... but every day it's something new!  Every day something gets changed!  We don't get paid enough for this!  We'll walk out if something isn't done!~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 83
END

IF ~~ THEN BEGIN 10 // from: BDACT05:18.0
  SAY #41326 /* ~I'm sick of this!  You even got Jenna thinking about making changes!  Enough!  Every day it's something new!~ */
  IF ~~ THEN EXTERN ~BDACT04~ 31
END

IF ~~ THEN BEGIN 11 // from: BDACT04:31.0
  SAY #41328 /* ~I just want a finished play!  Something final!  Make all the damn changes you want, but I just can't work like this!  I don't get paid enough!~ */
  IF ~~ THEN EXTERN ~BDACT05~ 21
END

IF ~~ THEN BEGIN 12 // from: BDACT04:33.0
  SAY #41357 /* ~(sigh)  What would you rather, Iltheia?  That we are out on the street?~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 84
END

IF ~~ THEN BEGIN 13 // from: BDHIGG01:83.4
  SAY #41368 /* ~Well... gold isn't really the reason that we're complaining...~ */
  IF ~~ THEN EXTERN ~BDACT04~ 34
END

IF ~~ THEN BEGIN 14 // from: BDACT04:35.0
  SAY #41372 /* ~Well... we can't walk out.  We need the coin, and the traveling troupes have already moved on...~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 84
END

IF ~~ THEN BEGIN 15 // from: BDACT05:24.0 BDACT04:37.0
  SAY #41378 /* ~And finally something we can actually learn!  I can't believe we're making changes to the Turmish play, though...~ */
  IF ~~ THEN EXTERN ~BDHIGG01~ 85
END

IF ~~ THEN BEGIN 16 // from: BDACT01:4.0
  SAY #41654 /* ~I just wish I had more time to practice my lines.  This isn't exactly what I was expecting...~ */
  IF ~~ THEN EXTERN ~BDACT05~ 50
END

IF ~~ THEN BEGIN 17 // from: BDACT03:22.0
  SAY #42065 /* ~Well, still.  We could have done a lot better.  Let's not pick a play with a curse attached next season, eh?~ */
  IF ~GlobalLT("playmistake","GLOBAL",3)~ THEN EXTERN ~BDHIGG01~ 149
  IF ~GlobalGT("playmistake","GLOBAL",2)~ THEN EXTERN ~BDHIGG01~ 150
END

IF ~~ THEN BEGIN 18 // from: BDHIGG01:162.0
  SAY #42095 /* ~Hear!  Hear!!~ */
  IF ~~ THEN EXTERN ~BDACT06~ 36
END

IF ~~ THEN BEGIN 19 // from: BDACT01:7.0
  SAY #42099 /* ~Why couldn't you have done the role, <CHARNAME>?  You... you're a bard, aren't you?  I thought that...~ */
  IF ~~ THEN EXTERN ~BDACT04~ 40
END

IF WEIGHT #6 ~GlobalGT("PlayQuality","GLOBAL",9)
Global("BardPlotOn","GLOBAL",0)~ THEN BEGIN 20 // from:
  SAY #42106 /* ~I wouldn't have thought it possible... the cursed play, and it's going to be a masterpiece!  I can feel it in my bones!!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 ~GlobalGT("PlayQuality","GLOBAL",5)
GlobalLT("PlayQuality","GLOBAL",10)
!Global("BardPlotOn","GLOBAL",2)~ THEN BEGIN 21 // from:
  SAY #42110 /* ~There's a good sense, here... we've a fine group of actors assembled in this playhouse.  Haven't been part of a troupe like this in quite some time...~ */
  IF ~~ THEN EXIT
END
