Module:Vehicles/data/doc
< Module:Vehicles | data
This is the documentation page for Module:Vehicles/data
Module:Vehicles/data
Dataset of vehicles.
Schema
The dataset is a two-level table, first keyed by vehicle type, and then keyed by slugified vehicle name, derived via common.slugify() from Module:Common.
For translation-compatibility, display strings are stored exclusively in MessageBundle:Vehicles.
First key
Vehicle type (slugified). Valid types:
groundaerialspecial
Second key
Vehicle name, derived by slugifying the vehicle's English name. Examples:
sandbikeassault-ornithopter
Record fields
Each vehicle record is a table with the following fields:
- category
- string
- Slugified official in-game vehicle classification indicating its size and role. Must correspond to a
category-<CATEGORY_SLUG>key in MessageBundle:Vehicles. - Examples:
one-man-groundcarfour-man-groundcarlight-ornithoptermedium-ornithopter
- minimum_tier
- string
- The lowest progression tier at which the vehicle schematics are unlocked.
- Examples:
CopperSteelDuraluminum
- crew_capacity
- string
- The number of seats available in the vehicle. If this value can vary due to installed modules, display it as a range (e.g. 3-4).
- Examples:
13-4