Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sindex = 2
- local hasGlowStone = false
- while true do
- while turtle.getFuelLevel() < 500 do
- turtle.refuel(1)
- end
- turtle.turnLeft()
- turtle.dig()
- while hasGlowStone == false do
- turtle.select(sindex)
- local data = turtle.getItemDetail(sindex)
- print("Item name: ", data.name)
- if data.name == "ExtraUtilities:color_lightgem" then
- hasGlowStone = true
- else
- sindex = sindex + 1
- end
- end
- turtle.place(sindex)
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- hasGlowStone = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement