NIJI Equip Slot Core - Control equip slots dynamically!

ForumBanner.png

By default RPG Maker gives you five equipment slots. You can change these five slots and add more, but every actor will have these slots even if they cannot use them. What's more you can only lock equipment types at the start and never alter them after. This plugin solves all of these issues.

With this plugin you can dynamically add slots to actors on the fly. Create multiple slots of the same equipment type. You can even lock specific slots through events creating the ability to create quest-style cursed items.

Features:
  • Plugin commands to control equip slots
  • Add multiple equip slots to characters regardless of type
  • Add multiple equip types to weapons / armors
  • Add equip requirements to weapons / armors
  • Dynamically add or remove slots during playthrough
  • Dynamically lock / unlock slots during playthrough
Download, Documentation, and Info

Both the download and documentation are available on my itch.io. Any and all updates will be made available through the associated itch.io page.

✨ Click here to download NIJI_EquipSlotCore.js ✨

Spoiler: Screenshots
nw_yqmbDDbNzw.png

nw_xqtjJ5n1Qy.png

RPGMZ_SgTBbR2qwU.png

Thank You / Credits

To Hime who wrote the equip plugin for MV which helped me make this plugin.

License

You are free to use this in both non-commercial and commercial games. If you use this in a commercial game, please send me a copy so I can play. ❤
Equip Slot Core has been updated to 1.1.0

This release introduces Equip Requirements note-tags on items!

To start using Equip Requirement note-tags check out the update post on itch.io!

😍
This is exactly what I need. Thanks!
Sorry for being that guy... But have you written this to be compatible with Visustella's plugins?
Thanks for your time.
I'm getting this error, it happens when I enter the equipment tab with two actors in the party and I keep switching between them by pressing Q or W without stopping until the error appears.

Screenshot_3.png
This is super-useful! thank you.
I'm getting this error, it happens when I enter the equipment tab with two actors in the party and I keep switching between them by pressing Q or W without stopping until the error appears.

View attachment 250860
Following up here, I get this same error just opening the equipment screen without anything even tagged:

1676998646479.png
Hey so I read through the plugin and maybe I'm not getting it... but is there a script call for the
"Change Equipment" command? Since your plugin defines Equipment Types as notetags, the evented function to "Change Equipment" is defunct, it requires using Equipment Types as defined in the engine.

This is a problem because I cannot change my equipment in events, only in the equipment scene.


EDIT:

I was able to determine that
$gameActors.actor(1).changeEquip(x,0)
let me remove equipment from the slots as intended.

To equip I've been using:
$gameActors.actor(1).changeEquip(3, $dataArmors[16]);

This second one does not work on customized slots from this plugin, and so I'm really at a loss.

ChatGBT has saved the day, in order to force equipment into one of the modded slots, use:
$gameActors.actor(1).forceChangeEquip(ModdedSlotID, $dataArmors[x]);

Goodness, I now have equipment being removed and added in about 5 different script call methods lol
Following up here, I get this same error just opening the equipment screen without anything even tagged:

View attachment 253904
I have the same problem when switching characters in the equipment interface, I don’t know if it conflicts with the vs plugin.

I fixed the bug by adding the same weapon slot list to all characters.

Please note that when you set 01 main hand and 02 off-hand in the equipment type of the database, and you plan to make a two-handed weapon, when you want to delete the off-hand weapon after the main hand is equipped with a two-handed weapon, you need to use:
this.tradeItemWithParty(null,this.equips()[1]); this._equips[1].setObject(null);

I found that it seems that the default database weapon and armor types are invalid.
How do I assign weapon types, like i only want some classes to only be able to use the database weapon types? Its not working. Everyone is able to use all weapons regardless if they should or not
Haha! Finally I can make 10 rings in equipment at once, as it should be. Thanks for the plugin.

Original thread: https://forums.rpgmakerweb.com/threads/niji-equip-slot-core-control-equip-slots-dynamically.147957/