Skip to content

five-on-it / packages/sim/src/vehicle / refitVehicle

Function: refitVehicle() ​

refitVehicle(sim, eid): void

Defined in: packages/sim/src/vehicle.ts:673

Builds a vehicle's chassis again where it stands, as it is (its class, its hit points, its velocity): after a garage fitted armour plating, which makes it heavier (mods.ts). Its tyres come out new, as a garage's work leaves them.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

void