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

Looking for help making my first OC program

Question

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.

br.png

 

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

2 answers to this question

Recommended Posts

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
Answer this question...

×   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.