Skip to content

five-on-it / packages/sim/src/vehicle-classes / VehicleFeatures

Interface: VehicleFeatures ​

Defined in: packages/sim/src/vehicle-classes.ts:199

The fittings of a class beyond the usual, flags the client reads (GAME_DESIGN §6.1, the vehicle features): its model has the parts, the client lights and sounds them.

Properties ​

ladder? ​

optional ladder?: boolean

Defined in: packages/sim/src/vehicle-classes.ts:207

A ladder on the roof (the fire truck's).


lightBar? ​

optional lightBar?: boolean

Defined in: packages/sim/src/vehicle-classes.ts:201

A light bar on the roof, flashing in the livery's pattern.


roofSign? ​

optional roofSign?: boolean

Defined in: packages/sim/src/vehicle-classes.ts:205

A lit sign on the roof (the taxi's).


siren? ​

optional siren?: boolean

Defined in: packages/sim/src/vehicle-classes.ts:203

A siren: the driver runs it (the horn key at the wheel of one; an NPC driver always).