Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- currentSlot = 1
- function selectFull()
- turtle.select(currentSlot)
- if turtle.getItemCount(currentSlot) == 0 then
- if currentSlot == 16 then
- turtle.select(1)
- currentSlot = 1
- else
- currentSlot = currentSlot + 1
- end
- end
- end
- while true do
- if turtle.detectDown() == false then
- turtle.placeDown()
- end
- selectFull()
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement