RTFM! Seriously, I worked hard on it
This commit is contained in:
parent
8684798259
commit
78a5cb111b
32 changed files with 566 additions and 73 deletions
|
@ -0,0 +1,23 @@
|
|||
#  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
|
Loading…
Add table
Add a link
Reference in a new issue