MV Ramza's Plugin Suite Support topic MEGATHREAD

Okay. The new core version is up, with the set icon, and reset icon traits, as well as block chance, block value, block percent, block enable, parry chance, and expertise. Those last bunch obviously require their respective plugins to work.

Also, the enable/disable block tag only works with the MZ shield block plugin, because the MV one required an activation state to enable blocking. Also also, the block percent and block value traits only have an effect on shields in the MV version, because the MV version specifically checks only the shield for those numbers. The MZ version gathers up all of the block value and block percent numbers from all equips on the actor, so those traits work on more than just shields.

Additionally, I found a crash bug in parry chance, which I fixed, and then while I was testing the new traits, I discovered and fixed a bug where non dual wielding actors couldn't parry at all if the MWPT parameter was set to individual. There was also likely some logical issues with the other MWPT settings as well, since they should've only been applied to dual wielding actors, and they were simply being applied to all actors. Setting it to offhand, for example, probably did the same thing.
On your itch.io page?
Also, thanks again!
On your itch.io page?
Also, thanks again!
Yeah, the new version of the core plugin is on the itch.io page. The help documentation for the core plugin doesn't contain any note tag info, that's all in the MV or MZ specific ones, so you'll need to check the devlog to see them for now, until I update the help documentation for the MV and MZ plugins.
Hello! Are there script calls to check is a specific recipe is unlocked/already crafted before? or how many are unlocked? I'm trying to figure out how to track recipe completion % for achievements like Paper mario does, and track if a specific recipe is unlocked so I can manually add encyclopedia entries for the recipes.


Thank you for reading!
Hello, sorry for disturbing, I'm also interested in this (script calls to check if a specific recipe is unlocked already) and wondering if it's doable or not. I've been reading the pages, I don't think it has been answered before.
Thanks!
Hello, sorry for disturbing, I'm also interested in this (script calls to check if a specific recipe is unlocked already) and wondering if it's doable or not. I've been reading the pages, I don't think it has been answered before.
Thanks!
Hello there. I must've missed the original post you quoted entirely.

You can check if a recipe is currently 'unlocked' from $gameParty._craftingRecipes[x], where x is the index of the recipe in the plugin manager (the first recipe in the list is index 0, the next is 1, etc). If a recipe is unlocked by default (from the plugin parameter), via the plugin command to unlock recipes, or by having crafted it once already, that command will return 'true' otherwise, false.

This is also what is used to allow it to be shown as a preview item on the right side of the crafting interface when the correct ingredients are in the ingredient list.

Whether this was true or false though, the recipe is still craftable. I added a different plugin command that allows you to disable and enable specific recipes as well, which hides them from the preview window and also prevents them from being crafted even if the correct ingredients are provided. No recipes are disabled by default, you need to manually call the plugin command to disable them, and then re-enable them later when you want them to be unlocked again. You can access that via $gameParty._disabledRecipes[x].
Perfect, thank you! 🙂
@ramza first, your plugin is fantastic, and I'm truly impressed with it. I have a suggestion that's not a critique but more of an idea I'm exploring.

While reviewing your crafting plugin instructions, I couldn't find how to implement a specific concept, though it's possible I might have missed something. I've noticed and experienced that many players aren't keen on leveling multiple EXP tracks in JRPGs, such as character levels, crafting, and mining.

So, I was thinking: what if crafting recipes were based on the main character's level instead of separate crafting levels? This would streamline the experience to a single EXP track. I managed to integrate this idea into my designed farming system, but my JavaScript skills aren't strong enough to modify your plugin. Also, I'm unsure if this would be permissible under your Terms of Service.

If you're open to creating a plugin extension for this, I'd be more than willing to purchase it. Alternatively, I'd be grateful for your guidance if there's a simple method to achieve this within your Terms of Service.

Thank you for your consideration!
I think the specific crafting experience system is probably too hard coded to be able to swap it out with a character level based one, tbh.

What you could do is completely disable crafting levels and experience entirely, and then disable any 'higher level' recipes, and then have the enabled when a level requirement is met through a plugin command. This does have the issue where you wouldn't be able to craft them before the given level with a penalty, and the 'soft failure' chance based on crafting level also wouldn't work.

Just thinking about it right now, you could set the crafting experience gain to be zero, and then add common events on level up, either at certain levels, or on every level, and assign crafting exp for that using the following functions:

$gameParty.changeCraftExperience(category, value)
$gameParty.setCraftLevel(category, level)
$gameParty.changeCraftLevel(category, value)

The first one adds experience to a crafting category, if it rolls over a level breakpoint it'd level up. The second allows you to set a crafting level for a category, and the third allows you to add (or subtract) levels from a crafting category. The category parameter is an all lowercase string for the crafting category you want (ie 'blacksmithing', 'cooking') without the single quotes.

You can work those functions into any level up common events you already have. You could also have an NPC do it as well, if a level up common event isn't something you'd use. Not quite as elegant as being built in, but a workaround is better than nothing!

