Posted 08 March 2012 - 04:29 AM
Have made the first turtle farmer.
Known problems
———————–
1.Doesn't do dynamic farms
2. Only can cross water ways that are 1 block (e.g. (plus is water) -+- you can do -++- you can't do
-- Coded by Noodle
-- Any suggestions? PM Me.
term.clear()
term.setCursorPos(1,1)
function getItem()
turtle.turnRight()
if turtle.detect() == false then
turtle.turnLeft()
turtle.turnLeft()
end
end
print "Farming..."
while turtle.detect() == true do
turtle.forward()
turtle.dig()
turtle.forward()
if turtle.detect() == false then
turtle.forward()
if turtle.detect() == false then
turtle.back()
getItem()
if turtle.detect() == false then
turtle.forward()
end
end
end
end
Known problems
———————–
1.Doesn't do dynamic farms
2. Only can cross water ways that are 1 block (e.g. (plus is water) -+- you can do -++- you can't do