Items that can only be bought once?

Hi everyone,

I need some way to, well, add items that can only be bought once to stores.

This way I can have upgrades that once the player buys, with a parallel process that checks if the player has the item X, will automatically activate and do stuff. Is there any way to do it? Hopefully scriptless since I've got so many script problems this week that I'm actively avoiding them. If it's only scriptable, then eh, I guess it's still nice 😉  

Thanks!
I've been doing something like this with my rare item store. What I did was I put down a bunch of tables, then I put an image of the item on the table. Once you click on it, the shopkeeper tells you what it is and what the cost is, and you choose whether or not to buy. If you decide to buy it, I turn on self switch A, give you the item, and deduct the gold (all after checking to make sure you have enough gold of course). Then, on page 2 of the event I have a blank event with self switch A checked.

So far seems to be working well.

Edit: Here's a screenshot of an example. Page 2 is just a blank event with self switch A on the event conditions

Spoiler
Example%20of%20One%20time%20buy%20item_zps21oakhwo.png
Hmm, that's what I considered at 1st, but it would requite me to remodel all my rooms or add something else to them... or maybe add a separate room where the player in the form of a cursor sees the upgrades, then chooses them, then goes back to the usual actor shape. I guess it could work, yeah 🙂

That said while that's a decent solution, it's again a little bit of extra work ^^' with 5 days left I'm open to all suggestions.
I would just use events to make merchant system - a that way, when an item is purchased you can turn on a switch (or even add to a variable).  The problems would be that the merchant could only sell 3 items at a time.

or just make a special merchant to sell the "buy only once" thing.  He can just be hanging out in the shop, or outside the shop.  Maybe even in the alley behind the shop...
Search for a "shop stock" script, there are several available (from Tsukihime and Galv and one or two others if I remember correctly).


Then you can specify how many of each item a specific shop has.


Or use Tsukihime's shop options and make a condition that the item is not available if it is already in inventory

Original thread: https://forums.rpgmakerweb.com/threads/items-that-can-only-be-bought-once.43161/