Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- pastebin get sKCCJSBT mining
- -- 3hoch 1breit
- local iFackel = 8
- local iCount = 0
- local iMax = 200
- local iNow = 0
- local iPlaceOfFackel = 1
- local iFackelCount = 0
- local iFuel = turtle.getFuelLevel()
- iFackelCount = turtle.getItemCount(iPlaceOfFackel)
- while iNow <= iMax do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.digDown()
- if iCount == iFackel then
- turtle.select(placeOfFackel)
- turtle.placeDown()
- iCount = 0
- iFackelCount = iFackelCount-1
- end
- iNow = iNow+1
- if iNow%10 == 0 then
- iFuel = turtle.getFuelLevel()
- print("Fackel: ")
- print(iFackelCount)
- print("Line: ")
- print(iNow)
- print("Fual: ")
- print(iFuel)
- end
- end
- -- come home
- turtle.up()
- turtle.turnRight()
- turtle.turnRight()
- while iNow >= 0 do
- turtle.forward()
- iNow = iNow-1
- end
Advertisement
Add Comment
Please, Sign In to add comment