Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Saddamo

IC2 reactor status

Recommended Posts

Hello everybody,

I want to share my program for monitoring IC2 reactor

 

code:

https://github.com/SaddamoDeBeers/OpenComputers/blob/master/IC2/ic2statusV8.lua

 

this is my first program I wanted to share, it has a minor bug, when displaying temperature. If temperature is 0 - 999 degrees aligment is not right as it should be, same with EU output.

Feel free to use and comment my noob mistakes.

Thank you very much for reading

 

 

 

2017-09-01_02.09.23.jpg

Link to post
Share on other sites

Very good program, but is there any way to include a safety stop? If you power on the reactor by including a redstone i/o and when the core temp reaches 70% the oc automaticly turns off the redstone i/o? 

example

if reactor.getHeat() >= 7000 then

redstone.setOutput(1, 0)

else

redstone.setOutput(1, 1)

end 

 

my programming skills are 0 so this script probably won’t work but i hope you get my question

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.