Also, sidenote:
When I was looking into this just now, I realized those functions are defined, but never called in my plugin, so they were made entirely to be used for something like this. Also the first one has a typo, which would cause it not to work, which I'll upload a fix for in a while, but if you want to test it out right now, you'd need to change line 2055 in the CS_Core from:

var level = $gameParty._craftLevels[this._category]
to:
var level = $gameParty._craftLevels[category]

Looks like I'd copy pasted it from inside the craftresult window functions, and didn't catch the this reference, since the actual function was never called by me.
I think the specific crafting experience system is probably too hard coded to be able to swap it out with a character level based one, tbh.

What you could do is completely disable crafting levels and experience entirely, and then disable any 'higher level' recipes, and then have the enabled when a level requirement is met through a plugin command. This does have the issue where you wouldn't be able to craft them before the given level with a penalty, and the 'soft failure' chance based on crafting level also wouldn't work.

Just thinking about it right now, you could set the crafting experience gain to be zero, and then add common events on level up, either at certain levels, or on every level, and assign crafting exp for that using the following functions:

$gameParty.changeCraftExperience(category, value)
$gameParty.setCraftLevel(category, level)
$gameParty.changeCraftLevel(category, value)

The first one adds experience to a crafting category, if it rolls over a level breakpoint it'd level up. The second allows you to set a crafting level for a category, and the third allows you to add (or subtract) levels from a crafting category. The category parameter is an all lowercase string for the crafting category you want (ie 'blacksmithing', 'cooking') without the single quotes.

You can work those functions into any level up common events you already have. You could also have an NPC do it as well, if a level up common event isn't something you'd use. Not quite as elegant as being built in, but a workaround is better than nothing!

Also, sidenote:
When I was looking into this just now, I realized those functions are defined, but never called in my plugin, so they were made entirely to be used for something like this. Also the first one has a typo, which would cause it not to work, which I'll upload a fix for in a while, but if you want to test it out right now, you'd need to change line 2055 in the CS_Core from:

var level = $gameParty._craftLevels[this._category]
to:
var level = $gameParty._craftLevels[category]

Looks like I'd copy pasted it from inside the craftresult window functions, and didn't catch the this reference, since the actual function was never called by me.
EDIT:
I have decided just to go with a certain tools/materials-based crafting system similar to Minecraft and completely removed levels from farming and crafting. Thanks again for the assistance!
Oh, ramza, I found a bug in your "ex paramfix DW edition" plugin, where if you have either "mhcri" or "ohcri" in the attributes list before any xparam, it causes a crash because actor._xparam is undefined. I fixed it by declaring it as an empty object if it's undefined before each line that sets it.
Hey Ramza, I love the MV/MZ Pre-Title Splash Videos plugin, but I'm having an issue in MV. I'm just gonna describe it and if someone else explained a fix, I'll mark this as resolved.

I have an MP4 playing for my intro. It plays fine the first time, but if I do not skip, the audio for the MP4 plays during the intro screen. It's quite odd!

Here's what the settings look like:
1709081990963.png


1709082033904.png


I don't think there are any conflicts with other plugins, because when I turn this plugin off, everything works fine. Any advice would be much appreciated!
Good day.
I'm not sure what could be causing that. I just made an all new project to test it, and I cannot duplicate the problem with a .webm I found on the internet. Skipping, or not skipping, the titlescreen music plays as normal with nothing over it when it gets there.

Is this the only splash screen you have? Just this one video? I ask because if you play more than one it might be causing some sort of overflow or weird interaction. I don't think it'd be caused by an incompatibility, but you never know.

~Ramza
Thanks for the quick response. It's so odd: Sometimes it doesn't seem to cause the error. I only have the one video, but I do have an mp4 and duplicate webm in the movies folder. It doesn't seem to make a difference when I delete one.
Good day.
I'm not sure what could be causing that. I just made an all new project to test it, and I cannot duplicate the problem with a .webm I found on the internet. Skipping, or not skipping, the titlescreen music plays as normal with nothing over it when it gets there.

Is this the only splash screen you have? Just this one video? I ask because if you play more than one it might be causing some sort of overflow or weird interaction. I don't think it'd be caused by an incompatibility, but you never know.

~Ramza
Thanks for the quick response. It's so odd: Sometimes it doesn't seem to cause the error. I only have the one video, but I do have an mp4 and duplicate webm in the movies folder. It doesn't seem to make a difference when I delete one.
Things are looking stable, but I have no idea what I changed... I'll keep an eye on this if I can consistently recreate the bug.

I can also confirm that this plays well with TSR_Title.js from the The Northern Frog for anyone who wants to alter main menu contents. 🙂
Things are looking stable, but I have no idea what I changed... I'll keep an eye on this if I can consistently recreate the bug.

I can also confirm that this plays well with TSR_Title.js from the The Northern Frog for anyone who wants to alter main menu contents. 🙂

I'm not sure there's much I can do to fix it. The plugin is simply using the engine to play movies, any bugs or glitches it encounters would also likely happen if you were just playing a movie in game.

