Skip to content

five-on-it / packages/ai/src/chaos / RIOT

Variable: RIOT ​

const RIOT: object

Defined in: packages/ai/src/chaos.ts:79

A riot's numbers.

Type Declaration ​

budget ​

readonly budget: 60 = 60

The most pedestrians in the room, the riot's new ones among them (the crowd's budget).

burst ​

readonly burst: readonly [3, 2]

The water cannon's bursts: so many seconds on, so many off.

cannonOff ​

readonly cannonOff: 14 = 14

How far beyond the crowd's edge the water cannon parks (m).

count ​

readonly count: 30 = 30

How many people riot.

draw ​

readonly draw: 150 = 150

Pedestrians this near its place are drawn into it (m).

radius ​

readonly radius: 6 = 6

How far round its place they mill (m): tight enough to hide in.

respondSeconds ​

readonly respondSeconds: 8 = 8

How long the police take to answer it (s).

seconds ​

readonly seconds: 120 = 120

How long it lasts (s).

shields ​

readonly shields: 4 = 4

The officers of the shield wall.

standOff ​

readonly standOff: 6 = 6

How far beyond the crowd's edge the police stand (m).