Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("front")
- while true do
- info=p.getInfo()
- term.clear()
- term.setCursorPos(1,1)
- term.write(info.contents.amount)
- item=p.getStackInSlot(1)
- if item~=nil then
- if item.display_name=="Blank Slate" then
- turtle.suck()
- end
- else
- turtle.drop()
- end
- sleep(1)
- end
Add Comment
Please, Sign In to add comment