Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = turtle
- local function sweep(x)
- for i = 1, x do
- t.forward()
- t.digDown()
- end
- end
- local function row2()
- t.turnRight()
- t.forward()
- t.turnRight()
- end
- local function row3()
- t.turnLeft()
- t.forward()
- t.turnLeft()
- end
- local function depositLoop()
- t.select(1)
- t.dropDown()
- os.sleep(800)
- end
- local function gotoHome()
- -- need block#'s --
- sweep(x)
- row2()
- sweep(x)
- row(3)
- sweep(x)
- -- goto home function here --
- depositLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement