turtle is an api availiable on Turtles, which controls their movement.
Functions in the Turtle API:
turtle.forward()
turtle.back()
turtle.up()
turtle.down()
turtle.turnLeft()
turtle.turnRight()
turtle.select( slotNum )
turtle.getItemCount( slotNum )
turtle.getItemSpace( slotNum )
turtle.dig()
turtle.digUp()
turtle.digDown()
turtle.place()
turtle.placeUp()
turtle.placeDown()
turtle.attack()
turtle.attackUp()
turtle.attackDown()
turtle.detect()
turtle.detectUp()
turtle.detectDown()
turtle.compare()
turtle.compareUp()
turtle.compareDown()
turtle.compareTo( slotNum )
turtle.transferTo( slotNum, [quantity] )
turtle.drop( [quantity] )
turtle.dropUp( [quantity] )
turtle.dropDown( [quantity] )
turtle.suck()
turtle.suckUp()
turtle.suckDown()
turtle.getFuelLevel()
turtle.refuel( [quantity] )
turtle.craft( [quantity] ) (requires Crafty Turtle)

Events fired by the Turtle API:
"turtle_inventory" when any of the items in the inventory are changed. Use comparison operations to inspect the changes.
