Advertisement
Robear9992

bootstrap

Jul 4th, 2022 (edited)
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.89 KB | None | 0 0
  1. --CC: Tweaked - Bootstrap for Create Above and Beyond
  2. --pastebin run JmhPbamn
  3.  
  4. -- shell.run("delete coord.lua")
  5. -- shell.run("delete sides.lua")
  6. -- shell.run("delete inventory.lua")
  7. -- shell.run("delete navigation.lua")
  8. -- shell.run("delete timer.lua")
  9.  
  10. -- shell.run("delete refuel.lua")
  11. -- shell.run("delete quarry.lua")
  12. -- shell.run("delete passage.lua")
  13.  
  14. -- shell.run("pastebin get FDfbWryd coord.lua")
  15. -- shell.run("pastebin get WJZ2YpA6 sides.lua")
  16. -- shell.run("pastebin get 8JaJH3g2 inventory.lua")
  17. -- shell.run("pastebin get DBMuZyEc navigation.lua")
  18. -- shell.run("pastebin get mJKJ9hYq timer.lua")
  19.  
  20. -- shell.run("pastebin get SB98ccny refuel.lua")
  21. -- shell.run("pastebin get UfndbHaX quarry.lua")
  22. -- shell.run("pastebin get xzvapSjN passage.lua")
  23. -- shell.run("pastebin get mseF1Kbc farm.lua")
  24. -- shell.run("pastebin get T1p86Kg3 storage.lua")
  25.  
  26.  
  27. local function delete(file)
  28.  
  29. end
  30.  
  31. local function download(id, file)
  32.     delete(file)
  33.     shell.run("pastebin get " .. id .. " " .. file .. ".lua")
  34. end
  35.  
  36. local function makePassthru(name)
  37.     local file = fs.open(name .. ".lua","a") -- This opens the file with the users name in the folder "saves" for appending.
  38.     local passthru = "shell.run(\"storage \"..arg[0]..\" \"..table.concat(arg,\" \"))"
  39.     file.writeLine(passthru) -- Put the real name in the file.
  40.     file.close() -- Allows the file to be opened again by something else, and stops any corruption.
  41. end
  42.  
  43. download("FDfbWryd", "coord")
  44. download("WJZ2YpA6", "sides")
  45. download("8JaJH3g2", "inventory")
  46. download("DBMuZyEc", "navigation")
  47. download("mJKJ9hYq", "timer")
  48.  
  49. download("SB98ccny", "refuel")
  50. download("UfndbHaX", "quarry")
  51. download("xzvapSjN", "passage")
  52. download("mseF1Kbc", "farm")
  53. download("T1p86Kg3", "storage")
  54. download("hn9wpSN1", "harvest")
  55. download("WVVD4F6f", "placer")
  56.  
  57. makePassthru("get")
  58. makePassthru("containers")
  59. makePassthru("store")
  60. makePassthru("find")
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement