Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- code used to import all (or select choice) libraries to complete a job
- function import(ID, name)
- local pastebinID = ID
- local scriptFileName = name .. ".lua" -- Change this to the desired filename
- -- Download the script from Pastebin
- local response = http.get("https://pastebin.com/raw/" .. pastebinID)
- -- Check if the download was successful
- if response then
- -- Read the contents of the script
- local scriptContent = response.readAll()
- response.close()
- -- Open a file on the turtle's file system and write the script content to it
- local file = fs.open(scriptFileName, "w")
- file.write(scriptContent)
- file.close()
- print("Script downloaded and saved as " .. scriptFileName)
- else
- print("Failed to download script from Pastebin")
- end
- end
- function loadBuildFunctions()
- import("9msrt82j", "createConcrete")
- import("zCJGjK4q", "buildSupport")
- import("n5jujFA1", "buildTower")
- import("qyemJJGw", "predictSupport")
- import("S34iHEKx", "fillBlock")
- end
- function loadBasicFunctions()
- import("L7fFQb7x", "userInput")
- import("X1ch3aiN", "getTurtleFuel")
- import("er0pq47H", "turtleRefuel")
- import("im9b2czg", "setNorth")
- end
- function loadBasicQuarry()
- import("TUN2J3cN", "predictSimpleQuarry")
- import("172twws3", "simpleQuarry")
- import("FgcnJWmH", "manualQuarry")
- import("yk8MCctB", "manualQuarryShaft")
- import("9FTwRmF1", "turtleForward")
- import("hV6x6tNr", "smartManualQuarry")
- end
- function loadBasicMovement()
- import("MdxeX0DF", "predictPath")
- import("j8myFUbq", "turtleToCords")
- import("68wFPyAZ", "turtleManualOneTrip")
- import("HmgeTs3x", "turtleManualRoundTrip")
- end
- function loadUtility()
- import("Qps5qT3b", "turtleChest")
- import("H1w4vh0f", "turtleGetLava")
- import("gba1J02L", "findBlocks")
- end
- function loadCarePackage()
- import("Qps5qT3b", "turtleChest")
- import("MdxeX0DF", "predictPath")
- import("gba1J02L", "findBlocks")
- import("GkQxd6Hm", "turtleOneTrip")
- import("j8myFUbq", "turtleToCords")
- import("L7fFQb7x", "userInput")
- import("X1ch3aiN", "getTurtleFuel")
- import("6scCnqK7", "turtleCarePackage")
- import("im9b2czg", "setNorth")
- end
- function loadAll()
- loadBuildFunctions()
- loadBasicFunctions()
- loadBasicQuarry()
- loadBasicMovement()
- loadUtility()
- loadCarePackage()
- end
- function loadRental()
- import("TUN2J3cN", "predictSimpleQuarry")
- import("172twws3", "simpleQuarry")
- import("FgcnJWmH", "manualQuarry")
- import("yk8MCctB", "manualQuarryShaft")
- import("9FTwRmF1", "turtleForward")
- import("jiYE76jD", "turtleRental")
- loadBasicFunctions()
- --also pastebin get fFiABipV startup
- end
- function loadGames()
- --suika game:
- --wget run https://pinestore.cc/d/32
- --fruit Ninja:
- --wget run https://pinestore.cc/d/5
- --Rubik's Cube:
- --wget run https://pinestore.cc/d/4
- --DOOM:
- --wget run https://pinestore.cc/d/1
- --Battleship:
- --wget run https://pinestore.cc/d/36
- --Tetris:
- --wget https://github.com/LDDestroier/CC/raw/master/ldris.lua
- end
- loadAll()
- --OS System:
- --pastebin get m342HLd6 startup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement