Question about Yanfly's "Item Synthesis" Script

Hello All,


I was just wondering if anyone knew if Yanfly's script supports creation of multiple items. Such as one redwood log as a ingredient that outputs four redwood planks as a product of the redwood log. If this isn't possible, does anyone happen to know of any crafting scripts that have this feature?
I would say its not that hard to add in, as I have edited it for a multiplier for items.  My plugin is heavily edited to match my games resolution and window layout style, but I can try to give you an edited version as a snippet plugin to put right under the original plugin.


This allows you to make a multiplier for each recipe for its output by adding <multiplier:X> below the synthesis ingredients. X would be however many items you want the player to receive, so in your example it would be <multiplier:4> to get 4 wood planks from 1 log.


This also adds in a new function for name drawing that adds in the multiplier after the item name of that you're crafting. So instead of Yanfly's base showing "Wood Planks" and you getting 4 at a time it would show "Wood Planks (x4)" as the name.


If there is a problem or question feel free to ask. There is no real configuration or anything, just plug and play right below Yanfly's Synthesis and make sure to add <multiplier:X> to everything that has a recipe where you want more than 1 item at a time. 😀

View attachment Yanfly_Synth_Multiplier.js
Thank you very much. That's what I needed. This should be implemented in the official version as a matter of urgency. A single item per creation is very limited. Now I can create multiple arrows with a tree trunk.
Edited the code so it works with MV 1.6.1

Edit: mistakenly posted here instead of private message, sorry >.<
Thanks for the update, @Ahuramazda !!
Edited the code so it works with MV 1.6.1

Edit: mistakenly posted here instead of private message, sorry >.<

this little fly is very grateful for your mistaken post edit =P

Original thread: https://forums.rpgmakerweb.com/threads/question-about-yanflys-item-synthesis-script.63080/