Inn Room Rental Help?

I have made an inn in my game, with an upstairs room that is allowed access to once bought. Is there a way for the innkeeper to sell the room without using the shop system? If so, how? If the character doesn't have enough money, he is currently still allowed in, is there a way of rectifying this error?

Many thanks,

ChaoticLapras
Right click in Event mode and you will get a small menu to choose from.  Select 'Quick Event Creation', select 'Inn', choose your graphic and/or the price if you don't want the default, then OK and you're done.

This way gives you the check to see if the player has enough money.

EDIT

If you want the player to "wake up" in the upstairs room, edit the event after it's been created to include a Transfer Player command.
Thank you so, so much!

EDIT: Don't worry, just realised copy/paste code.... Reporting topic so it can be closed.

Once again, thanks very much ksjp17!

With thanks,

ChaoticLapras
You can open the quick create event to see what's in there.  It's a simple choice selection, with a conditional branch to see whether you have enough gold or not.  You can even copy and paste the bits if necessary.
Yes you can include it into your existing dialogue, but it will take a bit of fiddling around.

What is probably the simplest is to create a separate Inn event, open it by clicking 'Edit', copy all the commands, go to your pre-existing event and paste it in at the appropriate spot in your dialogue.  Then delete the other one.
Thank you both of you (despite my realisation just now) very much!

Editing it slightly to have him actually own the room...
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/inn-room-rental-help.21535/