Skip to content

Commit a958b10

Browse files
committed
Add information on component names, slots and models
1 parent b6d08f4 commit a958b10

File tree

2 files changed

+1595
-2
lines changed

2 files changed

+1595
-2
lines changed

javascript/entities/vehicle.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ export class Vehicle extends Supplementable {
1717
// ID indicating that a particular Player ID is explicitly not valid.
1818
static kInvalidId = 65535;
1919

20+
// The component slots that vehicles can be modified with.
21+
static kComponentSlotSpoiler = 0;
22+
static kComponentSlotHood = 1;
23+
static kComponentSlotRoof = 2;
24+
static kComponentSlotSideskirt = 3;
25+
static kComponentSlotLights = 4;
26+
static kComponentSlotNitro = 5;
27+
static kComponentSlotExhaust = 6;
28+
static kComponentSlotWheels = 7;
29+
static kComponentSlotStereo = 8;
30+
static kComponentSlotHydraulics = 9;
31+
static kComponentSlotFrontBumper = 10;
32+
static kComponentSlotRearBumper = 11;
33+
static kComponentSlotRightVent = 12;
34+
static kComponentSlotLeftVent = 13;
35+
2036
// Vehicle keys that can be awarded to players through various achievements.
2137
static kVehicleKeysBoost = 1;
2238
static kVehicleKeysColourChange = 2;

0 commit comments

Comments
 (0)