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

BEGIN ~_HOUSG4~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #79604 /* ~All right fellas, if you wanna enjoy the pleasures of the Undercellar, you'll have to pay the 10 gold entrance fee.  Then all the black lotus and women you want is yours for the night.~ */
  IF ~~ THEN REPLY #79605 /* ~We just want to take a look around.~ */ GOTO 1
  IF ~PartyGoldGT(9)
~ THEN REPLY #79607 /* ~Okay, here's your money.~ */ GOTO 4
  IF ~~ THEN REPLY #79608 /* ~The price is kind of steep.  Perhaps you could lower it a bit?~ */ GOTO 2
  IF ~~ THEN REPLY #79609 /* ~No thanks, we'll be leaving now.~ */ GOTO 7
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #79610 /* ~Sorry, no money, no entry.~ */
  IF ~PartyGoldGT(9)
~ THEN REPLY #79611 /* ~Okay, here's your damn money.~ */ GOTO 4
  IF ~~ THEN REPLY #79612 /* ~Fine.  We'll be leaving now.~ */ GOTO 7
END

IF ~~ THEN BEGIN 2 // from: 0.2
  SAY #79613 /* ~I'm not gonna lower anything.  Now hand over the money.~ */
  IF ~PartyGoldGT(9)
~ THEN REPLY #79614 /* ~Here you go.~ */ GOTO 4
  IF ~~ THEN REPLY #79615 /* ~Can't afford it.  I guess we'll be on our way.~ */ GOTO 7
END

IF ~~ THEN BEGIN 3 // from:
  SAY #79616 /* ~Get outta my face.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.0 1.0 0.1
  SAY #79617 /* ~Thanks chum.~ */
  IF ~~ THEN DO ~TakePartyGold(10)
~ EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 5 // from:
  SAY #79618 /* ~I'm a mercenary.  My job isn't to be smart; it's to guard this estate.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #75642 /* ~You're not welcome here!  Get out or be thrown out!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 2.1 1.1 0.3
  SAY #79619 /* ~Hey fella, wait a moment!  Okay, you can take a look around, and you don't have ta pay the entrance fee... just don't tell anyone about it.~ */
  IF ~~ THEN EXIT
END
