So I've recently moved over my MV project to MZ and one of the things that I really want to keep but have troubling translating is this javascript code I had for Yanfly's Item Crafting that allowed me to make multiple of items per item crafted:
----
<Custom Synthesis Effect>
var Pistol Rounds= $dataItems[15];
$gameParty.gainItem(PistolRounds, 19);
</Custom Synthesis Effect>
----
This allowed me make multiple items while using the ingredients to for one item. So if I made one "set" of pistol rounds I would get 20 rounds back. Two sets: 40, Three sets: 60, etc etc. And I could do this all at once as long as I had the ingridients to make a set of items. The issue that I'm having is that the same code works for Visutella ItemCraftingSystem, but instead of giving me 20 rounds for each set I craft, It's only giving me 20 rounds for the total sets that I've made. So if I make three sets of pistol rounds it's only giving me 20 rounds for that entire set I made at once rather then the 60 that it did in MV. Is there a way to make it so that I can get back the multiple items when I create multiple sets?
----
<Custom Synthesis Effect>
var Pistol Rounds= $dataItems[15];
$gameParty.gainItem(PistolRounds, 19);
</Custom Synthesis Effect>
----
This allowed me make multiple items while using the ingredients to for one item. So if I made one "set" of pistol rounds I would get 20 rounds back. Two sets: 40, Three sets: 60, etc etc. And I could do this all at once as long as I had the ingridients to make a set of items. The issue that I'm having is that the same code works for Visutella ItemCraftingSystem, but instead of giving me 20 rounds for each set I craft, It's only giving me 20 rounds for the total sets that I've made. So if I make three sets of pistol rounds it's only giving me 20 rounds for that entire set I made at once rather then the 60 that it did in MV. Is there a way to make it so that I can get back the multiple items when I create multiple sets?