Skip to content

five-on-it / packages/ai/src/police-endgame / LockdownTells

Interface: LockdownTells ​

Defined in: packages/ai/src/police-endgame.ts:129

What a player is told of the endgame (the police message's lockdown).

Properties ​

budget ​

budget: number

Defined in: packages/ai/src/police-endgame.ts:135

The room's budget (per cent, whole) and whether it ran dry.


contractors ​

contractors: boolean

Defined in: packages/ai/src/police-endgame.ts:140

The city's contractors answer (ten stars).


extraction? ​

optional extraction?: object

Defined in: packages/ai/src/police-endgame.ts:133

The nearest extraction point at nine stars and up, and the survival timer's seconds left once it runs.

name ​

name: string

seconds? ​

optional seconds?: number

x ​

x: number

z ​

z: number


legends ​

legends: number

Defined in: packages/ai/src/police-endgame.ts:144

The legendary escapes they made (the banner shows a new one).


news? ​

optional news?: object

Defined in: packages/ai/src/police-endgame.ts:138

The ticker's last headline.

kind ​

kind: "stars" | "extraction" | "tow" | "lockdown" | "unicorn" | "unitDown" | "overrun" | "restored"

n ​

n: number

place? ​

optional place?: string

stars? ​

optional stars?: number


overrun ​

overrun: boolean

Defined in: packages/ai/src/police-endgame.ts:136


ring? ​

optional ring?: object

Defined in: packages/ai/src/police-endgame.ts:131

The perimeter round them: its middle and radius (m, whole), and whether it is sealed.

r ​

r: number

sealed ​

sealed: boolean

x ​

x: number

z ​

z: number


safehouse? ​

optional safehouse?: "inside" | "raid" | "rented"

Defined in: packages/ai/src/police-endgame.ts:142

Their safe house: rented, them inside it, or raided.