Issue adding recipies
Cjk1231 opened this issue ยท 9 comments
Hello, I have been trying to add custom recipes and by copy and pasting other recipes then changing them up to fit a new one. I have also tried adding one from scrath by typing it all out but every time I add one the plugin stops working. I am not sure if i am adding a extra space but i would love some help with figuring out how to add custom recipies. Thank you.
please provide the config file containing the recipes. I suggest using https://hastebin.com/ or something similair as it allows the layout better then copy paste it in a reply and one can see it online without the need to download.
https://hastebin.com/yoximurewi.coffeescript
I only added one to try and test it to see if i could figure out how it works
The hot chocolate at the bottom, it was in the suggested part so i copied it over to test it
Take a good look at the spacing. The name does not have enough spacing. Same with all the other parts of the recipe. A easy way to fix this is to select the space in front of the default recipe above it and replace the space of the new recipe with it.
https://hastebin.com/ecavinudex.coffeescript
i added comments and an empty example.
thank you, also is it possible to have an easy way of telling if I have too many spaces or too little just by eyeballing it?
Even if your server is giving an error that it cant read the config file, just above it in all that text usually says why or at what point/row the issue is. Its very helpfull finding recipe errors for example.
The red line has all the main names on the same spot
The blue line has all the bottle names and other parts of the recipe on the same spot
The yellow line has all the seperate ingredients on the same spot.
Try placing the point of your mouse on 1 of the lines and scroll down while keeping that mouse on the same spot. It works similair in the config file to check all the spaces
Just noticed something funny and easier. Heck the fact i did not even know this before makes my mind blown hahaha.
--whiskey:
----name: Unsightly Whiskey/Whiskey/Scotch Whiskey
----ingredients:
------- Wheat/10
----cookingtime: 10
----distillruns: 2
----distilltime: 50
----wood: 4
its 2 spaces for the recipe names, 4 spaces for the bottle name and lines like ingredients, cooking time, stuff like that. Its 6 spaces for the actual ingredient parts, effect lines and lore. Basicly 6 spaces for everyting that has a - before the text
You can download Sublime Text or Notepad++ and they make it really obvious if spaces are wrong and also any other mistakes will be marked red.
Sent with GitHawk