Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# ElectricUsagePriority - Prototype Docs

## ElectricUsagePriority :: union Example code

Used to specify priority of energy usage in the electric system.

#### Union members

`"primary-input"` | Used for the most important machines, for example laser turrets.
`"primary-output"` |
`"secondary-input"` | Used for all other machines.
`"secondary-output"` | Used in steam generators.
`"tertiary"` | As input/output used for accumulators, to collect the overproduction or provide energy when neither primary/secondary output can't.
`"solar"` | Can only be used by SolarPanelPrototype, will be ignored otherwise.
`"lamp"` | Can only be used by LampPrototype, will be ignored otherwise.

## Example

    usage_priority = "primary-input"

Type used in

- ElectricEnergySource::usage_priority