-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathlolmer_bigreactor_startup.lua
43 lines (36 loc) · 1.66 KB
/
lolmer_bigreactor_startup.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--[[
Programmer: Lolmer
Last update: 2014-02-28
Pastebin: http://pastebin.com/ZTMzRLez
GitHub: https://github.com/sandalle/minecraft_bigreactor_control
Description:
This program controls a Big Reactors nuclear reactor
in Minecraft with a Computercraft computer, using Computercraft's
own wired modem connected to the reactors computer control port.
Save this file as "startup" on your computer for it to auto-start on Computer boot.
To easily get this file into your Computercraft Computer, run the following after right-clicking on your Computercraft computer (includes prompts).
> rm startup
> lua
lua> shell.run("pastebin", "get", "ZTMzRLez", "startup")
Requirements:
Advanced Monitor size is X: 29, Y: 12 with a 3x2 size
Computer or Advanced Computer
Modems (not wireless) connecting each of the Computer to both the Advanced Monitor and Reactor Computer Port.
This script is available from:
http://pastebin.com/ZTMzRLez
https://github.com/sandalle/minecraft_bigreactor_control
And is used to control the following script:
http://pastebin.com/fguScPBQ
Other reactor control which I based my program on:
http://pastebin.com/aMAu4X5J (ScatmanJohn)
http://pastebin.com/HjUVNDau (version ScatmanJohn based his on)
A simpler Big Reactor control is available from:
http://pastebin.com/tFkhQLYn (IronClaymore)
Advanced Monitor size is X: 29, Y: 12 with a 3x2 size
]]--
os.setComputerLabel("ReactorControl")
-- Remove any prior, possibly old, versions of "reactorcontrol"
shell.run("rm", "reactorcontrol")
-- Download http://pastebin.com/fguScPBQ and name "reactorcontrol"
shell.run("pastebin", "get", "fguScPBQ", "reactorcontrol")
shell.run("reactorcontrol")