Jump to content




GPS Enabled Forester

turtle api

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

#1 BlackDragon

  • Members
  • 6 posts
  • LocationEngland

Posted 14 July 2012 - 04:52 PM

I couldn't find a decent Forester turtle so I made this little script. I'm currently using tekkit and works perfectly.

Features:
Uses GPS to find and locate tree spots.
Designed to be fully automated.
Simple to use.
Redstone output bottom for each log collected. @ homepoint
Redstone output behind for each sapling used. @ homepoint

Installing:
Place the BDAPI in your "ComputerCraft/lua/rom/apis/" folder
done :P/>

Simple Use:
1. Make sure you have GPS hosts so your turtle can get its position. (min 4)
2. Place your turtle inside your GPS area.
3. Place Dirt in slot 1, Saplings in slot 2 and wood(matching sapling type) in slot 3.
4. Type lua and hit return.
5. Type BDAPI.start().

Your turtle will now ask if you need to plant saplings. Hit "Y" and you will be asked if you wish to plant 8.
Either hit "Y" to accept 8 or "N" and the number your want to plant to continue.

Your turtle will now collect wood until its full or out of saplings.
If the turtle is out of saplings it will wait for you to add more. Just hit a key to continue.

Advanced setup: (fully autonomous) (tekkit)
  • Place filter at your desired home point.
  • Add a log to match the tree type.
  • Pipe it to a chest.
  • Place an ejector(or similar) behind the Start point piped to a sapling supply chest.(or full of saplings)
  • Place your turtle on the start point.
  • Type "gps locate" and get the co-ords. ( x, y, z )
  • Type edit startup
  • Type BDAPI.start(x,y,z,2,[amount to plant]) e.g. BDAPI.start(150,200,70,2,12)
  • Press control and then right and hit enter to save.
  • Place the required Items as above in Simple Use method.
  • Now reboot the Turtle.
  • Use water to funnel saplings dropped into the ejector supply chest.
  • Done.
If you download this txt file make sure you remove the .txt when placing in the API folder.

Spoiler

Attached Files



#2 MathManiac

  • Members
  • 60 posts
  • LocationWashington, United States

Posted 14 July 2012 - 04:56 PM

Great Job! :P/>

#3 Ponder

  • New Members
  • 49 posts

Posted 15 July 2012 - 06:43 PM

One thing is not really clear for me, how exactly does it refill its sapplings?

#4 BlackDragon

  • Members
  • 6 posts
  • LocationEngland

Posted 16 July 2012 - 02:33 AM

You can set up a dispenser like an ejector from the redpower mod behind the homePoint, the turtle will send out a redstone signal at the back for each sapling used between drop offs.

#5 Ponder

  • New Members
  • 49 posts

Posted 17 July 2012 - 10:47 PM

Ah, kay. Thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users