Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function destroyColumn()
- for i = 1,sysHeight do
- turtle.digUp()
- turtle.up()
- end
- for i = 1,sysHeight do
- turtle.down()
- end
- end
- function destroyRow()
- for i = 1,sysLength - 1 do
- destroyColumn()
- turtle.dig()
- turtle.forward()
- end
- destroyColumn()
- for i = 1,sysLength do
- turtle.back()
- end
- end
- function destroyMultiple()
- for i = 1,sysWidth do
- destroyRow()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- end
- turtle.up()
- turtle.placeDown()
- end
- args = {...}
- sysLength = args[1]
- sysWidth = args[2]
- sysHeight = args[3]
- destroyMultiple()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement