Skip to content

five-on-it / packages/sim/src/fuel

packages/sim/src/fuel ​

Filling up at a petrol station (@foi/world's spots of kind pump). There is no fuel to run out of: at the wheel of a car standing still beside a pump, the service key (1, as a garage's respray) fills up for FUEL.price of Cash: the boost meter full at once, and recharging twice as fast for FUEL.boostSeconds (VehicleState.fuelled, the snapshot's fuelled flag). The server alone fills up; the client reads the snapshot.

Variables ​

Functions ​