(MV and MZ)RestrictItems Plugin

Title: RestrictItems
Version: 1.4
Author: OtroNombreRaro
Description: Give a the creator of the game 4 systems different for lock the use of the items (by state, by actor and disappear inventory for lonely actor)
Compatibility: MV and MZ

In simple terms, what this plugin does is block the use of items under 3 circumstances:
  1. By state: if you define a special altered state, you can block the use of specific items. For example, if you create the altered state "Stuffed", you can block all food items.
  2. By state2: if you define a special altered state, you can block the use of all items. For example, if you create the altered state "Sprain", you can block all items for the actor.
  3. By actor: you can block the use of items for specific actors. This case blocks the use of all items for that character, which can be useful if you have an actor that should not be able to use objects in the equipment.
  4. By lone character: This method directly causes the inventory to disappear completely for the selected actor if they are alone. This can be useful for moments when you control an NPC or directly control your enemy in the story (note that it does not make equipment items disappear, so it is recommended to remove the slots or block their equipment).

    For the first and second cases, the inventory will play an error sound when trying to use the item, but if it is in the battle scene, it will try to use the item, play an error sound, and display a customized message (only for the first 8 actors) with their face.
    Sin título1.png
You can Download and do a test for the pluggin here (the demo is MV): https://otro-nombre-raro.itch.io/itemsrestrict
Terms of use: Free license.
But if this can help you, one money can help one money help me. Q,Q.

(Is my first plugin, dont kill me)
If one admin see this i can do the same post in the mv pluggins, is fully compatible?
And os possible lock items menu from battle, like for example a enemy using a skill: seal items use, maybe will be useful too
For the moment you can do the enemy use the ability and give you a state, with that state you can lock the use of items, but you need select wat items you are gonna lock
And os possible lock items menu from battle, like for example a enemy using a skill: seal items use, maybe will be useful too
Update: Lea i added what you need

Original thread: https://forums.rpgmakerweb.com/threads/mv-and-mz-restrictitems-plugin.155788/