
tree
By: a guest on
Jan 4th, 2013 | syntax:
Lua | size: 0.45 KB | hits: 21 | expires: Never
for u=1,55 do
local i = 1
turtle.select(1)
turtle.place()
sleep(1)
turtle.select(2)
turtle.place()
sleep(1)
for i=1,10 do
turtle.dig()
turtle.digUp()
turtle.up()
print("Chooped a layer")
end
for o=1,10 do
turtle.down()
end
print("Tree chooped down, depositing wood...")
turtle.turnLeft()
turtle.turnLeft()
turtle.select(4)
turtle.drop()
turtle.select(3)
turtle.drop()
turtle.turnLeft()
turtle.turnLeft()
print("Finished")
end