MV Yanfly item synthesis multiple crafting for one item

Hi, I am looking for a way to create an item with different objects, without duplicating the object with the alternative recipe, is there any way to do it just by script notes?
So you want two ways to make an item, but you don't want to make two recipes?

No, the plugin can't do that.

How would it even work in the interface? You select a recipe and it displays the ingredient items, how would you show "2 mushrooms or 5 iron or 17 cotton"?
i havent tried it, but couldnt you dupe the item in the DB and give the copy a synthesis eval tag to remove itself from the inventory and give the real one instead when crafted?
i havent tried it, but couldnt you dupe the item in the DB and give the copy a synthesis eval tag to remove itself from the inventory and give the real one instead when crafted?
How would you craft the duplicate item with only one visible recipe?
How would you craft the duplicate item with only one visible recipe?
it would still be a separate item and would have another listing in the menu. I did forget to mention the second item would have the alternate recipe

So a potion would be DB item 1 and require an herb to make, and DB item 2 would be a visual copy of that potion so that it shows up in the menu, but it would have a different recipe and a notetag to just give DB item 1 when made.

without duplicating the object with the alternative recipe
I think OP's concern was to not give the player a separate item with a different ID when the recipe is supposed to craft the same thing
it would still be a separate item and would have another listing in the menu.
I think one of us is confused - might be you, might be me, might be the OP 😛

If there are going to be two listings (recipes) in the menu, you can simply make two different recipes for the same item. I don't see any reason that wouldn't work.

The OP specifically requested a way to do it without an alternative recipe. To me that says somehow have one listed recipe that can take different sets of ingredients, which the plugin can't do.
I think one of us is confused - might be you, might be me, might be the OP 😛
Why not all of the above? 🤣

If there are going to be two listings (recipes) in the menu, you can simply make two different recipes for the same item. I don't see any reason that wouldn't work.
I think an alternate recipe has to be associated with a separate item. I only fiddled around with the plugin for a few minutes nearly a year ago by now to see what it could do, but one of the things i did notice was that making multiple recipes in the same DB item resulted in one listing that combines all of the recipes into one ingame

To me that says somehow have one listed recipe that can take different sets of ingredients
huh
I hope thats not what they meant for their sake, but i can see that being the case now
I think an alternate recipe has to be associated with a separate item. I only fiddled around with the plugin for a few minutes nearly a year ago by now to see what it could do, but one of the things i did notice was that making multiple recipes in the same DB item resulted in one listing that combines all of the recipes into one ingame
Huh. It certainly doesn't say that in the instructions, but I'll take a poke at it tomorrow...if that's the case, depending on how it's done, it shouldn't be too hard to change it to list by recipe.

Edit: Ohhhhh, I see the issue...the ingredients aren't attached to the freaking recipe 😠 They're attached to the item and the recipe just unlocks it. I totally misunderstood how that's set up.

Okay, what Robro said is your option - have two database entries with different recipes, and one turns itself into the other with a synthesis eval.
Why not all of the above? 🤣


I think an alternate recipe has to be associated with a separate item. I only fiddled around with the plugin for a few minutes nearly a year ago by now to see what it could do, but one of the things i did notice was that making multiple recipes in the same DB item resulted in one listing that combines all of the recipes into one ingame


huh
I hope thats not what they meant for their sake, but i can see that being the case now

Huh. It certainly doesn't say that in the instructions, but I'll take a poke at it tomorrow...if that's the case, depending on how it's done, it shouldn't be too hard to change it to list by recipe.

Edit: Ohhhhh, I see the issue...the ingredients aren't attached to the freaking recipe 😠 They're attached to the item and the recipe just unlocks it. I totally misunderstood how that's set up.

Okay, what Robro said is your option - have two database entries with different recipes, and one turns itself into the other with a synthesis eval.

Hi, sorry for the late reply, I think I did not explain very well, sorry for that, I use a translator, my native language is Spanish, what I want is that there are 2 ways to make an object without duplicating it to make an alternative recipe, if there is no way to do it I understand.

for example:

<Synthesis Ingredients>
item 53
item 46 or item 47
</Synthesis Ingredients>
Correct, there is no way to do that with this plugin.
Correct, there is no way to do that with this plugin.
Understood thanks, it's a pity

@ATT_Turan @Robro33 I had an idea, I could duplicate the item and create an alternative recipe and once the duplicated item is created, I could transform it into the original item in the inventory, is there any way to do that, I don't know if I explained it well?
I had an idea, I could duplicate the item and create an alternative recipe and once the duplicated item is created, I could transform it into the original item in the inventory, is there any way to do that, I don't know if I explained it well?
i did suggest that last week as a possible solution.

you'd put this into the duplicate item's notebox
Code:
<Custom Synthesis Effect>
$gameParty.loseItem(item, 1);
$gameParty.gainItem($dataItems[x], 1)
</Custom Synthesis Effect>
and then you'd replace the x with the id of the item the player should actually get
i did suggest that last week as a possible solution.

you'd put this into the duplicate item's notebox
Code:
<Custom Synthesis Effect>
$gameParty.loseItem(item, 1);
$gameParty.gainItem($dataItems[x], 1)
</Custom Synthesis Effect>
and then you'd replace the x with the id of the item the player should actually get

Thank you very much, I had just thought of the same idea, problem solved

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-item-synthesis-multiple-crafting-for-one-item.169214/