fixerhere Posted November 7, 2020 Share Posted November 7, 2020 (edited) I made a recipe for my hat and it is working if i'm crafting it but recipe itself looks weird Here's a screenshot And here's the code Recipe("evilgarland", {Ingredient("petals_evil", 12)}, RECIPETABS.DRESS, {SCIENCE = 0}) STRINGS.RECIPE_DESC.PETALS_EVIL= "Pesky parasite!" Edited November 7, 2020 by fixerhere Link to comment Share on other sites More sharing options...
krylincy Posted November 7, 2020 Share Posted November 7, 2020 If you add a new recipe you should use the add recipe function. also, you need to specify what image you wanna use. i dont know what you think is "weird" but try to add it like this: local papyrusbatch = AddRecipe("papyrusbatch", {Ingredient("cutreeds", 40)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) papyrusbatch.product = "papyrus" papyrusbatch.image = "papyrus.tex" papyrusbatch.numtogive = 10 STRINGS.NAMES.PAPYRUSBATCH = "Papyrus 10x" STRINGS.RECIPE_DESC.PAPYRUSBATCH = "For writing things." if the product is the same as the recipe name, you dont need to specify it again. Link to comment Share on other sites More sharing options...
fixerhere Posted November 8, 2020 Author Share Posted November 8, 2020 Now my game just crashes when selecting a character It didn't crash before so idk what I'm doing wrong Link to comment Share on other sites More sharing options...
AndRay Posted November 9, 2020 Share Posted November 9, 2020 You should post your error log (or at least the crash itself) so we can help debug stuff. Also the code, and as commented as you can manage. Also, you should first use a lot of print("[useful info]") to see exactly which line is causing the crash (if the handler won't give a specific error message) Remember to use tostring(thing) to print variable values (so print("var is equal to"..tostring(var)) prints var) Link to comment Share on other sites More sharing options...
fixerhere Posted November 9, 2020 Author Share Posted November 9, 2020 Where can i find the error log? Worst thing is that it just closes the game without giving me any error Link to comment Share on other sites More sharing options...
Thomas Die Posted November 9, 2020 Share Posted November 9, 2020 Its something like in your documents or summit Documents/Klei/DoNotStarveTogether folder I think this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now