"Use" Function Plugin

Inamortus

The Eternal One
Veteran
Joined
Oct 21, 2012
Messages
33
Reaction score
2
First Language
English
Primarily Uses
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.
 

Arkaik

Veteran
Veteran
Joined
Apr 25, 2015
Messages
77
Reaction score
13
First Language
Portuguese
Primarily Uses
RMMV
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. :kaohi:
 

Inamortus

The Eternal One
Veteran
Joined
Oct 21, 2012
Messages
33
Reaction score
2
First Language
English
Primarily Uses
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.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,088
Reaction score
1,508
First Language
EN
Primarily Uses
RMMZ
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.
 

Inamortus

The Eternal One
Veteran
Joined
Oct 21, 2012
Messages
33
Reaction score
2
First Language
English
Primarily Uses
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/
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top