Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
SubThread

Drone Tree Farmer

Recommended Posts

Drone Tree Farmer

dXVk1wA.png

 

- Introduction -
This is an automatic tree farmer script for drones harvesting spruce wood in king size (2x2).
Just place a chest next to the drone and 8 or more saplings in the first slot and it should be be able to go on forever.
No coal is needed, no charge pads, the solar panel upgrade will power the drone.
This is not the fastest way to get wood, but it's pretty cheap, easy setup and doesn't need maintenance.

 

Built for: OpenComputers-MC1.10.2-1.6.2.7,  Lua 5.2. 
Also works on OpenComputers-MC1.7.10-1.6.2.12-universal,  Lua 5.2, other than the beep sound is weird.
Should work for newer versions too!

- Requirements -
* A working computer of any tier, to flash EEPROMs.
* A drone (tier 1) with: cpu, ram, solar and inventory upgrade.
* 8 or more Spruce saplings. Jungle trees are partly supported, it could work but branches will be left alone.
* A chest or similar is recommended.
* An empty EEPROM.

- Usage -
 

Part A - Flashing
1. Start up a computer with an internet card in it.
2. Replace the Lua EEPROM with an empty one.
3. Right click the computer screen and type (or paste):

pastebin get kSjuz992 bios && flash bios

4. Follow the instructions and when done - take out your newly flashed EEPROM.

 

Part B - Making the drone

recipe.png
1. Grab a Drone Case Tier 1 and place it in the Assembler.
2. Add T1 cpu, ram, solar upgrade and inventory upgrade.
3. Add the flashed EEPROM. (You can also change roms later if you want)
4. Assemble away!

 

Part C - Actual work.
1. Find a flat area of dirt or grass. Remove any tall grass.
2. Place the drone so it got at least 10 blocks to the WEST of it. (Press F3 to find out where west is.)
3. Place a chest next to the drone, NORTHERN side (again F3 to find out).
4. Place 8 or more spruce saplings in the top left slot.
5. Start the drone. It should say ROM OK and get to work.
6. Grab a cup of Joe to celebrate.

inAction.png

Source code:
https://pastebin.com/kSjuz992

Disclaimer: This is my first lua script that I ever release so my code is far from good. Also, I am not a programmer, just started with this. This also got a lot of debug code in it, lack of loops, extra sleeps and what not.
Thanks to irc chat for the sleep function!

 

 

Edited by SubThread
Improved the instructions.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.