Factorio Prototype DocsVersion 2.0.26

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"

Prototypes

Types

Defines