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

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

IF WEIGHT #0 ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #75511 /* ~Hmm?  Hello?  Was there something you needed?~ */
  IF ~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN REPLY #75512 /* ~Who might you be, sir?~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN REPLY #75513 /* ~Who might you be sir?~ */ GOTO 2
  IF ~~ THEN REPLY #75514 /* ~I need nothing a commoner such as yourself could give me.~ */ GOTO 3
  IF ~~ THEN REPLY #75515 /* ~You do not lock your doors?  That's almost halfling in its foolishness.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #75516 /* ~I "might" be Borland of Beregost.  My door is always open to any who might need shelter.  You are on your honor not to misuse my trust, and may come and go as you wish.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #75517 /* ~I am Borland of Beregost.  Why this is of import to you I don't know.  It's information easily gleaned from a casual meeting on the street and hardly worth barging into my home for.  Please leave and spare me the effort of learning to dislike you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #75518 /* ~Indeed?  If that is the case then you won't mind leaving with all possible haste.  Begone from my "common" home.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #75519 /* ~I am sure that was meant as an insult, but I will not take it as such.  Halflings are among the most generous of races I have ever had the pleasure to deal with.  Being compared to one of their number is a great compliment, though I confess I lack their accompanying tact and manners.  For instance, they would never dream of having guards drag you from one of their burrows, and yet I was considering that very thing.  It's embarrassing that I lack their self-control.  Perhaps you should leave before I am put in the position of acting this through.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 7 even though they appear after this state */
~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN BEGIN 5 // from:
  SAY #75520 /* ~Hello again.  I trust you are enjoying Beregost in all its meager splendor?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 7 even though they appear after this state */
~ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN BEGIN 6 // from:
  SAY #75521 /* ~You are unwelcome in my house.  It's a phrase I am unused to saying, but nevertheless it is true.  Please leave.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 7 // from:
  SAY #75522 /* ~Ha ha ha, you cannot charm me, for I am utterly unimportant.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #75335 /* ~Not to be rude, but I'd rather you left immediately.~ */
  IF ~~ THEN EXIT
END
