Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inputs = {}
- print("Please Input the current y level")
- inputs.y = tonumber(io.read())
- y = inputs.y
- print("Please input the amount of Rows")
- inputs.rows = tonumber(io.read())
- rows = inputs.rows
- print("Please input the amount of Collums")
- inputs.collumns = tonumber(io.read())
- collumns = inputs.collumns
- print("Starting")
- turtle.refuel()
- --dig down pillar
- function digdown()
- print("digdown")
- repeat
- y = y - 1
- if turtle.digDown() == false then
- y = y - 1
- break;
- end
- turtle.down()
- print(y.." down")
- until y == -64
- repeat
- os.sleep(1)
- turtle.up()
- y = y + 1
- print(y.." up")
- until y == inputs.y
- end
- digdown()
- turtle.forward()
- digdown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement