Translations:Modding:Content Tutorial Simple Recipe/40/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 13:13, 28 March 2024
Understanding the IngredientPattern Property
The 'ingredientPattern' property is a lot easier to explain in this recipe. Each letter in the pattern determines a unique ingredient, however there are a couple of unique characters too. Each section, determined by commas, represent a row in the crafting grid. In the pattern above, the rows are: "_H_", "GGG", "GGG". Each character then represents its own space in the crafting grid. An underscore ( _ ) tells the game that this is a blank space and unused in this recipe.