Home

ElectricEnergySource

Type

struct

Properties

type

buffer_capacity

How much energy this entity can hold.

Examples

buffer_capacity = "5MJ"

usage_priority

Examples

usage_priority = "secondary-input"

input_flow_limit

The rate at which energy can be taken, from the network, to refill the energy buffer. 0 means no transfer.

Examples

input_flow_limit = "300kW"

output_flow_limit

The rate at which energy can be provided, to the network, from the energy buffer. 0 means no transfer.

Examples

output_flow_limit = "300kW"

drain

How much energy (per second) will be continuously removed from the energy buffer. In-game, this is shown in the tooltip as "Min. [Minimum] Consumption". Applied as a constant consumption-per-tick, even when the entity has the property active set to false.

Examples

drain = "1kW"