Skip to content

five-on-it / packages/ai/src/wanted / resprayClears

Function: resprayClears() ​

resprayClears(w, tick): boolean

Defined in: packages/ai/src/wanted.ts:327

A respray of the player's car (GAME_DESIGN §12): the Wanted level cleared, the Heat at nothing, unless an officer sees the player or saw them within WANTED.respraySeenSeconds (they saw the car go in). Returns whether it cleared.

Parameters ​

w ​

Wanted

tick ​

number

Returns ​

boolean