Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local args = {...}
- local mode = args[1]
- -- Functions
- showInfo = function()
- print(info)
- end
- setup = function()
- go()
- left()
- go()
- turtle.digDown()
- end
- start = function()
- end
- left = function()
- turtle.turnLeft()
- go()
- end
- right = function()
- turtle.turnRight()
- go()
- end
- go = function()
- turtle.forward()
- end
- -- Main
- showInfo();
- if args == "setup" then
- setup();
- else if args == "start" then
- start();
- else then
- start();
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement