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

# Factorio Prototype Docs Version 2.0.77

# VoidEnergySource - Prototype Docs

## VoidEnergySource :: struct Example code

Void energy sources provide unlimited free energy.

Inherits from BaseEnergySource

## Properties

- default
- sorted

type | :: `"void"` |

Inherited from BaseEnergySource

emissions_per_minute optional | :: dictionary[AirbornePollutantID → double] | The pollution an entity emits per minute at full energy consumption. [...]
The pollution an entity emits per minute at full energy consumption. [...]
render_no_power_icon optional | :: boolean | Whether to render the "no power" icon if the entity is low on power. [...]
Whether to render the "no power" icon if the entity is low on power. [...]
render_no_network_icon optional | :: boolean | Whether to render the "no network" icon if the entity is not connected to an electric network.
Whether to render the "no network" icon if the entity is not connected to an electric network.

type | :: `"void"` |

Inherited from BaseEnergySource

emissions_per_minute optional | :: dictionary[AirbornePollutantID → double] | The pollution an entity emits per minute at full energy consumption. [...]
The pollution an entity emits per minute at full energy consumption. [...]
render_no_network_icon optional | :: boolean | Whether to render the "no network" icon if the entity is not connected to an electric network.
Whether to render the "no network" icon if the entity is not connected to an electric network.
render_no_power_icon optional | :: boolean | Whether to render the "no power" icon if the entity is low on power. [...]
Whether to render the "no power" icon if the entity is low on power. [...]

## Properties

### type :: `"void"`

## Example

    energy_source = {type = "void"}

Type used in

- AsteroidCollectorPrototype::energy_source
- BeaconPrototype::energy_source
- CarPrototype::energy_source
- CombinatorPrototype::energy_source
- ElectricTurretPrototype::energy_source
- EnergySource
- LampPrototype::energy_source
- LoaderPrototype::energy_source
- LocomotivePrototype::energy_source
- ProgrammableSpeakerPrototype::energy_source
- RoboportPrototype::energy_source
- SpiderVehiclePrototype::energy_source