I could suggest adding a 'blank' video that is one frame of nothing with no sound to the end of the splash screen list. This would at least make it so that if the sound continued playing, it wouldn't be anything that anyone would notice. It's possible also that a static screen after the movie would also work to clear it, but maybe not since it wouldn't be playing a new movie so the buffer would still have the old one in it.
Hi again! I've tried out the recipe list plugin but in the recipe menu, it seems to crash when I scroll down past a certain point in the list. Is it a problem with a specific recipe I made or is the bug in the plugin itself? Thanks!

1721582514235.png
That line reporting the error is attempting to draw a category ingredient. I can't say for sure without digging into it more, but it's either an issue with your recipe or a bug that happens with all recipes that have a category ingredient.

Make sure the ingredient category has at least one item that belongs to that category. If it is calling for a 'meat' category item, and there aren't any in your items database, it will likely run into this problem. If the category is typo'd in the recipe that could cause this too, as you have lots of 'meats' but no 'maets'.

There are plugin param options for how the window shows a category ingredient, either just by showing the name, scrolling through available items of that category or scrolling through ALL items of that category. Change that setting and see if that corrects the problem, as it could indicate a bug in one specific way the ingredients category is drawn.
Ohh that was an adjustable parameter

It was blank in the default settings so I missed it and thought it was just a header for the stuff below it

Everything works now, thanks!

1722180412347.png
Hello, I really like the crafting + recipe menu (MZ) and I'm planning to incorporate it in my project. After some testing there are some qol of features that I could really use, both in the "recipe menu":

1) the option to craft multiple copies of the same item in one time (for example if it requires 1 apple and 1 orange, and I have 3 apples and 5 oranges, having the option to craft 3x the resulting item)

2) right now after I craft something, it jumps back to the first item of the list. This can be a little troublesome if the game has a long list of recipes.
I scroll down all the way to, for example, recipe 20, and perhaps I have enough ingredients to craft five of it, but after crafting one, I am sent back to the first item of the list and have to scroll all the way down every time.
It would be nice if it just "stayed there" after crafting it, instead of jumping back to the first one.

This is a great plugin, I wonder if these improvements are doable, though?

Thank you for your great work
Sorry, I saw this reply when you posted it on the plugin page a few days back, but I didn't get a chance to respond to it right away and then forgot I even saw it later.

I had looked into the first request in the past, and had even started to tinker with it a bit, but implementing the change is a lot more involved and difficult than it seems like it should be. The recipe list extension is actually just a "hat" that the crafting system plugin wears to make it look like a standard item synthesis plugin. When you're going through the menus to make a known recipe, the recipe list plugin is actually just putting the required ingredients and quantities from your inventory into the crafting slots and using the crafting system in the same way the player would.
The crafting system itself doesn't have a provision for multiple crafts, so that'd be something unique to the recipe list plugin. I had looked into various ways to implement this, the first was simply a dialog box after clicking 'craft' that asked how many, but then I ran into problems trying to detect if the player had enough items in their inventory to make the specified quantity of result items, particularly if any of the ingredients were independent items. The second option was a box after the craft completed where it would ask if you'd like to make another one, which seemed like it would work better, but I'd have to rework the crafting completion function a little bit to make it not forget the ingredients it had just used. The third option was what I planned to go with, but ended up not finding the time to finish, which was to simply allow the player to press a hotkey to change the quantity of the recipe being crafted when selecting it, which should allow for the ingredients list to fill up internally with as many copies of the item as needed, as long as they exist. The problem with that implementation was that if a recipe used an ingredient that is not consumed on use, and the player only has one of them, the interface would not detect that they actually had all the ingredients for multiple crafts and wouldn't let them do it.

Long story short, that should be possible, but I don't know that I'll ever have the time again to figure my way around the problems, and implement a change that works.

However, you can sort of get around this yourself by making multiple versions of the same recipe that give multiple result items. When one "result item" is unlocked, by crafting or via plugin command, all "recipes" for that item are also unlocked. So if you have a recipe for a potion that is 2x herb and 1x bottle = 1x potion, then you can also have another recipe in that same result item that is 4x herb + 2x bottle = 2x potion. Unfortunately, the recipe list will show each one individually, so if you load up on multiples it might end up making the list very cluttered, but you can easily do x5 and x10 and x20 or something and strike a decent balance between recipe bloat and usability.

As for your second suggestion, I had looked into this around the same time as the previous one (maybe it was you who suggested it years ago? XD), but didn't get as much time to mess with it. I don't currently recall what problem I ran into trying to implement this, I think maybe since I was trying to do the quantities thing first, I probably backburnered this request and forgot about it. I think if I did manage to make it so that it didn't go back to the first window after craft, there'd be less need to craft multiple items that the same time too, so this one might server to help for both problem.

Thanks for using my plugins, I appreciate any feedback, and will see what I can do about at least the second suggestion.

~Ramza

Original thread: https://forums.rpgmakerweb.com/threads/ramzas-plugin-suite-support-topic-megathread.108140/