five-on-it / packages/sim/src/fire / FIRE
Variable: FIRE
constFIRE:object
Defined in: packages/sim/src/fire.ts:49
The numbers of the fires and the blasts.
Type Declaration
blastIgnite
readonlyblastIgnite:50=50
A blast lights a car it leaves this low.
burnPerSecond
readonlyburnPerSecond:1=1
Hit points a fire takes off its car each second.
chainFuse
readonlychainFuse: 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
readonlychainReach:0.65=0.65
The share of a blast's reach within which it lights every car, whatever its hit points.
damage
readonlydamage:100=100
Its hit points at the centre, and the speed it gives a body there (m/s).
fuseSeconds
readonlyfuseSeconds:5=5
How long a car burns before it blows up (s), plus a second per metre of its half length.
igniteHealth
readonlyigniteHealth:12=12
A car this low catches fire, whatever brought it there (hit points of 100).
leap
readonlyleap:6=6
How fast the wreck leaps up (m/s), and how hard it tumbles (rad/s).
occupantsPerSecond
readonlyoccupantsPerSecond:3=3
Hit points it takes off each person still in the car each second.
radiusBase
readonlyradiusBase:3=3
A blast's reach: this plus this much per metre of the vehicle's half length (m), at most radiusMax.
radiusMax
readonlyradiusMax:11.5=11.5
radiusPerLength
readonlyradiusPerLength:1.75=1.75
rainBurnout
readonlyrainBurnout:0.5=0.5
In rain at least this hard (sim.sky.rain) a wreck burns out twice as fast.
shotIgnite
readonlyshotIgnite:25=25
A bullet lights a car it leaves this low.
speed
readonlyspeed:10=10
tumble
readonlytumble:1.5=1.5
wreckBurnSeconds
readonlywreckBurnSeconds:20=20
How long a wreck burns after it blew up (s); then it smoulders.
wreckFuseSeconds
readonlywreckFuseSeconds:1.5=1.5
A car wrecked while it burns blows up within this (s).