Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blocks = 0
- rows = 0
- while true do
- --Row 1/2
- oneTwoRow()
- --Row 3/4
- oneTwoRow()
- --Row 5/6
- oneTwoRow()
- --Drop off
- dropOff()
- end
- function row()
- for i = 1, 13 do
- turtle.digDown()
- turtle.forward()
- end
- function oneTwoRow()
- row()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- row()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- end
- function dropOff()
- --Go back
- turtle.turnRight()
- for i = 1, 20 do
- turtle.forward()
- end
- --Deposit
- for i = 16,1,-1 do
- turtle.select(i)
- turtle.drop()
- end
- --Turn around
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- --TODO: Update info
- end
- function update()
- term.Clear()
- term.setCursorPos(1, 1)
- term.write("(C) Chipperyman573 2013\n\nTotal rows mined: "..rows.."\nTotal melon blocks mined: "..blocks".")
- end
Advertisement
Add Comment
Please, Sign In to add comment