Jump to content




Tortoise API


  • You cannot reply to this topic
4 replies to this topic

#1 Wired2coffee

  • Members
  • 46 posts
  • LocationThe Coffee Maker

Posted 29 February 2012 - 03:53 AM

Will not mess up if it hits with obstacles!

Load it as if it were any other API!

Want to download it from a pastebin downloader? No problem!
http://pastebin.com/qURqLBp7


Use (API):
*Works on servers*
Use tortoise.up() instead of turtle.up() ;
Use tortoise.turnLeft() instead of turtle.turnLeft()
etc. (won't work with non-movement related turtle functions)
Tip: Refrain from back(), it doesn't work.

*NEW*
You can use tortoise.goto(x,y,z) to move to that area (if obstructed returns false).

x,y,z,d = tortoise.getXYZD() to get current coordinates. D stands for direction (north/south/east/west)
tortoise.printXYZD() to print current coordinates and direction.

Wired2coffee's Programs:
http://bit.ly/wlyKjx

What it Does:
It'll save coordinates of the turtle for later use, just use tortoise. instead of turtle.

How to set it up on your computer after API is installed:
1. Type Lua
2. Type tortoise.setUp()

Don't know how to install an API? It's simple!:
1. Go to your computercraft folder in your mods folder.
2. Go into the folder lua.
3. Go into the folder rom.
4. Drag tortoise into your apis folder!.

Spoiler

Download:

Attached Files



#2 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 01 March 2012 - 05:43 AM

Guess you never saw the Alias program?

#3 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 04 March 2012 - 02:51 AM

xD with above

It's just X,Y,Z, coordinates...

#4 Wired2coffee

  • Members
  • 46 posts
  • LocationThe Coffee Maker

Posted 04 March 2012 - 05:32 AM

View PostNoodle, on 04 March 2012 - 02:51 AM, said:

xD with above

It's just X,Y,Z, coordinates...
As well as direction facing!

#5 Zer0t3ch

  • Members
  • 33 posts
  • LocationIllinois, USA

Posted 13 March 2012 - 08:12 PM

Well I love it!!!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users