Skip to content

five-on-it / packages/sim/src/fire / FIRE

Variable: FIRE ​

const FIRE: object

Defined in: packages/sim/src/fire.ts:49

The numbers of the fires and the blasts.

Type Declaration ​

blastIgnite ​

readonly blastIgnite: 50 = 50

A blast lights a car it leaves this low.

burnPerSecond ​

readonly burnPerSecond: 1 = 1

Hit points a fire takes off its car each second.

chainFuse ​

readonly chainFuse: readonly [0.3, 1.2]

A neighbour's blast lights a car with a fuse from the first (at its centre) to the second (at the edge of the inner reach) (s).

chainReach ​

readonly chainReach: 0.65 = 0.65

The share of a blast's reach within which it lights every car, whatever its hit points.

damage ​

readonly damage: 100 = 100

Its hit points at the centre, and the speed it gives a body there (m/s).

fuseSeconds ​

readonly fuseSeconds: 5 = 5

How long a car burns before it blows up (s), plus a second per metre of its half length.

igniteHealth ​

readonly igniteHealth: 12 = 12

A car this low catches fire, whatever brought it there (hit points of 100).

leap ​

readonly leap: 6 = 6

How fast the wreck leaps up (m/s), and how hard it tumbles (rad/s).

occupantsPerSecond ​

readonly occupantsPerSecond: 3 = 3

Hit points it takes off each person still in the car each second.

radiusBase ​

readonly radiusBase: 3 = 3

A blast's reach: this plus this much per metre of the vehicle's half length (m), at most radiusMax.

radiusMax ​

readonly radiusMax: 11.5 = 11.5

radiusPerLength ​

readonly radiusPerLength: 1.75 = 1.75

rainBurnout ​

readonly rainBurnout: 0.5 = 0.5

In rain at least this hard (sim.sky.rain) a wreck burns out twice as fast.

shotIgnite ​

readonly shotIgnite: 25 = 25

A bullet lights a car it leaves this low.

speed ​

readonly speed: 10 = 10

tumble ​

readonly tumble: 1.5 = 1.5

wreckBurnSeconds ​

readonly wreckBurnSeconds: 20 = 20

How long a wreck burns after it blew up (s); then it smoulders.

wreckFuseSeconds ​

readonly wreckFuseSeconds: 1.5 = 1.5

A car wrecked while it burns blows up within this (s).