Skip to content

five-on-it / packages/ai/src/police-tells / PoliceTells

Interface: PoliceTells ​

Defined in: packages/ai/src/police-tells.ts:98

What a player is told of the police now.

Properties ​

camera ​

camera: boolean

Defined in: packages/ai/src/police-tells.ts:106

A camera sees them now.


claw? ​

optional claw?: object

Defined in: packages/ai/src/police-tells.ts:120

A ComplianceBot's claw on them: the seconds to the arrest, the presses to struggle free.

presses ​

presses: number

seconds ​

seconds: number


drone ​

drone: boolean

Defined in: packages/ai/src/police-tells.ts:104

The drone sees them now.


hack? ​

optional hack?: number

Defined in: packages/ai/src/police-tells.ts:118

The seconds left of the kill switch's countdown on their car, while it counts down.


k9? ​

optional k9?: "scent" | "lost"

Defined in: packages/ai/src/police-tells.ts:116

A police dog after them: on their scent, or lost.


lasers ​

lasers: object[]

Defined in: packages/ai/src/police-tells.ts:110

The marksmen painting them now: each one's entity and where it is (m, rounded).

eid ​

eid: number

x ​

x: number

y ​

y: number

z ​

z: number


light ​

light: boolean

Defined in: packages/ai/src/police-tells.ts:108

The helicopter's searchlight has them now.


marks ​

marks: object[]

Defined in: packages/ai/src/police-tells.ts:100

The minimap's marks.

kind ​

kind: PoliceMarkKind

x ​

x: number

z ​

z: number


radio ​

radio: object[]

Defined in: packages/ai/src/police-tells.ts:102

The radio's last lines they hear, oldest first.

kind ​

kind: "camera" | "swat" | "apc" | "robotDog" | "grounded" | "roadblock" | "rolling" | "drone" | "helicopter" | "sniper" | "k9" | "swarm" | "dispatch" | "greenWave" | "droneDown" | "escalation" | "strip" | "cannon" | "boats" | "tagged" | "megaphone" | "breach" | "k9Lost" | "negotiator" | "killSwitch" | "robots" | "interference" | "tip" | "citizen" | "scoutDown" | "lawyer"

n ​

n: number

place? ​

optional place?: string

stars? ​

optional stars?: number


talk? ​

optional talk?: object

Defined in: packages/ai/src/police-tells.ts:114

The negotiator's call, while a talk is on: ringing or talking, its seconds left, the choices still on offer.

car ​

car: boolean

seconds ​

seconds: number

state ​

state: "ringing" | "talking"

time ​

time: boolean


tech ​

tech: TechView

Defined in: packages/ai/src/police-tells.ts:122

Their own tech, for the phone's apps.


tracked ​

tracked: boolean

Defined in: packages/ai/src/police-tells.ts:112

The car they sit in carries a GPS tag.