Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- while turtle.forward() do
- local success, data = turtle.inspectDown()
- print("Waiting for it To grow")
- if success then
- if data.metadata == 7 then
- turtle.digDown()
- turtle.select(1)
- for i = 1, 9, 1 do
- local d1 = turtle.getItemDetail(i)
- if d1 then
- if d1.name == "extrautils2:enderlilly" then
- turtle.select(i)
- turtle.placeDown()
- end
- end
- end
- end
- end
- end
- local success, data = turtle.inspect()
- if data.name == "minecraft:chest" then
- for i = 1, 9, 1 do
- turtle.select(i)
- turtle.dropDown(64)
- end
- if turtle.getFuelLevel() < 200 then
- turtle.suck(64)
- turtle.refuel(64)
- end
- os.sleep(400)
- end
- turtle.turnRight()
- turtle.turnRight()
- end
Add Comment
Please, Sign In to add comment