Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ###########################
- -- auto_craft
- -- version 0.1.1
- -- http://hevohevo.hatena.com/
- -- ###########################
- -- functions
- function dropItems(begin_slot, end_slot)
- print('drop items: slots ',begin_slot,'-',end_slot)
- for i=begin_slot, end_slot do
- turtle.select(i)
- turtle.dropDown()
- end
- turtle.select(1)
- end
- -- ###########################
- -- main
- dropItems(1,16)
- while true do
- turtle.select(1)
- if turtle.suckUp() == false then break end
- if turtle.craft() == false then break end
- dropItems(1,2)
- end
- dropItems(1,16)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement