Skip to content

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

Variable: BUDGET ​

const BUDGET: object

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

The numbers of the budget.

Type Declaration ​

drain ​

readonly drain: Readonly<Record<string, number>>

What a crime against the police drains, by its kind.

max ​

readonly max: 1000 = 1000

The most points there are.

perActor ​

readonly perActor: 6 = 6

What each police actor put out costs.

recover ​

readonly recover: 300 = 300

…until the budget is back at this many points.

refill ​

readonly refill: 2 = 2

Points back each second (under one point left, the budget has run dry).

thinShare ​

readonly thinShare: 0.5 = 0.5

Run dry, the room's cap on police actors is this share of itself…