Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("back")
- m.setTextScale(1)
- cell1 = peripheral.wrap("cofh_thermalexpansion_energycell_7")
- cell2 = peripheral.wrap("cofh_thermalexpansion_energycell_2")
- cell3 = peripheral.wrap("cofh_thermalexpansion_energycell_3")
- cell4 = peripheral.wrap("cofh_thermalexpansion_energycell_4")
- cell5 = peripheral.wrap("cofh_thermalexpansion_energycell_5")
- cell6 = peripheral.wrap("cofh_thermalexpansion_energycell_6")
- stored1 = cell.getEnergyStored("cofh_thermalexpansion_energycell_7")
- stored2 = cell.getEnergyStored("cofh_thermalexpansion_energycell_2")
- stored3 = cell.getEnergyStored("cofh_thermalexpansion_energycell_3")
- stored4 = cell.getEnergyStored("cofh_thermalexpansion_energycell_4")
- stored5 = cell.getEnergyStored("cofh_thermalexpansion_energycell_5")
- stored6 = cell.getEnergyStored("cofh_thermalexpansion_energycell_6")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_7")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_2")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_3")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_4")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_5")
- storedmax1 = cell.getMaxEnergyStored("cofh_thermalexpansion_energycell_6")
- m.setCursorPos(2,2)
- m.write(tonumber(stored1).."/"..storedmax1)
- m.setCursorPos(12,2)
- m.write(tonumber(stored2).."/"..storedmax2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement