Skip to content

five-on-it / packages/ai/src/police-tech / TECH

Variable: TECH ​

const TECH: object

Defined in: packages/ai/src/police-tech.ts:84

The numbers of the robbers' tech.

Type Declaration ​

cruiser ​

readonly cruiser: object

The cruiser hack: its reach (m) and half-cone (rad), the hold, the stall, its cool-down.

cruiser.cone ​

readonly cone: number

cruiser.coolTicks ​

readonly coolTicks: number

cruiser.holdTicks ​

readonly holdTicks: number

cruiser.reach ​

readonly reach: 15 = 15

cruiser.stallTicks ​

readonly stallTicks: number

jammer ​

readonly jammer: object

The jammer: its reach (m), its battery (ticks of jamming), how fast it charges (per tick off), how long running before the police notice, how long an EMP fries it.

jammer.battery ​

readonly battery: number

jammer.burntTicks ​

readonly burntTicks: number

jammer.charge ​

readonly charge: 0.5 = 0.5

jammer.noticeSeconds ​

readonly noticeSeconds: 20 = 20

jammer.noticeTicks ​

readonly noticeTicks: number

jammer.radius ​

readonly radius: 30 = 30

lawyer ​

readonly lawyer: object

LawyerUp™: its fee per star ($), and the most stars it takes on.

lawyer.maxStars ​

readonly maxStars: 7 = 7

lawyer.perStar ​

readonly perStar: 500 = 500

loop ​

readonly loop: object

The camera loop: its reach (m), how long the old footage plays, its cool-down.

loop.coolTicks ​

readonly coolTicks: number

loop.reach ​

readonly reach: 200 = 200

loop.seconds ​

readonly seconds: 30 = 30

loop.ticks ​

readonly ticks: number

scout ​

readonly scout: object

The scout drone: its height over the player (m), its time up, how far it sees the police (m), how long the police watch it before they shoot it down, how long its wreck lies.

scout.height ​

readonly height: 12 = 12

scout.lifeTicks ​

readonly lifeTicks: number

scout.reach ​

readonly reach: 120 = 120

scout.watchTicks ​

readonly watchTicks: number

scout.wreckTicks ​

readonly wreckTicks: number

tip ​

readonly tip: object

The fake tip: how far off it sends the units (m) and for how long.

tip.distance ​

readonly distance: 400 = 400

tip.ticks ​

readonly ticks: number

traffic ​

readonly traffic: object

The traffic hack: how long its lights hold, its cool-down, how far it looks behind and ahead (m), how many junctions go green; a police car coming to a red one brakes once it is within its stopping distance (its speed's, at brake m/s²) of stopNear short of it, stopFar at most, and waits there (m).

traffic.ahead ​

readonly ahead: 250 = 250

traffic.behind ​

readonly behind: 120 = 120

traffic.brake ​

readonly brake: 7 = 7

traffic.coolTicks ​

readonly coolTicks: number

traffic.greens ​

readonly greens: 3 = 3

traffic.holdSeconds ​

readonly holdSeconds: 20 = 20

traffic.holdTicks ​

readonly holdTicks: number

traffic.stopFar ​

readonly stopFar: 80 = 80

traffic.stopNear ​

readonly stopNear: 10 = 10

watchedNear ​

readonly watchedNear: 8 = 8

A person this near a player sees them change clothes (m).