Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if turtle.getFuelLevel() == 0 then
- turtle.select(1)
- turtle.refuel(4)
- end
- local fuel = turtle.getFuelLevel()
- print("fuel:"..tostring(fuel))
- local function PutLine(wl)
- for i=1, tonumber(wl) do
- if not turtle.detectDown() then
- print("place")
- turtle.placeDown()
- else
- print("skip")
- end
- turtle.forward()
- end
- end
- turtle.select(2)
- turtle.forward()
- PutLine(11)
- turtle.turnRight()
- PutLine(5)
- turtle.turnRight()
- PutLine(11)
- turtle.turnRight()
- PutLine(5)
- turtle.turnRight()
- turtle.back()
Advertisement
Add Comment
Please, Sign In to add comment