Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = "Receiving"
- local version = "1.0a"
- local function doScreen(txt)
- term.clear()
- term.setCursorPos(1,1)
- print(name.." (v"..version..")")
- print("------------------------------")
- print(txt)
- end
- local function isTrash()
- for i=5,16 do
- if turtle.compareTo(i) then return true end
- end
- return false
- end
- while true do
- if turtle.suckUp() then
- if isTrash() then
- turtle.dropDown()
- else
- turtle.drop()
- end
- else
- turtle.sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment