RTFM! Seriously, I worked hard on it

This commit is contained in:
Andrew-71 2023-08-04 14:07:58 +03:00
parent 8684798259
commit 78a5cb111b
32 changed files with 566 additions and 73 deletions

View file

@ -0,0 +1,23 @@
# ![Peripheral model](../../assets/img/blocks/fuel_storage.png) Fuel Storage Block
This peripheral, attached to a TARDIM fuel storage block, gives you access to 2 fuel-related methods
Attach name - `"tardim_fuel_storage"`
## Methods
### `getFuel()`
Get how much fuel the TARDIM has.
**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