This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
artman41's profile picture

Crafty turtle not crafting

Started by artman41, 23 September 2013 - 03:07 PM
artman41 #1
Posted 23 September 2013 - 05:07 PM
I have the following code set so that it crafts me furnaces with the cobble another turtle is supplying. It is then to drop all of the furnaces into a chest. However, all this code seems to do is spam select slots 1 & 2. Can anybody help me out with this? I'm a tad bit confused since the turtle.craft() command isn't really explained on the wiki.


while true do
turtle.craft()
turtle.select((2))
turtle.dropUp()
turtle.select((1))
end
Lyqyd #2
Posted 23 September 2013 - 08:34 PM
Split into new topic.

You have to arrange the materials in the correct pattern to actually craft something. That pattern must be the only thing in the turtle's inventory. You can use turtle.transferTo to move the items into the correct slots.
artman41 #3
Posted 24 September 2013 - 10:28 AM
Split into new topic.

You have to arrange the materials in the correct pattern to actually craft something. That pattern must be the only thing in the turtle's inventory. You can use turtle.transferTo to move the items into the correct slots.

thanks for the info :D/>