Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plants = 7
- local growth = 3
- local runs = 0
- function harvest()
- local steps = plants
- while (steps > 0) do
- steps = steps-1
- turtle.digDown()
- turtle.forward()
- end
- end
- while (true) do
- harvest()
- runs = runs+1
- sleep(growth)
- turtle.turnRight()
- turtle.turnRight()
- if (runs%2==0) then
- turtle.select(2)
- turtle.drop()
- turtle.select(3)
- turtle.drop()
- turtle.select(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement