Skip to content

five-on-it / packages/ai/src/police-budget / Pressure

Interface: Pressure ​

Defined in: packages/ai/src/police-budget.ts:55

One player's pressure (see the module documentation).

Properties ​

busted ​

busted: boolean

Defined in: packages/ai/src/police-budget.ts:66

They were arrested this tick.


busts ​

busts: number

Defined in: packages/ai/src/police-budget.ts:60

Arrests in a row.


client ​

client: number

Defined in: packages/ai/src/police-budget.ts:56


hot ​

hot: number

Defined in: packages/ai/src/police-budget.ts:62

The tick the player reached five stars this time they are wanted (−1: not yet).


stars ​

stars: number

Defined in: packages/ai/src/police-budget.ts:64

Their stars at the end of the last tick.


tenths ​

tenths: number

Defined in: packages/ai/src/police-budget.ts:58

The factor, in tenths (8 to 12).