Advertisement
Machuga14

ComputerCraft FTB Infinity Skyblock build platform

Apr 30th, 2016
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.40 KB | None | 0 0
  1. -- ***WIP*** Not complete (as of 4/30/2016)
  2. --    Currently, this program will do... basically nothing... I'm working on it and testing it right now.
  3. --        (Literally, I'm on it right now at 4/30/2016 at 3:02 AM)
  4. -- ComputerCraft Custom Turtle program
  5. -- I wrote this for a Skyblock Feed The Beast Infinity map,
  6. -- to have a turtle expand our platform "infinitely".
  7. -- We have a location that is defined at the top of the file which contains
  8. -- A chest that automatically refuels itself with charcoal,
  9. -- and another location that constantly refuels itself with cobblestone.
  10. -- I have the "entry" to the chest take two phases;
  11. -- I have an initial point to begin the entry to the chest,
  12. -- and a secondary point to begin the final entry to the chest.
  13. -- Additional Note: These turtlebots are intended to travel between locations by traveling to a large Y-Value,
  14. -- And then "Dropping down" onto their target destination. They are not intended to do much advanced pathfinding,
  15. -- And will require a basicly clear path in the sky. You can, however, customize where they drop into / out of the target destination,
  16. -- And how high they will travel while in "transit" (look at transitY)
  17. -- Custom APIs:
  18. --     API Name: "tst" - Turtle Self Tracking
  19. --     http://pastebin.com/2Wk9RVTK
  20. --     This API functions as a homemade GPS, where you need to initialize the start location of the Turtle Bot,
  21. --     And any function calls to move the turtle Bot through this API update the internal GPS.
  22. --     Allowing you to avoid constructing a GPS bot.
  23. --     This API was originally snatched from a craftbukkit wiki page,
  24. --     but I have modified it extensively (and fixed many bugs)
  25. --
  26. --     API Name: "bpu" - Build Platform utilities
  27. --     http://pastebin.com/mvCwZ4av
  28. --     This API provides utilities for traveling between coordinates in the game,
  29. --     as well as the ability to travel back and forth between the robot's current location, and the refuel depot.
  30.  
  31. -- API Loads
  32. os.loadAPI("MatthewC/tst") -- Replace this with the location of your API. I called it TST, but you can call it whatever you want.
  33. -- Just Note that you should rename all references to "tst" to your new name.
  34.  
  35. os.loadAPI("MatthewC/bpu") -- Replace this with the location of your API. I called it bpu, but you can call it whatever you want.
  36. -- Just note that you should rename all references to "bpu" to your new name.
  37.  
  38. bpu.buildPlatform()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement