Hi there !
I have a problem with this pluggin. I want my actor number 5 not to be able to use an item (he can't read and it's a book).
I had in the object
<Enable Requirements>
Not Actor: 5
</Enable Requirements>
but he still can use it like the other actors (in the menu not in battle)
I've tried to turn off every other pluggin except this one and the item core, but it still doesn't work. I'm on RMMV 1.6.1.
Am I doing something wrong ?
Thanks a lot !
YEP.136 – Item Requirements
● ARCHIVED · READ-ONLY
-
-
check if your order of plugins is correct - yanfly's plugins need to be in the specific order listed on his website or they can cause strange errors. Give us a screenshot of your plugin manager if you're not sure how to check the order.
additionally, is only the editor of 1.6.1 or both editor and project? Project updates are NOT automatic... -
@Andar
Hey,
I only turn on 3 pluggins (in order in my pluggin manager) :
YEP Core Engine 1.31
YEP ItemCore 1.30
YEP X Item Requirements 1.02
I think it's the correct order... -
I asked for a screenshot because that would have enabled us to check for several other possible errors that aren't directly visible in your typed list. For example most plugins are disabled if their filenames are changed. And the names you typed are not the correct filenames, but we can't see if that is because you were lazy in typing or if you really renamed those plugins.
If would also help if you give a screenshot of the entire item instead of only typing its notetag - because again, the notetags are usually very sensitive to mistyping including wrong capitalisation, and there have been dozens of cases where the error was a mistype and the developer asking for help had the mistype corrected when typing here on the forum.
additionally, please give a link to the website of the plugin, that helps us in cross-checking. -
As far as I can tell, this plugin only applies to in-battle use of items.
When in the menu, the game doesn't look for a user. (I think it sets the user as the first actor in the party.) So it will never know who the "user" is in the menu.
You can test this theory by moving the illiterate char to the front of the party and see if the item becomes unusable.
But to offer a potential solution, if the item isn't too complicated in it's effect, you can alter your damage formula to not give the effect to an invalid target. (Ask if you need direction. I'm not at my comp and so can't be too technically specific.) -
Hi,
Sorry for the delay... I had a problem with my computer.
You can test this theory by moving the illiterate char to the front of the party and see if the item becomes unusable.
That was the problem. In the menu, the first player is the one using it, even if the "target" from the object descirption is "USER"...
But to offer a potential solution, if the item isn't too complicated in it's effect, you can alter your damage formula to not give the effect to an invalid target.
What was your idea ? The purpose to the books (there is like 50 books) was to add a new skill. Do you think it may be possible to do that without deleting the book if the player try to use it on the illiterate Actor ?
However thank you, both of you, for your help to understand the problem ! -
What might work is using the plugin 'LastSubjectActor', which is included in the MV extra plugins folder in your installation. This stores the ID of the last character that did something in a variable, and then you can use a Common Event to check the ID of the actor and act according to that. It works for me quite well in awarding points to the last actor that used an item.