Skip to content

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

Interface: ChaosBook ​

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

The book of the chaos events.

Properties ​

billboards ​

billboards: boolean

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

Whether the billboards show a wanted player's face (the game's rule; on by default).


bridges ​

bridges: boolean

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

Whether a wanted driver's approach raises the bridges (the game's rule; on by default).


grabs ​

grabs: Grab[]

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

The pedestrians running for thrown Cash, in entity order.


hooks ​

hooks: ChaosHooks

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

What later phases plug in.


reported ​

reported: Map<number, number>

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

The tick each billboard's crowd last reported, by placement.


riots ​

riots: Riot[]

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

The riots under way, oldest first.


showing ​

showing: object[]

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

The billboards showing a face: the placement's index and the player's client id, by placement.

client ​

client: number

placement ​

placement: number