Jump to content

Recommended Posts

Posted

Is there a way to monitor the amount of RF in a Redstone Energy Cell with computercraft? I tried a power sensor, but it doesn't seem to work with thermal expansion 3. Any work arounds?

Posted

open peripherals is part of tekkit IIRC, which means you can access things like TE energy cells directly as peripherals.  just did this the other day myself to control turning my big reactors reactor on/off when needed.

Posted
cell = peripheral.wrap(SIDE)
power = cell.getEnergyStored("")
capacity = cell.getMaxEnergyStored("")

I don't know why, but the "" thing as parameter is (was ?) required

Posted

it wants a side in that slot.  not 100% sure why though.  in my little script I just gave it the side the peripheral was on ("bottom" in this case).  seems to work fine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...