Translations:Modding:Creating Recipes/34/en
From Vintage Story Wiki
Converting an ingredient to another item upon crafting
Sometimes you want to keep one or more of the ingredients, but convert them to a different item after crafting. For example, when crafting a honey-sulfur poultice, the player needs a bowl filled with honey, but the bowl is not consumed to craft it. Instead the bowl of honey is turned into an empty bowl. This is accomplished by adding the returnedStack
property to the ingredient. This property's value needs to contain a type
and code
just like the standard ingredient properties. This tells the recipe which item to give the player back.