Translations:Modding:Creating Recipes/31/en
From Vintage Story Wiki
There are more complicated things you can do with recipes. This the recipe for wooden planks which are crafted out of logs:
{
ingredientPattern: "L",
ingredients: {
"L": { type: "block", code: "game:log-*-ud", name: "wood" }
},
width: 1,
height: 1,
output: { type: "block", code: "planks-{wood}", quantity: 4 }
}