Passive effect from key item?

Hello,


Is there a way for an item to change the party parameters, or game variables just by having it in the inventory?


Eg 1) The party found a cursed artifact, all party members get -1 luck until they can get rid of it.


     2) The party found a powerstone, all party members get +1 attack, or they can sold the stone later for gold, losing the passive bonus in effect.


     3) A health trinket that give +1 max hp while it is in the inventory, can be stacked; so if you have 99x health trinket, it would be +99 max hp.


     4) for the variables, I think it saves the chore of having to make an event to check for item number every time, rather just change when the item num. changes.


I just don't want item with minor effect to take up a precious equip slot.


Also it would be more fun (and less hassle) to stack entire (minor) stats item without equipping it, and for interesting decision; either you want to keep the +1 luck trinket or just sell it to the shop.
If we assume that you have a specific event that gives the cursed artifact, use an event command to -1 LUK on the entire party at the same time.  Likewise, if there's a specific event that removes the cursed artifact, use an event command to +1 LUK on the entire party at the same time.  


The issue would be if you have an actor who joins the party, or leaves the party, during the time you have it in your possession.  You'd have to -1/+1 LUK for them at the same time as they're added/removed.


If the items can be obtained or gotten rid of in a shop it becomes more complicated, and you'd need a plugin for that.
I thought so, guess I have to scrap the idea off.

Original thread: https://forums.rpgmakerweb.com/threads/passive-effect-from-key-item.64022/