Independent Items for RMMZ

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
772
Reaction score
482
First Language
English
Primarily Uses
RMMV
Greetings all.

Earlier tonight, I got a little tired of telling people that their plugin requests aren't possible in RMMZ because independent items aren't a thing yet, so I made a quick little patch to bring them into RMMZ.

What is an independent item?
Independent items (or weapons, or armors) were a feature of Yanfly's ItemCore plugin, where individual instances of items could be modified, through other plugins, without modifying all instances of that item. The ItemCore plugin itself had a random variance parameter that was the most obvious use of this, but there were several other plugins that built on this functionality to make specific items more unique, such as attachable augments, item upgrades, random prefixes/suffixes, and many others.

Since the current VisuStella ItemCore plugin does not contain this functionality, and it hasn't been in plugin waves 2 or 3, it's starting to look like this might be something we'll be waiting a long time for, so I took it upon myself to patch it into a working state in RMMZ.

First, this patch contains no YEP code. I do not have the rights to redistribute that code, and this plugin merely aliases some functions from it. It requires the YEP_ItemCore plugin to work.

Second, I haven't done much testing beyond opening some menus, equipping/unequipping items, and buying/selling them. I didn't find any crashes myself, but I didn't thoroughly test it, so I expect there might still be some hiding in there somewhere.

Third, this plugin doesn't really do much on its own. It removed the menu and window changes from ItemCore, such that the only things it changes are independent item related. The only way to see that it's even working is to note that independent items no longer stack in the item scene.

Fourth, ItemCore had inventory limits, which prevented you from buying more than one independent item at a time. The limit still exists, but the shop scene no longer checks for it, so you can buy multiple independent items at the same time now. I recommend setting it to an arbitrarily high number, because there is currently no way for the player to see or know there is a limit.

Fifth, make sure the 'Updated Scene_Item' plugin parameter in ItemCore is turned off.

This may allow some plugins for RMMV that required ItemCore to work in RMMZ again, but I ported this for my own use, so I cannot guarantee that. Most are probably still going to require a patch to work again, especially augments or item upgrades, as the modifications to the item scene were disabled in my patch.

Load Order:
For compatibility reasons, I recommend loading YEP_ItemCore before the tier 1 VS plugins, and then loading this patch directly after it in the load order, like this image:
independentitems load order.PNG
Note, this was only tested with ItemCore version 1.30, but it should work with any newer version as well.

This patch is free for commercial and non-commercial use.
You do not need to give credit to use it.
You can redistribute it as you see fit.
You can modify it to add functionality or correct bugs, and share those modifications as long as the header remains intact.

You can download the patch from my itch.io page, or version 1.00 is attached to this thread.
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

what if... I recreate Kvatch's oblivion gate in rpg maker. Haha jk....unless?:oops:

My only regret is the portal mirror effect is too subtle to show up in these GIFs. It probably just needs more sparkles. :LZSwink:
Microsoft: Hey, let's waste money advertising the Xbox Series X when nobody has any in stock, we don't seem to be making more, we aren't taking preorders and you can't get on a waiting list. BEST. IDEA. EVER.
So I'm practicing ITC with a spirit box, and decide to try to contact my deceased soulmate. It actually gave me multiple identifiers. Me, still a bit skeptical, asked aloud "Fine but does he still love me?" and the box spoke and printed the word "Forever" at the same time. Been a mess of tears since. :kaocry:
Been scratching away at my game and making progress, but just had a revelation. I'm working in full screen and adjusting all my pictures accordingly, but will they resize if someone's screen is smaller?? I hope this doesn't turn out to be a problem later.

Forum statistics

Threads
105,635
Messages
1,015,162
Members
137,304
Latest member
KenSoulslayer
Top