MV Looking for an extension as well as an edit

Not the most meaningful title, sorry.

I'm looking for an extension plugin for yanfly's attachable augments that simply prevents the same augment being used more than once in the same item.

There was a code snippet flying around that was supposed to do that but neither I nor someone more proficient with js could get to work, so I'm trying this now.

The game features only one specific slot with an augmentable item, so it doesn't even really need to check across different items. It simply needs to prevent the slotting of the same augment in the same item more than once.

As for the edit I need: I got a custom made shop plugin that works pretty fine thus far, but the categories are the default ones. I need an edit to that plugin that lets it display the custom categories I've set up with yanfly's custom categories instead. (Weapons/Armor/Consumable/Materials/Augments/Quest instead of Weapons/Armor/Item/Key)

Both sound pretty straight forward, but what do I know. Let me know if any kind soul would be willing to help out. 😀

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-an-extension-as-well-as-an-edit.160573/