TARDIM Fuel Storage

The fuel storage block can now be attached as "tardim_fuel_storage". It provides fuel-related data.

Methods

getFuel()

Get how much fuel the TARDIM has left.

Returns

  1. number The amount of fuel, from 0 to 100. Not rounded.

calculateFuelForJourney()

Get how much fuel the TARDIM would use if you travelled to destination.

Returns

  1. number The amount of fuel