Posted 14 August 2013 - 06:27 AM
Title: Cobble Farm Help
hey im very new to this lua thing
ive made a cobble farm program but i would like it to do more like refuel and output to a moniter and or stuff
(Question: do i need the turtle to turn around to place stuff into a chest?)
this is what i have so far:
hey im very new to this lua thing
ive made a cobble farm program but i would like it to do more like refuel and output to a moniter and or stuff
(Question: do i need the turtle to turn around to place stuff into a chest?)
this is what i have so far:
while true do
if turtle.detect() then
turtle.dig()
end
itemcount = turtle.getItemCount (1)
if itemcount == 64 then
turtle.turnLeft()
turtle.turnLeft()
for i=1,2 do
turtle.select(i)
turtle.drop()
end
turtle.select(1)
turtle.turnRight()
turtle.turnRight()
end
end