That's pretty neat! I'm working with Ruby right now, and I think I've got it pretty well figured out. I've got it so that it can generate approximately 200,000 different weapons based on the template, prefix, and weapon level, and I've only coded the prefixes for the second rarity tier. Working on coding in the last two tiers right now. I've submitted a game page for the proof of concept, so once that goes through I'll be able to show my progress, and I'm constantly working on it to make it even better. This is cool to see though, it's nice to see how other people have done something similar.