Modding:Creating Recipes: Difference between revisions

From Vintage Story Wiki
Added showInCreatedBy example
(Marked this version for translation)
(Added showInCreatedBy example)
Line 240: Line 240:
</syntaxhighlight>
</syntaxhighlight>


<!--T:39-->
=== Hiding recipes from 'Created by' section from handbook === <!--T:39-->
Some recipes are better hidden, it can be done by adding <code>showInCreatedBy</code>.
<syntaxhighlight lang="json">
{
ingredientPattern: "H",
ingredients: {
"H": { type: "block", code: "hay-normal-ud" }
},
    showInCreatedBy: false,
width: 1,
height: 1,
output: { type: "item", code: "drygrass", quantity: 8  }
}
</syntaxhighlight>
 
<!--T:40-->
{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}


</translate>
</translate>
Confirmedusers, editor
982

edits