I'm not understanding. Do you mean like a bulk setup for a bunch that will have the same As needed?
Ah, sorry. I'll try to explain what I'm doing a bit better.
For my project, I only have 1 copy of each materia obtainable. These materia are separated by element, so for example, I have 5 different materia that are based around the "fire" element.
Instead of gaining AP by battle, I want to have all "fire" materia to gain a set amount of AP every time you find another of the 5 "fire" materia. This way, all of your "fire" materia are essentially leveling up every time you find a new one.
I hope this makes sense. If not, definitely let me know, and I'll try to explain it differently.