In the new version of GT\OC you need to add up all the cells individually. This code is for a 16 cell buffer, but can be easily modified. (might work as is with a smaller one, I haven't tried)
You will need to put an adapter with an inventory controller on top of your GT Battery buffer. You could put the inventory somewhere else and modify the code to the new "side" but this code has the controller on top.
The version of OC I am using is part of Beyond Reality and the OC crafting recipies are broken at the moment and I can't craft tier 2 or tier 3 cases so there is no color. Adding color should be relatively easy though.
Greg Tech Power Display
in Programs
Posted
Rewrite of Suterusu's code for new version of GT\OC
DISCLAIMER: I am a crap lua coder. This code may be somewhat longhand and inefficient (but it works!). Feel free to refactor and re-post.
http://pastebin.com/JmFQh4qi
In the new version of GT\OC you need to add up all the cells individually. This code is for a 16 cell buffer, but can be easily modified. (might work as is with a smaller one, I haven't tried)
You will need to put an adapter with an inventory controller on top of your GT Battery buffer. You could put the inventory somewhere else and modify the code to the new "side" but this code has the controller on top.
The version of OC I am using is part of Beyond Reality and the OC crafting recipies are broken at the moment and I can't craft tier 2 or tier 3 cases so there is no color. Adding color should be relatively easy though.
-RW