Skip to content

five-on-it / packages/ai/src/police-boats / BOATS

Variable: BOATS ​

const BOATS: object

Defined in: packages/ai/src/police-boats.ts:48

The numbers of the police boats.

Type Declaration ​

againTicks ​

readonly againTicks: 1800 = 1800

Another is sent this long after a boat's crew is shot (ticks: thirty seconds).

apart ​

readonly apart: 8 = 8

Two boats come out at least this far apart (m).

cost ​

readonly cost: 3 = 3

What one costs of the room's cap on police actors: its hull and its two officers.

dryTicks ​

readonly dryTicks: 600 = 600

A player back on land this long is let go (ticks: ten seconds).

hold ​

readonly hold: 7 = 7

…and holds within this one (m).

margin ​

readonly margin: 3 = 3

It keeps this far off the water's edge (m).

slow ​

readonly slow: 20 = 20

It slows inside this distance of its player (m)…

spawnFar ​

readonly spawnFar: 45 = 45

A boat comes out this far from its player on their water, as near as the water allows (m).

steerGain ​

readonly steerGain: 1.8 = 1.8

How hard it turns, per radian off its bearing.