Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local reactor = peripheral.find("fissionReactorLogicAdapter")
- -- Drag-and-drop this file on the activated computer monitor, it will copy the file in the main directory, then just call the program writing in the shell: "reactor_simple_control.lua"
- -- Here's the setup
- -- You just have to connect with one wired modem the reactor logic port to the computer (another wired modem)
- -- Remember to activate both modems right-clicking them to red (and "connected to network" message in chat)
- while true do
- if reactor.getStatus() == true then
- if reactor.getTemperature() > 1173,15 then
- reactor.scram()
- end
- end
- os.sleep(0.5)
- end
Add Comment
Please, Sign In to add comment