Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BM = 3
- function bone()
- turtle.select(2)
- for i=1, BM do
- turtle.place()
- end
- end
- function plant()
- turtle.select(1)
- turtle.drop(1)
- end
- function collect()
- turtle.dig()
- turtle.suck()
- end
- function drop()
- turtle.select(3)
- turtle.transferTo(1)
- turtle.dropUp()
- end
- --MAIN
- while true do
- if not turtle.detect() then
- plant()
- else
- bone()
- collect()
- drop()
- end
- sleep(3)
- end
Add Comment
Please, Sign In to add comment