Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function shear()
- turtle.turnRight()
- if turtle.forward() then
- turtle.place()
- turtle.back()
- else
- turtle.place()
- end
- turtle.turnLeft()
- end
- function sheep()
- for x=1, 7 do
- shear()
- turtle.forward()
- turtle.forward()
- end
- turtle.turnRight()
- if turtle.forward() then
- turtle.place()
- turtle.back()
- else
- turtle.place()
- end
- turtle.turnRight()
- for x=1, 8 do
- shear()
- turtle.forward()
- turtle.forward()
- end
- end
- function store()
- for i=1, 15 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.select(16)
- end
- function tool()
- if turtle.getItemCount(16) == 0 then
- turtle.select(16)
- turtle.suckDown()
- end
- end
- function sheepFarm()
- for x=1, 12 do
- tool()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- sheep()
- store()
- sleep(300)
- end
- end
- sheepFarm()
Advertisement
Add Comment
Please, Sign In to add comment