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

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

IF WEIGHT #2 /* Triggers after states #: 11 12 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #82175 /* ~I trust your stay will be a restful one.  We serve as a refuge away from the hectic life on the road.~ */
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #82176 /* ~By the planes, this is just what I need!  Roll up the kegs!  It's time to unwind!~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #82176 /* ~By the planes, this is just what I need!  Roll up the kegs!  It's time to unwind!~ */ GOTO 2
  IF ~Gender(LastTalkedToBy,MALE)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #82177 /* ~And what of you?  You look to be quite the lusty wench; how about you serve as my refuge away from the ugly faces of my fellows?~ */ GOTO 3
  IF ~Gender(LastTalkedToBy,MALE)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #82177 /* ~And what of you?  You look to be quite the lusty wench; how about you serve as my refuge away from the ugly faces of my fellows?~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #82178 /* ~It sounds dreadfully boring.  Perhaps I shall seek more lively fare elsewhere.~ */ GOTO 5
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #82178 /* ~It sounds dreadfully boring.  Perhaps I shall seek more lively fare elsewhere.~ */ GOTO 6
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #82179 /* ~At last I have a place for quiet reflection at adventure's end.  I shall look forward to a long, relaxing stay.~ */ GOTO 7
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #82179 /* ~At last I have a place for quiet reflection at adventure's end.  I shall look forward to a long, relaxing stay.~ */ GOTO 8
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #82180 /* ~It's true we are well stocked if you wish a drink or two, but I would advise you not to overindulge.  I should hate for our short acquaintance to end with me turning you out to the street.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #82181 /* ~I rather think that you are looking for fare a touch more lively than we offer.  I might suggest the Blushing Mermaid as one alternative.  They are somewhat lax in the area of house rules.  Good day.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #82182 /* ~I mean this in the best possible sense with no offence intended, but if you lay a finger on my person I shall have to hand it back on a platter. Likely garnished with some mint and a sprig of parsley.  Do enjoy your stay.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #82183 /* ~Flattering, though I think the Low Lantern might have staff more accommodating of your... needs.  We cater more to the mature adventurer.  It is up to you to decide whether you fit that description.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.4
  SAY #82184 /* ~Boring to some perhaps, though I think our regulars find the comfort we provide as close to having a home as they can get.  You are welcome to return when you tire of the sleepless nights the other inns provide.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.5
  SAY #82185 /* ~There are plenty of establishments that offer what you seek, though I think you will find them no more relaxing than your journey to get there.  Likely they will be no safer, either.  When you tire of sleeping with one eye open I think you will be back.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 0.6
  SAY #82186 /* ~And your patronage will be most welcome.  Business has unfortunately dwindled along with the traffic on the roads.  We welcome new customers, especially when old ones cannot make the trek and leave the rooms vacant.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 0.7
  SAY #82187 /* ~Ehhh... we DO have regulars that have prolonged stays, so you may not be able to stay for an extended period.  You are welcome in the short term though.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from:
  SAY #82188 /* ~Please do not disturb me now, I am not in the mood.  One of our regulars has left town without paying her tab.  It's not often we lose a customer in such a manner.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #82189 /* ~I must ask you not to disturb me, as I have many financial matters that now occupy my attention.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
NumTimesTalkedToLT(3)
~ THEN BEGIN 11 // from:
  SAY #82190 /* ~You may call me Ithtyl, good friend.  I am glad to know one so lively and entertaining as you.  Why don't you head downstairs and enjoy yourself?  Take these 20 gold, so that you may afford whatever takes your fancy to buy.~ */
  IF ~~ THEN DO ~GivePartyGold(20)
~ EXIT
END

IF WEIGHT #1 ~False()
~ THEN BEGIN 12 // from:
  SAY #82191 /* ~I should make my stay brief, if I were you.~ */
  IF ~~ THEN EXIT
END
