Advertisement
fusty

ReactorControl Startup

Nov 26th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. --[[
  2. Programmer: Lolmer
  3. Last update: 2014-02-28
  4. Pastebin: http://pastebin.com/ZTMzRLez
  5.  
  6. Description:
  7. This program controls a Big Reactors nuclear reactor
  8. in Minecraft with a Computercraft computer, using Computercraft's
  9. own wired modem connected to the reactors computer control port.
  10.  
  11. Save this file as "startup" on your computer for it to auto-start on Computer boot.
  12. To easily get this file into your Computercraft Computer, run the following after right-clicking on your Computercraft computer (includes prompts).
  13. > rm startup
  14. > lua
  15. lua> shell.run("pastebin", "get", "ZTMzRLez", "startup")
  16.  
  17. Requirements:
  18. Advanced Monitor size is X: 29, Y: 12 with a 3x2 size
  19. Computer or Advanced Computer
  20. Modems (not wireless) connecting each of the Computer to both the Advanced Monitor and Reactor Computer Port.
  21.  
  22. This script is available from:
  23. http://pastebin.com/ZTMzRLez
  24. https://github.com/sandalle/minecraft_bigreactor_control
  25. And is used to control the following script:
  26. http://pastebin.com/fguScPBQ
  27. Other reactor control which I based my program on:
  28. http://pastebin.com/aMAu4X5J (ScatmanJohn)
  29. http://pastebin.com/HjUVNDau (version ScatmanJohn based his on)
  30. A simpler Big Reactor control is available from:
  31. http://pastebin.com/tFkhQLYn (IronClaymore)
  32.  
  33. Advanced Monitor size is X: 29, Y: 12 with a 3x2 size
  34. ]]--
  35. os.setComputerLabel("ReactorControl")
  36.  
  37. -- Remove any prior, possibly old, versions of "reactorcontrol"
  38. shell.run("rm", "reactorcontrol")
  39. -- Download http://pastebin.com/ViPgMJvW and name "reactorcontrol"
  40. shell.run("pastebin", "get", "ViPgMJvW", "reactorcontrol")
  41.  
  42. shell.run("reactorcontrol")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement