So, after some work, I have finally got to the stage where I can publish my Improved Turtle API.
It still uses the same functions, but instead of repeating the functions you put the amount of times you want to complete the actions in the brackets. (e.g: turtle.forward(5), turtle.back(5), etc)
Download the file from Pastebin: http://pastebin.com/w7DnM2Rt.
Do you like this API? Want to keep updated with all the new versions/updates?
Edit the turtle's startup file and put the following code at the top of the code:
local response = http and http.get("http://pastebin.com/raw.php?i=w7DnM2Rt")
if response then
if fs.exists("/apis/turtle")
fs.delete("/apis/turtle")
end
local handle = fs.open("/apis/turtle","w")
handle.write(response.readAll())
handle.close()
response.close()
end
os.loadAPI("/apis/turtle")
Got any suggestions? Found any bugs? Comment below and I shall read them when I can.
- ZiR
EDIT: Added the file to Pastebin and created an auto-updater.
Edited by _zircon_, 25 July 2015 - 03:29 PM.












