Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------
- -- SafeReactor - a Big Reactors control program
- -- by Kai Kikuchi
- -- version: 0.23 - (BETA - STILL IN DEVELOP)
- --
- -- Source code: http://pastebin.com/7M3hziBV
- -- Sample screenshot: https://imgur.com/higRKAX
- -- OpenComputers WIP: http://pastebin.com/k40ktpxK
- --
- -- This program manages a Big Reactors reactor (both passive and active)
- -- and turbines, making it very fuel efficient
- --
- -- How to install on ComputerCraft:
- -- - type: pastebin run nPwUtAHc
- -- - press Enter
- ----------------------
- term.clear()
- term.setCursorPos(1,1)
- print("SafeReactor - by Kai")
- print("This software is on develop and may contain bugs")
- print("Press Enter to install this software...")
- local r=io.read()
- print("Installing...")
- fs.delete("/sr")
- shell.run("pastebin","get","7M3hziBV","/sr")
- local startup=io.open("/startup", "w")
- startup:write("shell.run(\"/sr\")")
- startup:close()
- if shell.getRunningProgram() == "disk/setup" then
- print("Setup disk will be ejected...")
- sleep(1)
- disk.eject(fs.getDrive(shell.getRunningProgram()))
- end
- print()
- print("Rebooting...")
- print()
- sleep(1)
- shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment