five-on-it / packages/ai/src/police-tells / PoliceTells
Interface: PoliceTells
Defined in: packages/ai/src/police-tells.ts:104
What a player is told of the police now.
Properties
camera
camera:
boolean
Defined in: packages/ai/src/police-tells.ts:112
A camera sees them now.
claw?
optionalclaw?:object
Defined in: packages/ai/src/police-tells.ts:128
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:110
The drone sees them now.
hack?
optionalhack?:number
Defined in: packages/ai/src/police-tells.ts:126
The seconds left of the kill switch's countdown on their car, while it counts down.
k9?
optionalk9?:"scent"|"lost"
Defined in: packages/ai/src/police-tells.ts:122
A police dog after them: on their scent, or lost.
lasers
lasers:
object[]
Defined in: packages/ai/src/police-tells.ts:116
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:114
The helicopter's searchlight has them now.
lockdown
lockdown:
LockdownTells
Defined in: packages/ai/src/police-tells.ts:124
The endgame (six to ten stars): the perimeter, the extraction, the budget, the news, the safe house (police-endgame.ts).
marks
marks:
object[]
Defined in: packages/ai/src/police-tells.ts:106
The minimap's marks.
kind
kind:
PoliceMarkKind
x
x:
number
z
z:
number
radio
radio:
object[]
Defined in: packages/ai/src/police-tells.ts:108
The radio's last lines they hear, oldest first.
kind
kind:
"camera"|"swat"|"apc"|"robotDog"|"grounded"|"extraction"|"roadblock"|"rolling"|"drone"|"helicopter"|"sniper"|"k9"|"tow"|"swarm"|"dispatch"|"greenWave"|"droneDown"|"escalation"|"strip"|"cannon"|"boats"|"tagged"|"megaphone"|"breach"|"k9Lost"|"negotiator"|"perimeter"|"raid"|"killSwitch"|"robots"|"interference"|"tip"|"citizen"|"scoutDown"|"lawyer"
n
n:
number
place?
optionalplace?:string
stars?
optionalstars?:number
talk?
optionaltalk?:object
Defined in: packages/ai/src/police-tells.ts:120
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:130
Their own tech, for the phone's apps.
tracked
tracked:
boolean
Defined in: packages/ai/src/police-tells.ts:118
The car they sit in carries a GPS tag.