five-on-it / packages/sim/src/carjack / vehicleInteraction
Function: vehicleInteraction()
vehicleInteraction(
sim,eid,vehicle):Interaction
Defined in: packages/sim/src/carjack.ts:209
What the key does to one car within reach (see the module documentation): get in at the wheel, carjack, ride along on the first free seat, unlock it with its key and get in, find it locked (and pick it, the key held), or nothing (a full car).
Parameters
sim
eid
number
vehicle
number