Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("[1] Mining [2] Programs")
- print("[3] Games [4] Startups")
- print("[5] PackMan [6] Farm")
- print("[A]bort")
- while true do
- local event, key = os.pullEvent("key")
- --[[ Press 1 - Mining ]]--
- if key == keys.one then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Mining!")
- print("")
- print("Downloading programs..")
- shell.run("pastebin","get","h99kPQWx","/mine/Setup")
- shell.run("pastebin","get","fVPz3ReZ","/mine/Mine")
- shell.run("pastebin","get","7QnDd2jv","/mine/Tunnels")
- shell.run("pastebin","get","1bEHWuG1","/mine/carpet.lua")
- shell.run("pastebin","get","352iVPQM","/mine/obsidian")
- shell.run("pastebin","get","ArbH6xRw","/mine/obsidian-simple")
- shell.run("pastebin","get","WPyd0KMq","/mine/stairs-dig")
- shell.run("pastebin","get","LXbGMmXN","/mine/stairs-place")
- shell.run("pastebin","get","yD5Dk8Cg","/mine/stairs-torch")
- shell.run("pastebin","get","Tk1tGUw4","/mine/stairs-stairs")
- shell.run("pastebin","get","snQ9Uujz","/mine/3x3-tunnel")
- print("Done!")
- sleep(1)
- break
- --[[ Press 2 - Programs ]]--
- elseif key == keys.two then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Programs!")
- print("")
- print("Downloading programs..")
- shell.run("pastebin","get","5Tw6K4HN","/progs/luaide-lite")
- shell.run("pastebin","get","9uDseNMG","/progs/luaide")
- shell.run("pastebin","get","PvHyLDHQ","/progs/nsh/nsh")
- shell.run("pastebin","get","b9N5dWQ8","/progs/nsh/put")
- shell.run("pastebin","get","awtr2yhw","/progs/nsh/framebuffer")
- shell.run("pastebin","get","uxwBPYZD","/progs/nsh/get")
- shell.run("pastebin","get","5vXK1NP3","/progs/npaintpro/npaintpro")
- shell.run("pastebin","get","X2H15irH","/progs/npaintpro/gameutils")
- shell.run("pastebin","get","QxHYKm3L","/progs/npaintpro/3dprint")
- print("Done!")
- sleep(1)
- break
- --[[ Press 3 - Games ]]--
- elseif key == keys.three then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Games!")
- print("")
- print("Downloading programs..")
- shell.run("pastebin","get","Dgjuyvi4","/games/clicker")
- shell.run("pastebin","get","rwFDvnkA","/games/tictactoe")
- shell.run("pastebin","get","zEXWz4iu","/games/gameoflife")
- shell.run("pastebin","get","UZLy8QLx","/games/battleship")
- shell.run("pastebin","get","1hEU5n1H","/games/maze3d")
- shell.run("pastebin","get","GBLA1RgW","/games/maze2d")
- shell.run("pastebin","get","sVkMMBHR","/games/TheButton/TheButton")
- shell.run("pastebin","get","iPieA3qa","/games/TheButton/Autoplay")
- shell.run("pastebin","get","YTq6jJ7r","/games/TheButton/info")
- print("writing nfp images for TheButton /games/TheButton/num/...")
- shell.run("pastebin","run","g79WppbL")
- print("Done!")
- sleep(1)
- break
- --[[ Press 4 - Startups ]]--
- elseif key == keys.four then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Startups!")
- print("")
- print("Downloading programs..")
- shell.run("pastebin","get","WTqPxYv6","/start/passT")
- shell.run("pastebin","get","b2JBQgbM","/start/passPC")
- shell.run("pastebin","get","5f43CK8K","/start/passDoor")
- print("Done!")
- sleep(1)
- break
- --[[ Press 5 - Packman Installer ]]--
- elseif key == keys.five then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Grab-PackMan!")
- print("")
- print("installing..")
- sleep(1)
- shell.run("pastebin","run","4zyreNZy")
- break
- --[[ Press 6 - Farming ]]--
- elseif key == keys.six then
- term.clear()
- term.setCursorPos(1,1)
- print("AddOn Installer")
- print("Farming!")
- print("")
- print("Downloading programs..")
- shell.run("pastebin","get","dUbFkQHB","/farm/wheat")
- shell.run("pastebin","get","k3rfN0Ru","/farm/bigtree")
- shell.run("pastebin","get","U1rAYspp","/farm/sugarcane")
- print("Done!")
- sleep(1)
- break
- elseif key == keys.a then
- print("aborted!")
- sleep(1)
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement