Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.ae = testae(ae)
- Tnum = Tnum+1
- theme.primary:apply()
- m.setCursorPos(1,3)
- writeIndent(formatEnergy(round(ae.getNetworkEnergyUsage()*2,2), notation).."/t")
- writeIndent(formatEnergy(round(ae.getNetworkEnergyStored()*2,2), notation))
- m.setCursorPos(1,6)
- if lastIOTime +1 <= os.clock() then
- total = totalAEItems()
- writeIndent(total - lastTotal.." Item(s)/s")
- lastTotal = total
- lastIOTime = os.clock()
- end
- _G.Tneb[Tnum] = (ec.getInput()-ec.getOutput())*0.4
- _G.Tnet = 0
- for i = 1,#Tneb do
- _G.Tnet = Tnet+Tneb[i]
- end
- _G.Tnet = Tnet/#Tneb
- _G.Time = -round((ec.getEnergy()*0.4)/Tnet)
- m.setCursorPos(1,12)
- writeIndent(formatEnergy((ec.getInput()-ec.getOutput())*0.4, notation).."/t", 19)
- m.setTextColor(colors.lime)
- writeIndent(formatEnergy(ec.getInput()*0.4, notation).."/t", 19)
- m.setTextColor(colors.red)
- writeIndent(formatEnergy(ec.getOutput()*0.4, notation).."/t", 19)
- m.setTextColor(colors.white)
- writeIndent(formatEnergy(meter.getCounterValue(), notation))
- writeIndent(formatEnergy(ec.getEnergy()*0.4, notation))
- writeIndent(formatEnergy(ec.getEnergy()*0.4, notation).."/"..formatEnergy(ec.getMaxEnergy()*0.4, notation).." "..round(ec.getEnergy()/ec.getMaxEnergy()*100,2).."%")
- if (ec.getInput()-ec.getOutput())*0.4 < 0 and Time >= 0 and ec.getEnergy() <= 500*1000^3 then
- writeIndent(Time.."("..formatTimer(Time)..")")
- else
- writeIndent("An Eternity.")
- end
- if Tnum == integtick then Tnum = 0 end
- sleep()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement