Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local FIELDSIZE = 6
- for i = 1, 16 do
- turtle.select(i)
- if turtle.refuel(0) then
- print("Slot "..i.." is valid fuel")
- turtle.refuel()
- end
- end
- function placeLandMark()
- turtle.forward()
- turtle.select(5)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.place()
- turtle.turnLeft()
- turtle.turnLeft()
- end
- function forward(count)
- for i = 1, count do
- turtle.forward()
- end
- end
- function reposition()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- function placeQuary()
- turtle.select(3)
- turtle.place()
- end
- function nextRun()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- end
- function PLACE()
- placeLandMark()
- forward(count)
- placeLandMark()
- reposition()
- forward(count)
- placeLandMark()
- reposition()
- forward(count)
- placeLandMark()
- reposition()
- forward(count)
- placeQuary()
- end
- PLACE()
- nextRun()
- PLACE()
- nextRun()
- PLACE()
- nextRun()
- PLACE()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement