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

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

IF WEIGHT #6 /* Triggers after states #: 11 12 13 14 19 21 even though they appear after this state */
~True()~ THEN BEGIN 0 // from:
  SAY #24104 /* ~What you want with Bunkin? Be quick cuz Bunkin busy lookin' pretty.~ */
  IF ~Global("GorfXDoug","GLOBAL",2)~ THEN REPLY #24105 /* ~We want you to drug Gorf so that he won't pummel our little friend Mazzy.~ */ GOTO 1
  IF ~Global("GorfXDoug","GLOBAL",2)
CheckStatGT(LastTalkedToBy(Myself),15,CHR)~ THEN REPLY #24106 /* ~We merely stopped by to admire your beauty.~ */ GOTO 2
  IF ~Global("GorfXDoug","GLOBAL",2)
CheckStatLT(LastTalkedToBy(Myself),16,CHR)~ THEN REPLY #24108 /* ~We merely stopped by to admire your beauty.~ */ GOTO 4
  IF ~!Global("GorfXDoug","GLOBAL",2)~ THEN REPLY #61227 /* ~We're looking for Gorf.  He said he'd meet us here.~ */ GOTO 20
  IF ~~ THEN REPLY #24107 /* ~I want nothing from you.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 4.2 0.0
  SAY #24109 /* ~You cheat! No cheatin' allowed! I'm gonna tell the pit manager. Not gonna slip my man no drugs!~ */
  IF ~~ THEN DO ~SetGlobal("GorfMeanie","GLOBAL",1)~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 13.0 0.1
  SAY #24110 /* ~Oh, yer so nice! Gorf never compliments me. 'Cept when he's drunk.~ */
  IF ~~ THEN REPLY #24111 /* ~Well, Bunkin, maybe he just doesn't have the right kind of brain. He is an ogre after all. I think I can help you.~ */ GOTO 5
  IF ~~ THEN REPLY #24112 /* ~Why should he? He's a big stupid oaf.~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 0.4
  SAY #24113 /* ~You's the one who came to talk to me.~ */
  IF ~~ THEN DO ~SetNumTimesTalkedTo(0)~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.2
  SAY #24114 /* ~Thanks... wait... you don't really mean it.~ */
  IF ~~ THEN REPLY #24115 /* ~Of course I do. How can I prove it to you?~ */ GOTO 7
  IF ~~ THEN REPLY #24116 /* ~You're right. I don't.~ */ GOTO 6
  IF ~~ THEN REPLY #24117 /* ~Shut up and listen! You're gonna slip this drug in Gorf's ale or I'll break your scrawny neck!~ */ GOTO 1
END

IF ~~ THEN BEGIN 5 // from: 2.0
  SAY #24118 /* ~You can make Gorf nicer?~ */
  IF ~~ THEN REPLY #24119 /* ~I've seen that he doesn't show you enough respect. I have a love potion here. If you pour the potion into his ale when he arrives tonight, I guarantee that he'll be nice.~ */ GOTO 8
END

IF ~~ THEN BEGIN 6 // from: 7.1 4.1 2.1
  SAY #24120 /* ~Ya don't have to be all mean. Go away.~ */
  IF ~~ THEN DO ~SetGlobal("GorfMeanie","GLOBAL",1)~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 4.0
  SAY #24121 /* ~When someone thinks a girl's pretty, they buy her a nice present. The bartender has a nice gold necklace.~ */
  IF ~~ THEN REPLY #24122 /* ~Your loveliness only lacks the proper ornament. Allow me to purchase this bauble and return to you.~ */ GOTO 9
  IF ~~ THEN REPLY #24123 /* ~Hey, you're crazy if you think I'm going to waste gold on you.~ */ GOTO 6
END

IF ~~ THEN BEGIN 8 // from: 5.0
  SAY #24124 /* ~He'll really be nice? Like when he's drunk?~ */
  IF ~~ THEN REPLY #24125 /* ~Uh, almost exactly like he's drunk to be truthful.~ */ DO ~TakePartyItem("amul10")
