The animation variables is just for the crafted item, I was originally having trouble take a string from the array and using it the change sprites animation. I later figured out how to do and I haven’t went back and changed that.
So each crafting slot in the crafting grid corresponds to an x element in “array2”
Then I use Ajax to load the preset array.json into “array”
When I put a crafting recipe into the crafting grid I check 0-3 x element of “array” to 0-3 x element of “array2” to see if the recipe is the same and if so then 4 x element of “array” is the item to be crafted
What is happening, is when I put the correct recipe into the crafting grid. I am not getting any crafted item or anything. “Array” currently has 3 recipes that’s why the height of the array is 3. Each recipe is one x row long.
If I’m still not explaining it well then I’m more than happy to add my c3p file