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

Mekanism Gas Tanks

Question

I tried putting an Adapter next to one of Mekanism's Gas Tanks with the hope of reading out the current and max values, however it only seems to support the inventory slots the tank has, not the gas levels.

 

Am I going about this wrong? (This is my first day with OpenComputers.)

 

As a stop-gap solution, I put a comparator on the tank and used the Adapter on that. This way I do at least get a very low resolution indication of the tank's level, but I'd much prefer to get the actual value. The comparitor resolution is so low, even my character-based level display adds five characters per value chage. (The bar is 75 wide, so the difference between any two reading is 5.)

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

If the tank doesn't use Forge's usual interface for fluids then yeah, that won't work. You could give throwing in Computronics and/or OpenPeripheral a shot, maybe those already have integration for that. If not, feel free to open an issue on Github (on OC's repo that is, for requestion that integration).

Link to post
Share on other sites
  • 0

Hi Sangar..

 

You say that OpenComputers does not have the ability to read Gas Tanks from Mekanism.. But the code is already integrated into OC in the Integration section..

link.. So how come is does not work...

 

By the way..

Thanks for a very awesome MOD..!! Love is.. OC over CC any time..! And I have been a CC user for a long time before I laid my eyes on OC..

Never going back.. :-)

Link to post
Share on other sites
  • 0

That converter is only for component methods returning GasStacks, it doesn't handle blocks "containing" those. Would probably need to add a driver for 'GasHandlers' or whatever the API for that is; if that's not already in Computronics already anyway?

 

Happy to hear you like OC :)

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