Skip to content

five-on-it / packages/ai/src/police-lockdown / Cooling

Interface: Cooling ​

Defined in: packages/ai/src/police-lockdown.ts:584

How a player's Heat and stars cool this tick, by the perimeter, a safe house and the extraction rule (wanted.ts' coolDown).

Properties ​

floor? ​

optional floor?: number

Defined in: packages/ai/src/police-lockdown.ts:590

They never cool below this many.


hold? ​

optional hold?: boolean

Defined in: packages/ai/src/police-lockdown.ts:586

The stars do not cool at all.


rate? ​

optional rate?: number

Defined in: packages/ai/src/police-lockdown.ts:588

They cool this many times as fast (the Heat, and the time to lose a star).