- Mar 23, 2012
- Reaction score
- First Language
- Primarily Uses
Is it possible to track/check which(and how much) X item was sold?
Thats pretty clever! Thank you, can't believe myself that the solution was so easy...I think you can track it with event commands before open the shop and after close the shop.
before: Check the items that party already have, and record it somehow(in a variable, for example)
Open the shop.
After the player leaves the shop: Compare the items that the player has with the items that the player had before opening the shop.
Through this, you can compare the items the player had before entering the shop with the items he has after leaving the shop.
I have a plugin that might help: view/download Cae_BuySellVar (Google Drive).Is there not a script/plugin based way to do this? Just a simple plugin that counts the number of each item sold and stores it, rather than having to set up the variables yourself?
<sell var: 12>in an item's notebox; the game should then automatically add 1 to the value of game variable 12 every time the player sells one of those items.
Great! And yes, you can find my RMMV plugins over here~This looks perfect thank you! I will give it a try and report back. Do you make a lot of custom plugins caethyril?