Limited Selling

So, I had an idea to make it so certain shops have so much money on them and when you sell something to them, they give you that amount, but can't give you more than what they have if you have something worth more than the remaining amount. How would I go at doing this? Thanks for any and all help.
I saw a plugin like that before to set shoppers gold and cannot buy
more from you than it has unless you buy items from it.

it does exist, but no time to help you search for it.
@Dungeonmind 's Shop Core might be what you're looking for:

@Dungeonmind 's Shop Core might be what you're looking for:

But that's for MZ?

This guy is looking for MV
I didn't peep that, my bad!
Several options for MV:
The plugin file has English instructions

This plugin lets you change variables and call common events on buying or selling

I don't know if these two work together but there's a Caethyril plugin that changes variables whenever you buy or sell an item. You could have each shop's gold pool in a separate variable and then add or subtract from that value.

and this plugin that lets you change the selling price of items under certain conditions. It's in Japanese but if you have Chrome you can right click the page and tell it to translate it

or this plugin

Original thread: https://forums.rpgmakerweb.com/threads/limited-selling.174672/