Hi everyone!
So for a little project I wanted to work on for fun, I wanted to have a character specialize in items such as explosives. But I don't want the other characters to have access to those items, so I made a command called "Stash" for the unique character. But I do not know how to make items only usuable by "Stash". Any suggestions?
You would need to:
1) Customize the code for the Item command list to not include the bombs
2) Make the custom command for the bombs, and make it's command list only show the bombs
Or using I think Yanfly's custom cost plugin, you can make skills that actually need and consume the items, then just make the items unusable so no one can "use" them aside from the character that has the skill.
Well, there are many ways to handle this but the simplest would be to make the bombs and such do nothing on their own (target none, use never) and to give that character skills that consume said items.
Like bomb toss: consumes a bomb to deal some arbitrary damage to all enemies.
If all you did is to make the skill reduce the bombs via common events, it will indeed still work without the bombs, the common event runs only after the skill has been succesfully used..
If you want the effects to only happen if there are bombs, you need to make the effects inside the common event too, or in the damage formula box if you know a bit of coding. That way you can check first if the bombs exist. If there are no bombs, make it do nothing.
Or if you want the skill to not even be selectable without bombs, try the plugin above.
Thank you guys! With the plugin, everything is good. You guys are awesome!