Home

BaseEnergySource

The abstract base of all EnergySources. Specifies the way an entity gets its energy.

Type

struct

Properties

emissions_per_minute

The pollution an entity emits per minute at full energy consumption. This is exactly the value that is shown in the entity tooltip.

render_no_power_icon

Whether to render the "no power" icon if the entity is low on power. Also applies to the "no fuel" icon when using burner energy sources.

render_no_network_icon

Whether to render the "no network" icon if the entity is not connected to an electric network.