five-on-it / packages/ai/src/wanted / coolDown
Function: coolDown()
coolDown(
w,tick,sitting?,cooling?):void
Defined in: packages/ai/src/wanted.ts:553
One tick of the Heat once the police have looked (w.seen is up to date): cooling toward the floor of its stars when nobody has seen the player nor heard of a crime for a while, and a star lost when that has lasted long enough for the stars held; faster while the player sits on a bench (sitting). The endgame's cooling (police-lockdown.ts) holds it (inside a sealed perimeter), speeds it up (out of a perimeter, in a safe house) or keeps the stars at a floor (only an extraction ends nine stars and up).
Parameters
w
tick
number
sitting?
boolean = false
cooling?
floor?
number
hold?
boolean
rate?
number
Returns
void