Modding:Creating Recipes

From Vintage Story Wiki
Revision as of 13:37, 10 February 2017 by CreativeMD (talk | contribs) (Created page with "__FORCETOC__ Before you should start here. I highly recommend to read Creating Items first in order to understand this tutorial properly. == Basics == === Ingredient Pat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Before you should start here. I highly recommend to read Creating Items first in order to understand this tutorial properly.

Basics

Ingredient Pattern

Ingredients

Is there a quantity selection for ingredients?

Output

Advanced

Type based recipes

Planks for example

{
	ingredientPattern: "L",
	ingredients: {
		"L": { type: "block", code: "log-*-ud", name: "wood" }
	},
	width: 1,
	height: 1,
	output: { type: "block", code: "planks-{wood}", quantity: 4  }
}