so in the first spoiler, the args={…} is syntax to prompt the turtle to ask for a user defined number? numOfBreads would be a call function for that args? (sorry if my terminology is off) i'm not home atm so i can't test anything, but how would i call it to see what i input? so say i put in 5, now numberofbreads=5, how do i display that number? print(numberOfBreads)? also, whys there the [1]?
for the restock function, would it check if 1, 2, 3. if any of them are it'll select the slot, and grab more wheat. but how do you make it only grab part of a stack and not the whole thing? i get what you mean about it only pulling 10 pieces cause its in the first slot the turtle tries to grab. but if you replaced the 10 stack with 20 stack or 35 stack it'll still just grab the first one it can.
i guess the turtle could always have wheat in 1-3, and if one of the slots is empty, it'll try to get more wheat. if its not empty it will craft as usual, and if i only wanted it to craft 5 pieces but theres 3 stacks in there, i could have it craft and deposit the 4th slot, so long as it always puts the bread in the 4th slot.
it seems the program has a lot of work it still needs, well lots of work for me :P/>
::edit::
Bam…
Super awesome, automatic crafting. It should take from a chest to the left, craft the bread, and drop it in the right hand chest. It will then reposition itself.
i can't tell if that has user defined amounts of bread, but from the looks it does not. it also looks like the bake section will drop everything in its inventory into the left box. sorry if i'm wrong, i'm still learning the basics really & i struggle to understand.