Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local width = 40
- local length = 60
- local height = 5
- local curHeight = 0
- while curHeight < height do
- local curWidth = 0
- while curWidth < width do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- curWidth = curWidth + 1
- end
- turtle.turnLeft()
- local curLength = 0
- while curLength < length do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- curLength = curLength + 1
- end
- turtle.turnLeft()
- local curWidth = 0
- while curWidth < width do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- curWidth = curWidth + 1
- end
- turtle.turnLeft()
- local curLength = 0
- while curLength < length do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- curLength = curLength + 1
- end
- turtle.turnLeft()
- turtle.up()
- curHeight = curHeight + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment