Prototype/Locomotive: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/RollingStock}}
==Basics==
==Basics==
Prototype type: '''locomotive'''
Prototype type: '''locomotive'''

Revision as of 15:57, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Vehicle » Prototype/RollingStock » Prototype/Locomotive


Basics

Prototype type: locomotive

A locomotive. Extends Prototype/RollingStock.

Mandatory properties

This prototype inherits all the properties from Prototype/RollingStock.

max_power

Type: Types/Energy

reversing_power_modifier

Type: Types/double

burner or energy_source

Type: Types/EnergySource

Must be a burner energy source when using "burner", otherwise it can also be a void energy source.

Optional properties

front_light

Type: Types/LightDefinition