First of all I would like to start of with saying that I am new to LUA.
I am trying to make a small program that will get some basic information from a Big Reactor, but as this is my first program it is progressing slowly and I was hoping that the community here can help me a bit.
Quick explanation: -#-# and #+# will be buttons to increase decrease the value by 10 -Set all will be to buttons to set all rods to that value
-############## will be a a bar giving a visual representation of how full the power storage is
I am having a hard time making the buttons. I have been looking around but I could not find any information about how to make them.
Also I am open for suggestions if something in the code can be done better, since I am learning some of it might look like it was coded with a crowbar.
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.
First of all I would like to start of with saying that I am new to LUA.
I am trying to make a small program that will get some basic information from a Big Reactor, but as this is my first program it is progressing slowly and I was hoping that the community here can help me a bit.
Quick explanation:
-#-# and #+# will be buttons to increase decrease the value by 10
-Set all will be to buttons to set all rods to that value
-############## will be a a bar giving a visual representation of how full the power storage is
I am having a hard time making the buttons. I have been looking around but I could not find any information about how to make them.
Link to the file on github:
https://github.com/Lumandrill/OpenComputers/blob/master/BigReactors/BigReactors.lua
Also I am open for suggestions if something in the code can be done better, since I am learning some of it might look like it was coded with a crowbar.
Link to post
Share on other sites