This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
syseQ's profile picture

[ ComputerCraft 1.6 => ] Turtle Shorten Commands - Make turtle apps faster and easier!

Started by syseQ, 15 June 2014 - 09:55 AM
syseQ #1
Posted 15 June 2014 - 11:55 AM
Hey everyone, syseQ here, and I have a new API that I created. It's Turtle Shorten Commands!

PASTEBIN LINK: http://pastebin.com/VYjqQd1s

COMPUTERCRAFT DOWNLOAD COMMAND: pastebin get VYjqQd1s

All the code for this API I wrote myself, only Turtle API is by ComputerCraft team.

EXAMPLES:

Builds a 1x2 rectangular cube from block inserted to slot 2.

os.loadApi("turtleShortenCommands")
sel(1)
refuel(1)
sel(2)
place()
l()
fwd()
r()
place()
l()
fwd()
r()
up()
place()
r()
fwd()
l()
place()
up()
fwd()
pdwn()
l()
fwd()
pdwn()
r()
fwd()
down()
down()


More examples soon!

[right]Cheers - syseQ/sysPL[/right]
Lyqyd #2
Posted 15 June 2014 - 12:01 PM
Locked. Please don't post untested code.