TakePartyItem("potn53")
DestroyItem("potn53")~ GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 7.0
  SAY #24126 /* ~I'll be here.~ */
  IF ~~ THEN DO ~SetGlobal("WantsNecklace","LOCALS",1)~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 8.0
  SAY #24127 /* ~Thanks, friend. I'll pour it in his cup right now.~ */
  IF ~~ THEN DO ~AddexperienceParty(11500)
SetGlobal("GorfDrugged","GLOBAL",1)~ UNSOLVED_JOURNAL #7034 /* ~Mazzy has challenged Gorf the Squisher.

I have convinced Bunkin, Gorf's 'girlfriend', to put Festule's potion into his drink, leading her to think that it will make him nicer.  This should make him less of a threat to Mazzy.~ */ EXIT
END

IF WEIGHT #1 /* Triggers after states #: 21 even though they appear after this state */
~Global("GorfMeanie","GLOBAL",1)~ THEN BEGIN 11 // from:
  SAY #24128 /* ~Leave me alone. Gorf said he's be here after the seventh hour at night... you can talk to him, then, if you want.~ */
  IF ~~ THEN REPLY #61223 /* ~Can't you track him down?  I don't want to wait that long.~ */ GOTO 18
  IF ~~ THEN REPLY #61224 /* ~Fine.  We're in no rush.~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 14 19 21 even though they appear after this state */
~Global("GorfXDoug","GLOBAL",2)
Global("WantsNecklace","LOCALS",1)
GlobalLT("GorfBystander","GLOBAL",5)
!PartyHasItem("Amul10")~ THEN BEGIN 12 // from: 13.1
  SAY #24129 /* ~If you want me ta trust you,  ya gotta bring me a gold necklace.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 14 19 21 even though they appear after this state */
~Global("GorfXDoug","GLOBAL",2)
Global("WantsNecklace","LOCALS",1)
PartyHasItem("Amul10")
Global("GorfMeanie","GLOBAL",0)~ THEN BEGIN 13 // from:
  SAY #24130 /* ~Did ya buy me a gift?~ */
  IF ~~ THEN REPLY #24131 /* ~Here you are. A beautiful necklace for a beautiful lady!~ */ GOTO 2
  IF ~~ THEN REPLY #24132 /* ~No, I haven't bought it yet.~ */ GOTO 12
END

IF WEIGHT #2 /* Triggers after states #: 21 even though they appear after this state */
~Global("GorfDrugged","GLOBAL",1)~ THEN BEGIN 14 // from:
  SAY #24133 /* ~It was nice of ya to give me that love potion.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from:
  SAY #24444 /* ~Here it is, baby.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16 // from:
  SAY #24445 /* ~Thanks, sugar! Why don't you fight quick so's we can have a night on the town.~ */
  IF ~~ THEN EXTERN ~GORF1~ 10
END

IF ~~ THEN BEGIN 17 // from:
  SAY #24446 /* ~Yeah, baby. In the pit.~ */
  IF ~~ THEN EXTERN ~GORF1~ 11
END

IF ~~ THEN BEGIN 18 // from: 20.0 11.0
  SAY #61225 /* ~Huh? I'm not gonna... oh, wait!  There he is!  Gorf!  Gorf, baby, over here!~ */
  IF ~~ THEN DO ~SetGlobal("GorfHurryUp","GLOBAL",1)~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 21 even though they appear after this state */
~Global("GorfHurryUp","GLOBAL",1)~ THEN BEGIN 19 // from:
  SAY #61226 /* ~Now you're gonna get it.  Gorf baby is so mean in the pit.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from: 0.3
  SAY #61228 /* ~(sigh)  He ain't here.  Gorf baby said he'd be comin' after the seventh hour, at night.  You's can talk to him, then, I guess.~ */
  IF ~~ THEN REPLY #61229 /* ~Can't you track him down?  We don't want to wait that long.~ */ GOTO 18
  IF ~~ THEN REPLY #61230 /* ~We'll wait until then, I suppose.~ */ EXIT
END

IF WEIGHT #0 ~Name("Mazzy",LastTalkedToBy)~ THEN BEGIN 21 // from:
  SAY #61233 /* ~Go away, pipsqueak.  Gorf baby wouldn't want me talking to you.~ */
  IF ~~ THEN EXIT
END
