Skip to content

Commit

Permalink
Add information on component names, slots and models
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellLVP committed Jul 3, 2020
1 parent b6d08f4 commit a958b10
Show file tree
Hide file tree
Showing 2 changed files with 1,595 additions and 2 deletions.
16 changes: 16 additions & 0 deletions javascript/entities/vehicle.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ export class Vehicle extends Supplementable {
// ID indicating that a particular Player ID is explicitly not valid.
static kInvalidId = 65535;

// The component slots that vehicles can be modified with.
static kComponentSlotSpoiler = 0;
static kComponentSlotHood = 1;
static kComponentSlotRoof = 2;
static kComponentSlotSideskirt = 3;
static kComponentSlotLights = 4;
static kComponentSlotNitro = 5;
static kComponentSlotExhaust = 6;
static kComponentSlotWheels = 7;
static kComponentSlotStereo = 8;
static kComponentSlotHydraulics = 9;
static kComponentSlotFrontBumper = 10;
static kComponentSlotRearBumper = 11;
static kComponentSlotRightVent = 12;
static kComponentSlotLeftVent = 13;

// Vehicle keys that can be awarded to players through various achievements.
static kVehicleKeysBoost = 1;
static kVehicleKeysColourChange = 2;
Expand Down
Loading

0 comments on commit a958b10

Please sign in to comment.