Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function find_slot()
- for i = 1, 16 do
- if turtle.getItemCount(i) > 0 then
- turtle.select(i)
- return
- end
- end
- end
- while true do
- repeat sleep(0.1) until not turtle.detect()
- find_slot()
- turtle.place()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement