Skip to content

five-on-it / packages/ai/src/police-tow / TOW

Variable: TOW ​

const TOW: object

Defined in: packages/ai/src/police-tow.ts:40

The numbers of the sweep.

Type Declaration ​

away ​

readonly away: 40 = 40

…and none is sent while they are this near it: the sweep takes the cars they walked away from (m).

cost ​

readonly cost: 2 = 2

What a truck costs of the room's cap on police actors: the truck and its driver.

everyTicks ​

readonly everyTicks: 240 = 240

A tow truck is sent at most this often (ticks: four seconds).

giveUpTicks ​

readonly giveUpTicks: 5400 = 5400

A job that has not reached its car in this long is given up (ticks: ninety seconds).

guard ​

readonly guard: 4 = 4

A player this near the car calls the job off (m)…

hookReach ​

readonly hookReach: 10 = 10

It hooks the car up once this near it (m)…

hookTicks ​

readonly hookTicks: 180 = 180

…taking this long (ticks: three seconds).

leaveRange ​

readonly leaveRange: 90 = 90

…or once this far from every player (m).

leaveTicks ​

readonly leaveTicks: 1200 = 1200

The truck that gave up or towed is gone this long after (ticks: twenty seconds)…

memoryTicks ​

readonly memoryTicks: 18000 = 18_000

A car left this long ago is forgotten (ticks: five minutes).

spawnClear ​

readonly spawnClear: 6 = 6

A spot this near another car is taken (m).

spawnMax ​

readonly spawnMax: 140 = 140

spawnMin ​

readonly spawnMin: 40 = 40

It comes out this far from the car at least, at most (m).

spawnStep ​

readonly spawnStep: 8 = 8

The roads are sampled this often for that spot (m).