Prototype/Car: Difference between revisions
(format guns type less weirdly) |
(1.1.74: immune_to_cliff_impacts added) |
||
Line 48: | Line 48: | ||
{{Prototype property|immune_to_rock_impacts|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|immune_to_rock_impacts|[[Types/bool|bool]]|false|optional=true}} | ||
If this car gets damaged by driving over/against [[Prototype/SimpleEntity#count_as_rock_for_filtered_deconstruction|rocks]]. | If this car gets damaged by driving over/against [[Prototype/SimpleEntity#count_as_rock_for_filtered_deconstruction|rocks]]. | ||
{{Prototype property|immune_to_cliff_impacts|[[Types/bool|bool]]|true|optional=true}} | |||
If this car gets damaged by driving against [[Prototype/Cliff]]s. | |||
{{Prototype property|turret_rotation_speed|[[Types/double|double]]|0.01|optional=true}} | {{Prototype property|turret_rotation_speed|[[Types/double|double]]|0.01|optional=true}} |
Revision as of 17:55, 16 December 2022
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.