If there's one thing I really can't stand about the RPG Maker engines, it's the way IDs are handled for items, weapons, armor...and just about everything, for that matter. I can't tell you how many times I want to go back and tweak the order of my items - which means adjusting every time I've tried to add or remove that item in my events.

This plugin will allow you to add or remove items (items, weapons, armor) by name. That means you can change the order of the items as you please! Huzzah!

Note: You will have to update your plugin calls if you change the item's name, though.

ADDITIONAL NOTES I don't recommend using this plugin for items that have the same name in your database. If you have multiple items with the same name, the one with the LARGEST id will be added / removed. Ex: If item ID 1 and 15 are named "Potion", the plugin will choose #15.

// Get weapon ID from name (checks all weapons for a name match) for (var i = 0; i < $dataWeapons.length; i++) { if ( $dataWeapons[i] != null ) { if ( $dataWeapons[i].name == name ) return $dataWeapons[i].id; } }

// Get armor ID from name (checks all armors for a name match) for (var i = 0; i < $dataArmors.length; i++) { if ( $dataArmors[i] != null ) { if ( $dataArmors[i].name == name ) return $dataArmors[i].id; } }