MZ Random Prefix / Suffix for Equipment

Firstly, sorry if this has already been requested or even made. I did a lot of searching to find something like this, both on the forums and google, but I havn't had any luck or even an idea of how to implement something like this.


I am looking for something similar to DreamX's Random Equipment Prefixes & Affixes, but for MZ. Unfortunately he doesn't appear to have logged on in quite some time so I don't believe I'll be able to ask him if he has anything in the works.


In a nutshell, I would like to have my base weapons have randomized modifiers (sort of like how you'd see in Diablo or some of the Might and Magic Games) without having to add each variant of every item into the database as it's own ID. Each Prefix or Suffix would change the weapon ( Increase Damage, change element type, Price, etc etc)

Using Diablo for example, when a sword is dropped by an enemy, it would have a chance to roll as the base item with no modifiers, or as a fancier version of the item, etc etc.

40% chance to roll as the Base Item
20% ... Superior
20% ... Ethereal
20% ... Damaged

The sword itself would be only 1 ID entry on the weapons tab, the variations of that exact weapon would not each be a separate entry. (ie. the database would NOT look like #0001 Sword, #0002 Superior Sword, #0003 Ethereal Sword, and so on, as doing it this way would put me near 40k entries).

I believe the way I understand that it worked in DreamX's script was to have the base weapon(i.e. Sword) and Prefix/Suffix's(i.e. 'Superior') be independent entries in the Weapons tab, and from there, you could use notetags on a base weapon to reference ID's of Prefix/Suffix's, along with a chance for that item to roll with those prefix/suffix's.

Doing it this way, I would be able to have my list of weapons, and a list of prefix/suffix's to reference via note-tags, and I could shorten my entries to something workable with the engines current limitations.


I was planning to do this manually, but I realized that between each modifier I'd like, and different values of each modifier, I'd wind up with close to 40,000 ID entries for weapons alone, never mind armors or other equipment. The engine only supports up to 9999 entries in an equipment tab, and warns the user that the engine may become unstable or just stop working altogether with that many entries.

Does anyone know of a way to implement something like this or a script that might suffice for what I'm asking?
Have you tried using this plugin with FOSSIL? Note its requirement of Yanfly's Item Core in order to have independent items - that's an essential part, because by default an item doesn't "have" a name, every time you look it just references the name in the database.

If it doesn't work in FOSSIL, then you're several steps away from being able to get anything like this in MZ...as far as I know, no one has natively implemented independent items for MZ, which means you can't rename a specific item (never mind the random generation part and attaching bonuses to the words).

Ramza has written a patch for the Yanfly Item Core, but I haven't seen anyone use it as a basis for further MZ plugins.

Maybe someone else will be aware of some work I haven't seen.
Have you tried using this plugin with FOSSIL? Note its requirement of Yanfly's Item Core in order to have independent items - that's an essential part, because by default an item doesn't "have" a name, every time you look it just references the name in the database.

If it doesn't work in FOSSIL, then you're several steps away from being able to get anything like this in MZ...as far as I know, no one has natively implemented independent items for MZ, which means you can't rename a specific item (never mind the random generation part and attaching bonuses to the words).

Ramza has written a patch for the Yanfly Item Core, but I haven't seen anyone use it as a basis for further MZ plugins.

Maybe someone else will be aware of some work I haven't seen.

I wasn't aware someone had made such a great tool for using MV plugins in MZ. That's actually so good to know!

I was so excited when I got to the Fossil page, as it specifically mentions DreamX's plugin as 100% compatible. Sadly, every link I tried for Fossil seems to be down. The Itch.io pages are gone.....

THANKFULLY Wayback machine had me covered, and I managed to find an archived version of the page that had the script on it.

I fired it up with the MV YEP Item Core and MV YEP Engine Core, and it worked, but things were buggy to say the least. I assumed I'd need the MV YEP Engine Core, but disabling it made everything work again. I think I was getting some conflicting stuff between plugins.

Fossil and MV YEP Item Core has enabled DreamX's plugin to work flawlessly from my testing in MZ, and I'm not getting conflicts with any of Visustella's MZ plug-ins either, even the Items/Equip core, which I thought for sure was going to be an issue. I was worried I'd had to change a bunch of plugins to MV versions just to allow for DreamX's, but everything I've tried so far seems solid as a rock.

You have done me a solid, sir. If there's anything I can do to support you in return let me know.

Thank you so much! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/random-prefix-suffix-for-equipment.151636/