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 = cell1.getEnergyStored("cofh_thermalexpansion_energycell_7")
- stored2 = cell2.getEnergyStored("cofh_thermalexpansion_energycell_2")
- stored3 = cell3.getEnergyStored("cofh_thermalexpansion_energycell_3")
- stored4 = cell4.getEnergyStored("cofh_thermalexpansion_energycell_4")
- stored5 = cell5.getEnergyStored("cofh_thermalexpansion_energycell_5")
- stored6 = cell6.getEnergyStored("cofh_thermalexpansion_energycell_6")
- storedmax1 = cell1.getMaxEnergyStored("cofh_thermalexpansion_energycell_7")
- storedmax2 = cell2.getMaxEnergyStored("cofh_thermalexpansion_energycell_2")
- storedmax3 = cell3.getMaxEnergyStored("cofh_thermalexpansion_energycell_3")
- storedmax4 = cell4.getMaxEnergyStored("cofh_thermalexpansion_energycell_4")
- storedmax5 = cell5.getMaxEnergyStored("cofh_thermalexpansion_energycell_5")
- storedmax6 = cell6.getMaxEnergyStored("cofh_thermalexpansion_energycell_6")
- m.setCursorPos(2,2)
- m.write(tonumber(stored1).."/")
- m.setCursorPos(2,3)
- m.write(tonumber(storedmax1).." ")
- m.setCursorPos(12,2)
- m.write(tonumber(stored2).."/"..n..storedmax2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement