I'm attempting to create a code for crafting tools in a crafty turtle. There is a function called "craft" in the code, when attempting to use it however, I get the error saying its not a function, but actually a string. edit: Actual error is "craft:(line the craft function was called during the program running): attempt to call string". So for crafting a sword it comes up with "craft:43: attempt to call string" and when crafting a pickaxe it comes up with "craft:53: attempt to call string".
craft
Spoiler
I've also run a test where it just calls the craft function and it came up with the same error with the line again being the line where the function was called.
part of code edited
Spoiler












