Prototype/Locomotive: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(→Mandatory properties: note on energy source emissions) |
||
Line 12: | Line 12: | ||
{{Prototype property|burner or energy_source|[[Types/EnergySource|EnergySource]]}} | {{Prototype property|burner or energy_source|[[Types/EnergySource|EnergySource]]}} | ||
Must be a burner energy source when using "burner", otherwise it can also be a void energy source. | Must be a burner energy source when using "burner", otherwise it can also be a void energy source. The emissions set on the energy source are ignored so inserters cannot produce pollution. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|front_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | {{Prototype property|front_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} |
Revision as of 21:22, 19 February 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Vehicle » Prototype/RollingStock » Prototype/Locomotive
A locomotive.
Mandatory properties
This prototype inherits all the properties from Prototype/RollingStock.
max_power
Type: Energy
reversing_power_modifier
Type: double
burner or energy_source
Type: EnergySource
Must be a burner energy source when using "burner", otherwise it can also be a void energy source. The emissions set on the energy source are ignored so inserters cannot produce pollution.
Optional properties
front_light
Type: LightDefinition