Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = peripheral.wrap("front")
- local i
- local function retrive()
- for i = 1,7 do
- turtle.suck()
- end
- end
- local function test()
- turtle.turnLeft()
- for i = 1,7 do
- turtle.select(i)
- turtle.drop()
- if a.isBee() then
- turtle.suck()
- else
- turtle.suck()
- turtle.dropDown()
- end
- end
- end
- retrive()
- test()
- print(a.isBee())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement