Prototype/Vehicle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Optional properties: linked equipment grid, minimap representation descriptions)
Line 42: Line 42:


{{Prototype property|equipment_grid|[[Types/string|string]]|optional=true}}
{{Prototype property|equipment_grid|[[Types/string|string]]|optional=true}}
The name of the equipment grid this vehicle has.
The name of the [[Prototype/EquipmentGrid|equipment grid]] this vehicle has.


{{Prototype property|minimap_representation|[[Types/Sprite|Sprite]]|optional=true}}
{{Prototype property|minimap_representation|[[Types/Sprite|Sprite]]|optional=true}}
The sprite that represents this vehicle on the map/minimap.


{{Prototype property|selected_minimap_representation|[[Types/Sprite|Sprite]]|optional=true}}
{{Prototype property|selected_minimap_representation|[[Types/Sprite|Sprite]]|optional=true}}
The sprite that represents this vehicle on the map/minimap when it is selected.

Revision as of 09:50, 17 September 2019

Template:Prototype parent Abstract base of all vehicles.

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property Must be positive. Weight of the entity used for physics calculation when car hits something.

Template:Prototype property Two different ways to set braking force. At least one must exist. Must be positive.

Template:Prototype property Two different ways to set friction force. At least one must exist. Must be positive.

Template:Prototype property

Optional properties

Template:Prototype property Must be in the [0, 1] interval.

Template:Prototype property Must be positive.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The name of the equipment grid this vehicle has.

Template:Prototype property The sprite that represents this vehicle on the map/minimap.

Template:Prototype property The sprite that represents this vehicle on the map/minimap when it is selected.