Prototype/Car: Difference between revisions
(Migrated prototype doc to separate website) |
m (Protected "Prototype/Car": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 17:52, 16 August 2023
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/CarPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Template:Prototype parent Entity with specialized properties for acceleration, braking, and turning.
Usage in base
Mandatory properties
This prototype inherits all the properties from Prototype/Vehicle.
Template:Prototype property Animation speed 1 means 1 frame per tile.
Template:Prototype property Modifies the efficiency of energy transfer from burner output to wheels.
Template:Prototype property Must be a burner energy source when using "burner", otherwise it can also be a void energy source.
Template:Prototype property Size of the car inventory.
Optional properties
Template:Prototype property Animation speed 1 means 1 frame per tile.
Template:Prototype property
Must have the same frame count as animation
.
Template:Prototype property If this car prototype uses tank controls to drive.
Template:Prototype property If this car is immune to movement by belts.
Template:Prototype property If this car gets damaged by driving over/against Prototype/Trees.
Template:Prototype property If this car gets damaged by driving over/against rocks.
Template:Prototype property If this car gets damaged by driving against Prototype/Cliffs.
Template:Prototype property Timeout in ticks specifying how long the turret must be inactive to return to the default position.
Template:Prototype property The names of the Prototype/Guns this car prototype uses.