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

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

IF WEIGHT #2 /* Triggers after states #: 15 even though they appear after this state */
~InParty("Coran")
NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #1529 /* ~For hire? You are a mercenary group?~ */
  IF ~~ THEN EXTERN ~CORANJ~ 1
END

IF ~~ THEN BEGIN 1 // from: CORANJ:1.0 CORAN:8.0
  SAY #1530 /* ~It is not his business to know, or perhaps he just pretends to not know.  I am not he.  I know of them, and would relay your words if you wish.~ */
  IF ~~ THEN JOURNAL #6563 /* ~~ */ EXTERN ~CORANJ~ 2
END

IF ~~ THEN BEGIN 2 // from: CORANJ:2.0 CORAN:9.0
  SAY #1531 /* ~I do not play games with those who indulge in killing for hire!~ */
  IF ~~ THEN JOURNAL #6564 /* ~~ */ EXTERN ~CORANJ~ 3
END

IF WEIGHT #3 /* Triggers after states #: 15 even though they appear after this state */
~!InParty("Coran")
NumTimesTalkedTo(0)
~ THEN BEGIN 3 // from:
  SAY #1532 /* ~And what would be the going rate to acquire a group such as yours?~ */
  IF ~~ THEN REPLY #1544 /* ~Then the conversation shall be short. It is I who offered our services, simply out of my good will. You may dismiss me, but consider what you may gain.~ */ GOTO 4
  IF ~~ THEN REPLY #1545 /* ~Tell me true and quick before I tire of this game!~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #1533 /* ~Perhaps he did not like your manner. It matters not. I know whom you seek.  I will relay what you wish to say. We... they have an interesting offer to present.~ */
  IF ~~ THEN REPLY #1546 /* ~I am listening. What is it you think you can do for me?~ */ GOTO 5
  IF ~~ THEN REPLY #1547 /* ~I have nothing to gain except an easier battle later if I kill you here and now.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: 4.0 3.1
  SAY #1534 /* ~Perhaps. The Cowled Wizards watch mages closely, so there is a demand for mages to perform certain... tasks. Especially if they guarantee not to get caught.~ */
  IF ~~ THEN REPLY #1548 /* ~Hmm? That would depend on the service to be provided. Or not to be provided. Do you understand what I am suggesting?~ */ EXIT
  IF ~~ THEN REPLY #1549 /* ~Speak your words plain! I do not have time to piece together your meaning!~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.1
  SAY #1535 /* ~A valuable service indeed. And what is it you wish to offer me?~ */
  IF ~~ THEN JOURNAL #6565 /* ~~ */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: CORANJ:3.1 CORAN:10.1 6.0
  SAY #1536 /* ~Standard dispassionate excuse for such a group. What is it you wish from me?~ */
  IF ~~ THEN DO ~SetGlobal("BrielbaraMove","GLOBAL",1)
EscapeArea()
~ JOURNAL #20887 /* ~~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 15 even though they appear after this state */
~Global("BrielbaraMove","GLOBAL",1)
~ THEN BEGIN 8 // from:
  SAY #1537 /* ~You are no better than criminals! I have no interest in dealing with you.~ */
  IF ~~ THEN REPLY #1550 /* ~I will not associate with such as you!~ */ GOTO 9
  IF ~PartyHasItem("BOOK70")
~ THEN REPLY #1551 /* ~That is not a productive attitude. I am offering an appealing alternative.  If you will not get past your emotion we will have nothing further to say.~ */ DO ~TakePartyItem("BOOK70")
AddexperienceParty(1000)
ReputationInc(1)
SetGlobal("BrielbaraMove","GLOBAL",2)
SetGlobal("HelpBrielbara","GLOBAL",1)
~ GOTO 12
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #1538 /* ~Speak it then, and do not waste my time further.~ */
  IF ~~ THEN REPLY #1552 /* ~Do you have a proposition to make? I will listen.~ */ GOTO 11
  IF ~~ THEN REPLY #1553 /* ~Speak your mind plain then!~ */ GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.1
  SAY #1539 /* ~Your group hires itself out then? They are mercenaries?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: CORANJ:3.0 9.0
  SAY #1540 /* ~Relay that I am going to exact a violent payment for my comrade's suffering!~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 8.1
  SAY #1541 /* ~You speak in circles like a halfling! Tell me plain if you have something to say!~ */
  IF ~!InParty("Coran")
~ THEN REPLY #1554 /* ~As you wish. Our group was directed to harm one of your number, though it was just business. I am here to speak an offer of counter-employment.~ */ DO ~GivePartyGold(200)
EscapeArea()
~ EXIT
  IF ~!InParty("Coran")
~ THEN REPLY #1555 /* ~You have encountered us before, in less sociable circumstance. Now I am offering our assistance in performing a service for you.~ */ DO ~EscapeArea()
~ EXIT
  IF ~InParty("Coran")
~ THEN REPLY #956 /* ~I neither understand nor appreciate such humor. If you are to effect my release, best you set to doing it.~ */ DO ~GivePartyGold(200)
~ GOTO 13
  IF ~InParty("Coran")
~ THEN REPLY #957 /* ~Know you well that this will not be forgotten! You have turned as I thought you might, and will get what is deserved!~ */ DO ~~ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.3 12.2
  SAY #1542 /* ~I take it you are a mercenary group of sorts.~ */
  IF ~~ THEN EXTERN ~CORANJ~ 4
END

IF ~~ THEN BEGIN 14 // from: CORANJ:4.0 CORAN:11.0
  SAY #1543 /* ~I have more than words to relay! They will pay for harming one of my group!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 15 // from:
  SAY #6068 /* ~Relax, Korgan. This isn't worth it. There will be no winner here.~ */
  IF ~~ THEN JOURNAL #6566 /* ~~ */ EXIT
END

IF WEIGHT #5 ~Global("HelpBrielbara","GLOBAL",1)
~ THEN BEGIN 16 // from:
  SAY #6069 /* ~I'm nay wrong.  Not now or ever.  Me favor won't be changin' and ye'd be well served to drop the matter, bowelhive, or ye'll eat through a reed.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from:
  SAY #8950 /* ~You should choose better company. That one just ain't right. Running out on a woman like that.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 ~Global("HelpBrielbara","GLOBAL",0)
~ THEN BEGIN 18 // from:
  SAY #17234 /* ~Grey is quite pleasant to look at.~ */
  IF ~~ THEN EXIT
END
