Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("x: ")
- local x = read()
- print("y: ")
- local y = read()
- print("z: ")
- local z = read()
- z = math.ceil(z/2)
- local ix = 0
- local iy = 0
- local iz = 0
- local ii = 0
- local block = turtle.inspectDown()
- print(block)
- turtle.refuel()
- for iz = 0, z - 1 do
- for ix = 0, x - 1 do
- turtle.digUp()
- turtle.dig()
- turtle.forward()
- end
- ix = 0
- for iy = 0, y - 2 do
- turtle.refuel()
- turtle.getFuelLevel()
- if ii % 2 == 0 then
- turtle.turnRight()
- turtle.digUp()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- else
- turtle.turnLeft()
- turtle.digUp()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- end
- ii = ii + 1
- for ix = 0, x - 1 do
- turtle.digUp()
- turtle.dig()
- turtle.forward()
- end
- ix = 0
- end
- iy = 0
- turtle.up()
- turtle.digUp()
- turtle.up()
- turtle.turnRight()
- turtle.turnRight()
- end
- block = turtle.inspectDown()
- while not(block) do
- block = turtle.inspectDown()
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement