Modding:Content Tutorial Further Recipes: Difference between revisions

From Vintage Story Wiki
m
mNo edit summary
Line 116: Line 116:


== Clayforming Recipes ==
== Clayforming Recipes ==
Clayforming recipes are quite simple. If you open the ''bricks.json'' file in the clayforming folder, you will see the start of a recipe, including ingredients and output.<syntaxhighlight lang="json">
{
  "ingredient": {
    "type": "item",
    "code": "game:clay-*",
    "name": "type",
    "allowedVariants": [ "blue", "fire" ]
  },
 
 
 
  "output": {
    "type": "item",
    "code": "game:rawbrick-{type}",
    "stacksize": 12
  }
}
</syntaxhighlight>


== Conclusion ==
== Conclusion ==
Confirmedusers
540

edits