Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rowplant()
- for i = 1, 64 do
- if turtle.getItemCount(curslot)==0 then
- curslot = curslot+1
- turtle.select(curslot)
- end
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- end
- end
- function left()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function right()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- function plantall()
- rowplant()
- for i = 1, 32 do
- left()
- rowplant()
- right()
- rowplant()
- end
- end
- curslot = 1
- plantall()
Advertisement
Add Comment
Please, Sign In to add comment