Skip to content

five-on-it / packages/ai/src/police-k9 / K9

Variable: K9 ​

const K9: object

Defined in: packages/ai/src/police-k9.ts:57

The numbers of K9.

Type Declaration ​

barkTicks ​

readonly barkTicks: number

It barks every so often on the scent (ticks).

biteReach ​

readonly biteReach: 1.3 = 1.3

…bites within this (m), at most this often (ticks).

biteTicks ​

readonly biteTicks: number

cost ​

readonly cost: 2 = 2

What a K9 unit costs of the room's cap on police actors: the handler and the dog.

health ​

readonly health: 40 = 40

Its hit points: a trained dog's, tougher than a stray's.

heel ​

readonly heel: 2.5 = 2.5

The handler keeps this far behind its dog (m).

keepTicks ​

readonly keepTicks: number

…and keeps them this long (ticks).

leaveTicks ​

readonly leaveTicks: number

A unit leaving is gone after this long (ticks).

lostTicks ​

readonly lostTicks: number

It gives up lost this long (ticks).

reach ​

readonly reach: 1.2 = 1.2

The dog has a point of the trail within this (m)…

sampleTicks ​

readonly sampleTicks: 30 = 30

The trail takes a point this often (ticks)…

smell ​

readonly smell: 6 = 6

…smells the player, or a trail it lost, within this (m)…