Types/EnergySource: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(more explanations)
Line 1: Line 1:
== Basics ==
== Basics ==
Specifies the way the entity gets its energy.
Specifies the way the entity gets its energy.
Valid for 0.8+ version
=== type ===
=== type ===
'''Type''': [[Types/string]]
Type: [[Types/string]]


Only valid values are "electric" or "burner", it specifies the type of the energy source to be used.
Only valid values are "electric" or "burner", it specifies the type of the energy source to be used.
=== emissions ===
=== emissions ===
'''Type''': [[Types/double]]
Type: [[Types/double]]
=== resting_consumption_ratio ===
=== resting_consumption_ratio ===
'''Type''': [[Types/float]]
Type: [[Types/float]]


'''Default''': 1/30
Default: 1/30
== Electric energy source ==
== Electric energy source ==
=== buffer_capacity ===
=== buffer_capacity ===
'''Type''': [[Types/EnergyAmount]]
Type: [[Types/EnergyAmount]]
 
How much power the entity holds.
=== usage_priority ===
=== usage_priority ===
'''Type''': [[Types/EnergyPriority]]
Type: [[Types/EnergyPriority]]
=== input_flow_limit ===
=== input_flow_limit ===
'''Type''': [[Types/EnergyPower]]
Type: [[Types/EnergyPower]]
 
How fast the energy can flow into the entity.
=== output_flow_limit ===
=== output_flow_limit ===
'''Type''': [[Types/EnergyPower]]
Type: [[Types/EnergyPower]]
 
How fast the energy can flow out of the entity.


== Older Electric energy source ==
== Older Electric energy source ==
note: I don't know when these changed to usage_priority or I'd put the actual version(s) [[User:FreeER|~FreeER]] ([[User talk:FreeER|talk]]):
note: I don't know when these changed to usage_priority or I'd put the actual version(s) [[User:FreeER|~FreeER]] ([[User talk:FreeER|talk]]):
=== input_priority ===
=== input_priority ===
'''Type''': [[Types/EnergyPriority]]
Type: [[Types/EnergyPriority]]
=== output_priority ===
=== output_priority ===
'''Type''': [[Types/EnergyPriority]]
Type: [[Types/EnergyPriority]]


== Burner ==
== Burner ==
=== effectivity ===
=== effectivity ===
'''Type''': [[Types/float]]
Type: [[Types/float]]


Value specifying the amount of burning value of the item to be transferred into the energy.
Value specifying the amount of burning value of the item to be transferred into the energy.
1 means 100% effectivity.
1 means 100% effectivity. Can't be 0.
=== fuel_inventory_size ===
=== fuel_inventory_size ===
'''Type''': [[Types/InventorySize]]
Type: [[Types/InventorySize]]
=== smoke===
=== smoke===
'''Type''': [[Types/SmokeSources]]
Type: [[Types/SmokeSources]]

Revision as of 09:33, 13 August 2017

Basics

Specifies the way the entity gets its energy.

type

Type: Types/string

Only valid values are "electric" or "burner", it specifies the type of the energy source to be used.

emissions

Type: Types/double

resting_consumption_ratio

Type: Types/float

Default: 1/30

Electric energy source

buffer_capacity

Type: Types/EnergyAmount

How much power the entity holds.

usage_priority

Type: Types/EnergyPriority

input_flow_limit

Type: Types/EnergyPower

How fast the energy can flow into the entity.

output_flow_limit

Type: Types/EnergyPower

How fast the energy can flow out of the entity.

Older Electric energy source

note: I don't know when these changed to usage_priority or I'd put the actual version(s) ~FreeER (talk):

input_priority

Type: Types/EnergyPriority

output_priority

Type: Types/EnergyPriority

Burner

effectivity

Type: Types/float

Value specifying the amount of burning value of the item to be transferred into the energy. 1 means 100% effectivity. Can't be 0.

fuel_inventory_size

Type: Types/InventorySize

smoke

Type: Types/SmokeSources