Auction mechanic / minigame

So I want to add an auction house where the player can buy furniture for their house and other odds and ends.

I had the idea of using NPCs, set some of them to bid on particular items, and give them a random amount (within a range) that they could bid to.  Each round, the player would get the choice to bid or wait, and once everyone had bid to their maximum amount (a point which would not be known to the player), if the player waited, the item would go to the highest NPC bidder.  Or they could continue bidding against that NPC until they won.  Maybe a pause between bidding or something as a hint that certain NPCs might be reaching their bid limit, so the player who's watching things more closely might know whether they're nearly there or not.

Is there a better way of handling it?  A choice box every round of bidding might be a bit much - maybe give them the option to NOT bid until it reached a certain amount?

Now I'm wondering if I can turn it into a mini game, but can't really come up with an idea I like.  Or allow the player some way to influence the bidding other than just by bidding themselves (maybe arrive prior to the auction, slip a few gold coins into the auctioneer's pocket to encourage them to not notice a certain NPC's bid), maybe have NPCs milling about before the auction so you can talk to them and get an idea what they think of the item (to determine who might bid and how high they might be willing to go).

Thoughts?
One way you could do it is as the price increases it raises a variable to decrease the chance of an npc bidding. Perhaps have a separate chance for each npc as well (some being more likely to bid even if the price is high well others stop bidding all together at a certain point). Have a wait check for each npc to see if they will bid based on their chance. If no one bids say after one to two seconds then the auctioneer will start counting down (going once, going twice, sold) if a bid is made either on going once/twice then the bid process starts again. This continues till no one makes any more bids at that time in which case the item is sold to the highest bidder. Maybe even have angry emoticons when a npc has reached their limit (or near their limit) on an item. Also if an npc makes a purchase you could make that npc less likely to make bids on other items based on how much they paid for it (seeing as they would naturally have less gold on hand).

The player could influence the auction by either bribing the auctioneer or the npcs (to lower that npc's chance of bidding).

I would recommend going with key presses to check if the player wants to make a bid vs choice boxes (say "a" to increase bid by 10, "s" to increase it by 100 and "d" to increase it by 1000).
It's a mouse-driven game, so I'd rather stay away from using particular keys for non-standard actions (moving, selecting).  But yes, I was thinking of something like displaying icons and the player could click when they wanted.  That means I could also get away from text boxes for NPC bidding too.  Unfortunately, it makes it more likely that a script will be required, but these things happen.

I like your other suggestions re NPC limits, pausing, counting down, etc.
Cool idea.  As you've already suggested, there are a lot of ways to approach this and a lot of it is going to depend on how frequently you expect the player to participate and what kind of emotion or aesthetic you want to deliver to the player.

If you're going with mouse control, and you don't want to slow things down too much (by constantly asking the player whether to bid and what number to bid), you could include "buttons" onscreen to (for example) raise the bid by 5%, 25%, 100%, or drop out entirely.  This would allow you to keep the action as quick as you want it to be, and would provide a simple interface for the player.

As far as strategy, your willingness to outbid the current leader by a lot (like 100%) would serve to intimidate rivals and make them more likely to drop out, whereas a small outbid (5%) could potentially get you the best possible deal if no one else is willing to go higher, but could also get you into a long bidding war with an unintimidated rival that really wants the item and thinks he can outlast you.

All of that can potentially be combined with the other ideas you and Sarlecc brought up, such as talking to rivals or bribing the auctioneer beforehand, if you only want to auction off one item at a time and then have the auction house break for a while.  They'd be harder to combine in a "rapid-fire" format where they auction five or ten items at a time with only a few seconds' pause in between, but that kind of format could also be really exciting as the player needs to decide on the fly whether they want the item or not!

As an alternative to all of the above, if you're looking for the simplest way to implement the concept while keeping some of the strategy and risk elements, you could do a "blind auction" format, which is where everyone bids on an item without seeing anyone else's bids, and once the auction ends whoever bid the most wins the item.  You could have like a dozen items on display, and the player walks around and places a bid on whichever ones they want to.  And all you'd need to do is pick appropriate random numbers for the NPCs' bids, and compare them to the player bid when they return to the auction room (after a certain amount of time has passed) and award them whichever items they bid the highest on.  All of the extras like talking to rivals to get a sense of whether they are bidding on the item and bribing the house to let you win could be done pretty easily in this format.
Actually a blind auction is not a bad idea, for the sheer simplicity of implementation!  Glad you mentioned it.  The difficulty of implementing the first option is a bit of a turnoff.

Original thread: https://forums.rpgmakerweb.com/threads/auction-mechanic-minigame.34896/