Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI('hare')
- print('Growing clippings...')
- while true do
- if not hare.selectItem('cropsItem') then
- error('Could not find crop sticks.')
- end
- turtle.placeDown()
- if not hare.selectItem('clipping') then
- turtle.turnRight()
- turtle.suck()
- turtle.turnLeft()
- -- put seeds in output chest
- turtle.turnLeft()
- while hare.selectItem('Seeds') do
- turtle.drop()
- end
- turtle.turnRight()
- end
- if not hare.selectItem('clipping') then
- print('Done: Out of clippings.')
- turtle.digDown() -- get cropstick
- return
- end
- -- plant clippings
- turtle.placeDown()
- -- harvest
- turtle.digDown()
- end
Add Comment
Please, Sign In to add comment