Whole-party stat boosts?

I want to use items which the party finds (not buys) to provide small stat boosts for the whole party if the item is in the inventory.

I had thought of having a command in Base Troop Events along the lines of a conditional which checks if the item is in the inventory. If it is, then inflict the party with a state which gives the boost. However, I can forsee a problem with that.

This method would work if there were only a couple of such items. However, there could be up to 15, so that would mean 15 states being inflicted before we ever get to any states inflicted in battle. While many players won't find all of them, there will be some who do. I am unable to make these permanent stat boosts e.g. by Change Parameter commands, as I would like to leave the player with the option of selling these items, at which point the boost would cease.

Is it even possible to have that many states on actors at the same time?
Even if that is possible, is this the best way of achieving what I want?

I am using VisuStella plugins, if that is relevant.

Thank you.
SmartSelect_20230307_045407_Firefox.jpg


@NaosoX Thank you so much. Your help is much appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/whole-party-stat-boosts.155581/