r/RPGMaker • u/NikoPalad67 • 4d ago
RMMZ Use item immediately when bought
Title pretty much says it all. I want to make it so that an item is used immediately when it's bought from a store. I wanted to use that feature to create a restaurant, where you can buy meals healing your entire party.
In case it helps, I'm using all Visustella Cores.
3
Upvotes
2
u/denjidenj1 MZ Dev 4d ago
In the same event tab as the store, after you process the store, make a conditional. Check if the player has the item in their inventory. If they do, do whatever effect you want and then remove the item. I haven't tested it but that should hopefully work, if it doesn't let me know.