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?
optionalladder?:boolean
Defined in: packages/sim/src/vehicle-classes.ts:207
A ladder on the roof (the fire truck's).
lightBar?
optionallightBar?:boolean
Defined in: packages/sim/src/vehicle-classes.ts:201
A light bar on the roof, flashing in the livery's pattern.
roofSign?
optionalroofSign?:boolean
Defined in: packages/sim/src/vehicle-classes.ts:205
A lit sign on the roof (the taxi's).
siren?
optionalsiren?: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).