This is an old revision of the document!
⇐ Index
GetERNPortalEfficiency(<-upgrade) ->efficiency
Gets the efficiency of a given upgrade on the ern portal. The returned efficiency is a floating point number between 0 and 1 inclusive. The ERN portal has 6 possible upgrades and when and ERN is installed in a slot, the efficiency will go from 0 to 1 over time. A slot without an ERN installed has an efficiency of 0. The upgrade that is passed in should be a number from 0 to 5 inclusive. Each number represents one of the upgrades in the ERN portal.
GetERNPortalEfficiency(0) ->energyProductionUpgradeEfficiency
⇐ Index