local function Mix()
print("Crafting ore dust from item dust " .. detail.name)
turtle.transferTo(4) -- Put the item away for overflow storage
turtle.select(4)
count = turtle.getItemCount(4)
if(count < 9) then
else
i = math.floor( count / 9 )
print("Now transfering " .. i .. " items")
print("Aranging...")
turtle.transferTo( 2, i)
turtle.transferTo( 3, i)
turtle.transferTo( 6, i)
turtle.transferTo( 7, i)
turtle.transferTo( 8, i)
turtle.transferTo(10, i)
turtle.transferTo(11, i)
turtle.transferTo(12, i)
print("Crafting...")
turtle.select(1)
turtle.craft()
end
end
Instead of crafting the item the program throws "Attempting to call nill" on the line where turtle.craft() is called. Any ideas? And yes, it is a crafty turtle.