Shop Stock
-Tsukihime
This script adds a "stock" count to each shop good.
Once a shop good's stock reaches 0, it will no longer be available in the shop.
The stock is set up for individual shops. One shop's stock does not affect another shop's stock.
The stock is only setup once: if you leave and come back, the stock remains the same
Download
Script: http://db.tt/Ka1gnmd0
Required: Shop Manager
Compatible with Yanfly's Ace Shop Options, as shown above
Usage
In your event, before the Shop Processing command, use the following script call. If you don't set a stock count, then it is assumed to be unlimited.
@shop_stock[id] = amountUsing the Shop Manager, the shop stocks are setup for each individual shop
So let's say the player bought 6 potions. The picture doesn't show it, but the player actually left the shop, went to explore a dungeon, and then came back to buy more potions. Unfortunately, we have limited potions in stock...
And once you buy up all the potions, that's it.
Notes
Visually, it is unappealing. You will likely have to customize how it looks to suit your game.