Usable items exclusive to one character or class

I would like to create a healing item that can only be used by a specific character or class at any point in the game (inside and outside the battle). And I would also like that this same character not to be able to use other healing items that the rest of the party can use. Any ideas?
Unless you use a plugin to give multiple inventories, the party shares an inventory. Items can't be equipped, so are available to all party members. I suggest making skills that call common events for healing items.

[You probably know how to do this, but in case some novice user of RPG Maker sees this thread and finds it useful, I will tell them to do this. When looking at a skill in the database, go to the "Effects" part of the screen and double-click on a blank line. The "Effects" dialog box should appear. Choose the fourth tab "Other"; "Common Event" is at the bottom. You have to choose which common event to run.]

Using skills allows you to limit which classes or individual actors can use the item easily, and makes it clear to the player which party member is using it. The skills don't need to cost MP or TP.

In the common event, you would need to check that the party has the item that the skill uses, and, if you want it removed from the party inventory, remove it. If the healing effect is for one party member only, you have to let the player select which party member to benefit. If you would like suggestions about selecting party members, please ask.
I would like to create a healing item that can only be used by a specific character or class at any point in the game (inside and outside the battle). And I would also like that this same character not to be able to use other healing items that the rest of the party can use. Any ideas?
I have tried to do something similar to this, and the closest i have come is making skills cost items, or restricting the entire item command to 1 character, forgoing generic healing items altogether. The former is cumbersome and the latter is restrictive.
Well, you can do this with a plugin that allows passive states, setting the formula to check for the state. Or you can do it with elements. Either of those solutions do, however, allow the item to be wasted.

If you don't want the item to target ineligible characters, that will require a different plugin. A glance suggests Yanfly's Selection Control will allow this by setting <Cannot Select Element: x> where x is your alternative healing.
I was about to post this question myself, so this is a healthy coincidence lol and I just want to make a tiny rant about this being such a complicated thing to achieve. The last RPG maker I used before MV was 2K3, and it had a simple "usable by-" checklist for each item where you could simply put a check next to each actor's name that was allowed to use it.
Is that the same, thing? If I'm understanding the OP here, this is more like a situation where characters are, for instance, humans and robots, and humans can be healed by Heal but robots need Repair. in that case it's not the user who needs to be checked but the target. Am I getting this?
You can create a common event and do it like this:
The condition checks that the target is the actor of id from database 1 and executes the script that will heal 25% of the hp of the actor1, if the target is not the actor of id 1 it will play an "error" sound and add +1 healing item.
recoverhp2.png


Then, just call this common event in the items tab in the healing item
recoverhp1.png
What complicates this as well which wasn't the case in 2k3 is that with the addition of the "Pharmacology" trait (which increases/decreases the healing effect of items), when you use an item in the menu, the user isn't the target, it's the party member with the highest pharmacology.
And to make this same character, which in this case is actor 1, not use the same healing items that the other characters use, just make the common event like this:
Screenshot_12.png


In this case, the item has an effect only on actors 2 and 3.
I did it all in MZ I don't know if the MV is the same, but it's good to try.
Yeah, I mean, if you go that way, you don't get to have default healing items. Everything will have to be evented.
Thank you very much for the help and sorry for taking so long to reply... Yes, I'm a novice, so any detailed info is really helpful for me.

I have made a common event for this and it seems to work fine but I have encountered a few problems:
  • On the menu, when I use the special item on characters that it's no supposed to have effect on, the "item3" sound plays, as if it had been consumed succesfully, and the "buzzer" sound plays at the same time. Also, after using the item on a character, regardless of whether it's usable on the character or not, the menu closes completely, which doesn't happen with regular items after using them.
  • In battle, when I use the special item on the character that can consume it, a message shows up saying something like "it has no effect on this character" even though it really heals the character.


    I don't think these problems are easy to solve, at least for me, so it would be better for me to use a plugin.
There's another similar thread going on...check out Hime's Effect Conditions. You can assign a condition to your effect line (whether that's a straight healing effect, or calling a common event) so that if the target doesn't meet the criteria, it can't be used.

You could use that in conjunction with Yanfly's Target/Selection plugins so ineligible targets can't be selected in combat.
There's another similar thread going on...check out Hime's Effect Conditions. You can assign a condition to your effect line (whether that's a straight healing effect, or calling a common event) so that if the target doesn't meet the criteria, it can't be used.

You could use that in conjunction with Yanfly's Target/Selection plugins so ineligible targets can't be selected in combat.
Thanks for the tips! I will have a look.

Original thread: https://forums.rpgmakerweb.com/threads/usable-items-exclusive-to-one-character-or-class.144920/