Instructions/Get Grid Efficiency

From Desynced Wiki
Revision as of 06:08, 17 September 2023 by Johan (talk | contribs) (informational)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Get Grid Efficiency
     
     Gets the value of the Grid Efficiency as a percent
Lua ID get_grid_effeciency
Category Math
Icon Power.png
Argument One: Type Output
Argument One: Name Result



Description

Obtains the grid efficiency percentage as a 0-100 number.

Uses

It may be niche, but it can be used by larger automatic base planning behaviors to determine if more power output or storage is required.

Similar Instructions

Get Battery, Check Battery