Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- --loop forever - terminate with ctrl-t
- print("Nuclear monitoring system")
- while true do
- os.pullEvent("redstone")
- local redState=rs.getInput("back")
- local test=rs.getInput("right")
- if test == true then
- shell.run("clear")
- sleep(1)
- if redState == true then
- print("Reactor on")
- print("Reactor cooling mode: Normal")
- print("Reactor temperature: Normal")
- else
- print("Reactor off")
- print("Reactor cooling mode: Low")
- print("Reactor temperature: Normal")
- end
- else
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement