Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- redstone.setOutput("top", false)
- print("feeding scraps")
- for i=1,16 do
- turtle.select(i)
- while turtle.getItemCount(i)>0 do
- if turtle.dropUp()==false then
- sleep(5)
- end
- end
- end
- print("out of scraps .. turning off")
- redstone.setOutput("top", true)
- for i=5,1,-1 do
- print("sleeping for "..i)
- sleep(60)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment