"Items" as "Equipment"

I kinda search for the forums quite a while but no avail.


Turning actual "items" as "Equipment" meaning for example...


A Normal Potion/Stimulant/<Item Consumable> can be equipped in the Weapon/Armor/Accessory/<Any equip> slot but still works as a normal potion and still consumable. It has stats similar to a normal equipment probably with the help of note-tags... 
That isn't as easy, and you might have to work from a different angle. That is because an item (like a skill) has an effect, but equipment basically adds to actor values - both are handled by entirely different functions.


It would be a lot easier to use a skill cost script/plugin and assign a new type of equipment as the cost for that skill. Especially if you add that skill by the equipment instead of by regular learning, the skill will only become available by equipping the part. Give the skill a skill type named "use object" or so and it will even have the correct grouping in the battlesystem, and using that skill will remove the object by that skill cost script.


From that side it's a lot easier to do than making consumables into equippable items.
Just posting a couple thoughts on this, since - while I do plan to do make a similar script in the distant future - I don't have the MV scripting chops (or the time) to pull it out yet.


There are several non-default elements that such a script would need to consider.  The way I see it:

  • A way to change an actor's parameters when they have the item equipped, and a way to revert that change when the item is consumed in battle
  • A way to only include an item in the actor's "Item" menu if that specific actor has the item equipped, or possibly an option to allow all characters to use the item if any party member has it equipped
  • If the item can also be consumed from the party inventory - a way to judge whether to consume an instance of the item from the party's inventory or from the actor's equips
  • A new system for determining whether the party has an item (will "equipping" an item remove it from the party's inventory?)

Original thread: https://forums.rpgmakerweb.com/threads/items-as-equipment.55832/