// creator  : weidu.exe (version 23600)
// argument : NOBL8.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #0 ~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #7984 /* ~Do you have an excuse for barging in here? Unless you are here to make the beds, I want you out.~ */
  IF ~  ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN REPLY #7990 /* ~I'm sorry for the intrusion. I shall not bother you again.~ */ GOTO 1
  IF ~  ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN REPLY #7991 /* ~I'm sorry for the intrusion. I shall not bother you again.~ */ GOTO 2
  IF ~~ THEN REPLY #7992 /* ~Do I look like a maid service to you?~ */ GOTO 3
  IF ~~ THEN REPLY #7993 /* ~Pardon the interruption, but what is your business here at the Inn?~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #7985 /* ~As well you shouldn't. Begone.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #7986 /* ~See that you don't, or the next time the guard will be waiting for you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #7987 /* ~No, I don't suppose that you do. You look much more like a group of brigands casing my room for valuables and gold. Perhaps you should consider a career in the domestic arts. A maid is much less likely to end her career on the end of a polearm, unlike the job you have presently selected for yourself. Just a thought. I trust you will be going now?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #7988 /* ~My business is just that: MY business. If this answer is not good enough, I suggest you complain to Bentley at the bar. Tell him that you broke into my room and demanded to know my personal affairs. I'm sure he will express sympathy for you as he has the guards "escort" you off the property. I trust you will be leaving now? Good day to you.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 6 even though they appear after this state */
~  True()
~ THEN BEGIN 5 // from:
  SAY #7989 /* ~Again you disturb me? You are determined to make trouble for yourself, aren't you? Fortunately for you, I am determined to ignore you.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 6 // from:
  SAY #7994 /* ~Being a good friend, I'd like to entrust you with this valuable ring. It's an heirloom, and I'm afraid of it being pilfered. With all the thieves and brigands loitering in the wilderness, it's not too much to assume that there might be more here at the inn.~ */
  IF ~~ THEN DO ~GiveItem("RING17",LastTalkedToBy(Myself))
~ EXIT
END
