Finite item uses query

Hi all,


Does anyone know of any plugins/existing written MV scripts for putting a finite number of uses on an item?


For example; a Health Potion that can be used 10 times before being removed from the player's inventory.


I've been googling for answers (as surely this must have been asked already), but every query just directs me to limited inventory item storage like Yanfly's Item Core, which isn't what I'm after.


I've also had a quick search of this forum - and again struggling to find anything which fits my question - so apologies if this is asked on a regular basis!
None exist as far as I'm aware (although maybe someone would make it for you in Plugin Requests).


I'm guessing there are two reasons no one has made it:

  • Requires other plugins: This plugin would almost necessarily require Instanced Items to work properly, because different items of the same type would have different numbers of uses remaning.
  • Abusability: Unless the plugin accounted for uses remaning in Sell Prices, the player could simply use 9 out of 10 uses of an item and then sell it back for half price.
Hmm, regarding Abusability I guess the easiest option would be to disallow selling a depleted item, or do some basic maths on the item's charges to determine the value based on original sale price.


I was kind of hoping I could just plug&play with this feature as it seems quite an obvious feature people would want. I guess I'll just write it myself if I have to. I can probably cut corners and use Yanfly's Item Core as a starting point to provide the independent item support.
Hi all,


Does anyone know of any plugins/existing written MV scripts for putting a finite number of uses on an item?


For example; a Health Potion that can be used 10 times before being removed from the player's inventory.


I've been googling for answers (as surely this must have been asked already), but every query just directs me to limited inventory item storage like Yanfly's Item Core, which isn't what I'm after.


I've also had a quick search of this forum - and again struggling to find anything which fits my question - so apologies if this is asked on a regular basis!



Can't you just add common event with the item and make it count the uses of item with variable


and make other common event with trigger parallel and check variable if true it will remove all items from your inventory

Original thread: https://forums.rpgmakerweb.com/threads/finite-item-uses-query.64483/