Hello everyone! In the store is there a possibility to put an item that you can only buy once? I would like to make all my items in the store can only be bought once without the possibility of buying more than one. And I would also like if when you buy an item if you interact again in the shop it won't be there anymore. How could I do that? Thank you very much for your reply! And excuse my English.
Items in the shop that can only be bought once.
RPG Maker MV Support@Guarii This can be answered depending on what version of RPG Maker you're using.
For me, I have a good answer if you're using VX Ace - Himeworks's Shop Stock can allow you to set it so a shop can only sell one instance of an item.
Himework's Shop Manager for MV also does the same thing (I think).
For me, I have a good answer if you're using VX Ace - Himeworks's Shop Stock can allow you to set it so a shop can only sell one instance of an item.
Himework's Shop Manager for MV also does the same thing (I think).
Depending on the number of items you want to sell as one-offs, or how keen you are to keep the same shop interface for every single purchase in the game, you could also use events!
Make the item as an event--for example, sitting on a tabletop or hanging on a wall, whatever makes sense for the type of item--and when the player interacts with it, the shopkeeper offers it to them for a price. The player simply chooses yes or no. If yes, the gold is subtracted, the item goes in the inventory, and the tabletop event disappears. If no, the player can come back to it later.
The Aveyond series did this with "junk shops," and I thought it was quite effective--one of the best parts of getting to a new town was seeing what unusual items were in the junk shop. It may not be the right solution for you, if you want all your shops to have limited inventories, but I thought it was still worth the mention!
Make the item as an event--for example, sitting on a tabletop or hanging on a wall, whatever makes sense for the type of item--and when the player interacts with it, the shopkeeper offers it to them for a price. The player simply chooses yes or no. If yes, the gold is subtracted, the item goes in the inventory, and the tabletop event disappears. If no, the player can come back to it later.
The Aveyond series did this with "junk shops," and I thought it was quite effective--one of the best parts of getting to a new town was seeing what unusual items were in the junk shop. It may not be the right solution for you, if you want all your shops to have limited inventories, but I thought it was still worth the mention!
Thank you so much for the idea!I would have liked the classic store screen more. Thanks for the idea though, I'll evaluate.
I've moved this thread to MV Support. Thank you.
It depends.
You can do it only with events, self switches, but if you want the shop interface to be like this, you will need to use Javascript.
Can you be more specific?
You can do it only with events, self switches, but if you want the shop interface to be like this, you will need to use Javascript.
Can you be more specific?
you can use [BO_CustomShops] or another plugin with STOCK on it,
the plugin I mention can have stock as 1, so you cannot buy more than 1.
it can also "restock" automatic when shop is closed or by plugin command.
which gives you full controll on the shops items or when out of stock, you
cannot buy it again.
if it can buy it again, you need to make a conditional branch, if the player
has the item, you cannot buy it. or set that in the plugin eval that stop
you from buying.
the plugin I mention can have stock as 1, so you cannot buy more than 1.
it can also "restock" automatic when shop is closed or by plugin command.
which gives you full controll on the shops items or when out of stock, you
cannot buy it again.
if it can buy it again, you need to make a conditional branch, if the player
has the item, you cannot buy it. or set that in the plugin eval that stop
you from buying.
Original thread: https://forums.rpgmakerweb.com/threads/items-in-the-shop-that-can-only-be-bought-once.144357/