five-on-it / packages/ai/src/police-budget / BUDGET
Variable: BUDGET
constBUDGET:object
Defined in: packages/ai/src/police-budget.ts:25
The numbers of the budget.
Type Declaration
drain
readonlydrain:Readonly<Record<string,number>>
What a crime against the police drains, by its kind.
max
readonlymax:1000=1000
The most points there are.
perActor
readonlyperActor:6=6
What each police actor put out costs.
recover
readonlyrecover:300=300
…until the budget is back at this many points.
refill
readonlyrefill:2=2
Points back each second (under one point left, the budget has run dry).
thinShare
readonlythinShare:0.5=0.5
Run dry, the room's cap on police actors is this share of itself…