Jump to content




Turtle Extended API - Extended identification, Dig/Place blacklist, Position Awareness, and more! v0.2


1 reply to this topic

#1 Wojbie

  • Members
  • 631 posts
  • LocationKinda lost

Posted 04 March 2015 - 12:19 AM

Turtle Extended API - Extended identification, Dig/Place Blacklist, Position Awareness, Extra Movement, Small Additions v0.2

Turtle Extended API is something i am working on and off for my turtles. It contains few things i always need from turtle no matter what program i am making so why not make it an API?

This is still Work In Progress however #Tag system , blacklist and other additions are working and finalized so i decided to post it for other people to play with.

Download Here: http://pastebin.com/X8NEcEVy
Or ingame using command:
pastebin get X8NEcEVy exturtle

Features List:
  • Extended block and item identification by use of #Tag system
  • Blacklist for placement/digging
  • Positional awareness and tracking of its own position
  • Enchantments to many turtle functions
  • Basic Goto implementation
Planned Features
  • Pathfinding
Methods:
Spoiler


Notes:
  • Api is written in the way that allows replacement of basic turtle api. Simplay save it as turtle file and use os.loadAPI("turtle") to make that happen. This will cause all programs on turtle to use my API. Functions not modified by api are copied direclty from old turtle api.
  • This is work in progress api. Many sanity checks are missing. Please still reports errors you see if you see them.
  • This is by Slow Burn project. I am working on it when i get idea or run out ideas for other ones. Updates will be far between.
  • Everything is a subject to change and documentation my sometimes be wrong. This is still active project.

Edited by wojbie, 04 March 2015 - 12:24 AM.


#2 TVdata

  • Members
  • 5 posts

Posted 30 December 2015 - 09:42 PM

It says "Unkown Position". If it's supposed to work like that, you should change it because gps.locate() returns correct position.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users