Am rebuilding my crafting system from scratch again to make it easier for me to add more recipes. Doing so I came across this issue which is documented in the image below, so any sort of explanation why this is happening would help a bunch.
p.s. Line 3 and 4 still output 0 even if i set the value to 5 instead of "Stone".
You need to change the loop to "For each X element". This will not fix the problem (if there is any), but it's more efficient.
You're monitoring only one fixed array element with browser log - CraftingTable.At(1,2). Try changing this to CraftingTable.At(CraftingTable.CurX,2)
Also, have you tried Debug Mode? You'll be able to see the entire array.
Develop games in your browser. Powerful, performant & highly capable.
Never knew you could debug arrays, after doing it, it was clear what I needed to fix. Thank you for this and for the "For each X element" tip =]