MadAlchemist Posted December 15, 2021 Report Share Posted December 15, 2021 Hello! I am trying to create my first VintageStory mod, but constantly getting an error, something like "ingredient pattern size wrong" or "no ingredient pattern" (it disappearss too quickly to write down, and not appears in logs). Recipe is not loaded, of course. Here is my recipe JSON: { ingredientPattern: "K F", width: 1, height: 2, ingredients: { "K": { type: "item", code: "game:knife-*", isTool: true }, "F": { type: "item", code: "game:firewood" } }, output: { type: "item", code: "game:stick", quantity: 2 } } Link to comment Share on other sites More sharing options...
Spear and Fang Posted December 15, 2021 Report Share Posted December 15, 2021 (edited) 1 hour ago, MadAlchemist said: Hello! I am trying to create my first VintageStory mod, but constantly getting an error, something like "ingredient pattern size wrong" or "no ingredient pattern" (it disappearss too quickly to write down, and not appears in logs). Recipe is not loaded, of course. Here is my recipe JSON: { ingredientPattern: "K F", width: 1, height: 2, ingredients: { "K": { type: "item", code: "game:knife-*", isTool: true }, "F": { type: "item", code: "game:firewood" } }, output: { type: "item", code: "game:stick", quantity: 2 } } My first guess? The ingredientPattern needs a comma or a tab between rows. I *think* that's a space above. ingredientPattern: "K,F", Edited December 15, 2021 by Spear and Fang 1 Link to comment Share on other sites More sharing options...
Spear and Fang Posted December 15, 2021 Report Share Posted December 15, 2021 Related: I'm assuming that vintagestorydata/logs/server-main.txt or client-main.txt will have the details of the error in it. Link to comment Share on other sites More sharing options...
MadAlchemist Posted December 15, 2021 Author Report Share Posted December 15, 2021 15.12.2021 18:06:33 [Error] Grid Recipe with output Item code game:stick has no ingredient pattern or incorrect ingredient pattern length. Ignoring recipe. Link to comment Share on other sites More sharing options...
Minnigin Posted December 15, 2021 Report Share Posted December 15, 2021 he's right, you need commas between sections, also underscore "_" represents an empty square Link to comment Share on other sites More sharing options...
MadAlchemist Posted December 15, 2021 Author Report Share Posted December 15, 2021 But vanilla recipes don't have commas between sections! Link to comment Share on other sites More sharing options...
MadAlchemist Posted December 15, 2021 Author Report Share Posted December 15, 2021 What is really strange: with comma, it works! (And yes, I have checked it again, NO commas in vanilla recipes... or viewer is buggy (Notepad++)) Thank you! Link to comment Share on other sites More sharing options...
Spear and Fang Posted December 15, 2021 Report Share Posted December 15, 2021 25 minutes ago, MadAlchemist said: What is really strange: with comma, it works! (And yes, I have checked it again, NO commas in vanilla recipes... or viewer is buggy (Notepad++)) Thank you! Vanilla recipes have tabs. I prefer commas. Link to comment Share on other sites More sharing options...
MadAlchemist Posted December 15, 2021 Author Report Share Posted December 15, 2021 Just now, Spear and Fang said: Vanilla recipes have tabs. I prefer commas. Me too Commas are much more obvious. Link to comment Share on other sites More sharing options...
Recommended Posts