"Use" Function Plugin

Hi all,

I've looked everywhere for a plugin that achieves this, but I haven't been able to find it, so I've come here. What I need is a plugin that allows me to give a character an ability called "Use", intended to function in the same way as Rikku's "Use" function in Final Fantasy X, ie. certain items can only be used through the command. I've no idea how complicated such a plugin might be, or whether one already exists that I haven't been able to find, but any help would be greatly appreciated.

Thanks.
Hi @Inamortus !
I'm not a programmer so I can't help you making a plugin, but listen, what if you try to do something with this one?
I'd use Yanfly Skill Cost Items and make some skills to use that specific items, for example.
Then, make another skill type named "Use" and add it to an actor or class.
Don't know if it helps, but that's what I thought about it. 👋
Thank you for the suggestion, and I gave it a go, but that doesn't work the way I want. The issue being that the skill to use an item will still show up when you don't have the item, meaning that the player will be able to see all the items they'll be able to use with it over the course of the game, and that's not how I want it to work.

Thanks again, though.
Thank you for the suggestion, and I gave it a go, but that doesn't work the way I want. The issue being that the skill to use an item will still show up when you don't have the item, meaning that the player will be able to see all the items they'll be able to use with it over the course of the game, and that's not how I want it to work.
If the item is equippable, one option would be to give it an Add Skill trait, so having it equipped gives you the skill. ^_^

Alternatively, Yanfly's Skill Core plugin has a <Custom Show Eval> tag you can put on skills. I think (haven't tested) that this should make the skill visible whenever the party has at least 1 of item #123 (change this number as appropriate):
Code:
<Custom Show Eval>
visible = ($gameParty.numItems($dataItems[123]) > 0);
</Custom Show Eval>
If it's a weapon or armor, swap $dataItems for $dataWeapons or $dataArmors respectively.
If the item is equippable, one option would be to give it an Add Skill trait, so having it equipped gives you the skill. ^_^

Alternatively, Yanfly's Skill Core plugin has a <Custom Show Eval> tag you can put on skills. I think (haven't tested) that this should make the skill visible whenever the party has at least 1 of item #123 (change this number as appropriate):
Code:
<Custom Show Eval>
visible = ($gameParty.numItems($dataItems[123]) > 0);
</Custom Show Eval>
If it's a weapon or armor, swap $dataItems for $dataWeapons or $dataArmors respectively.

I've just tried this and it's doesn't work, the skill still shows up regardless, unfortunately.

I'm starting to think this is definitely a plugin job :/

EDIT: I've found that Yanfly's Item Requirements plugin does almost what I wanted, so I'll settle with it, ie. you can set it so certain items can only be used by a specific character. While this doesn't give me a separate function for it, I feel it works just as well.

Link: http://yanfly.moe/2017/05/12/yep-136-item-requirements-rpg-maker-mv/

Original thread: https://forums.rpgmakerweb.com/threads/use-function-plugin.94288/