Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function refuel()
- turtle.select(2)
- turtle.placeDown()
- turtle.suckDown()
- turtle.refuel()
- turtle.dropDown()
- turtle.dig()
- turtle.select(1)
- end
- function bonemeal()
- if turtle.getFuelLevel() < 10 then
- refuel()
- end
- if turtle.getItemCount(16) == 64 then
- cocoa()
- end
- turtle.place()
- if turtle.getItemCount(1) < 1 then
- bonemeal2()
- end
- end
- function bonemeal2()
- turtle.up()
- turtle.forward()
- if turtle.suck() == true then
- turtle.back()
- turtle.down()
- turtle.select(1)
- end
- while turtle.suck == false do
- turtle.suck()
- end
- end
- function cocoa()
- turtle.down()
- for i = 3,16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.up()
- turtle.select(1)
- end
- while true do
- bonemeal()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement