I've been working on a script recently that makes equipment items unique--rather than saying you have 2 Bronze Swords, you have 1 Bronze Sword (A) and 1 Bronze Sword (B). My intention is to create other add-ons to this system, but right now I'm just getting the basic idea down. My main focus has been making this script compatible with just about anything.
Currently I have it where new items are pushed to the end of $data_weapons/armors. I've got a whole sorting system and some method rewrites and what-not. The biggest trouble I have with, right now, is knowing when the equip no longer exists in the game (it's not equipped, not in inventory, not stored somewhere, etc.).
One solution I came up with is just let the item stay in the array forever. But now I don't know if this will become a huge issue. I have to save the $data_weapons/armors into the save files now--that's a lot of data isn't it? Especially how every equip is a new instance and such...
I'm currently running out of time typing this up. Be back later.