Discussion Suggestion: Change to Fuel Reporting in status.json

Robert Maynard

Volunteer Moderator
The "Fuel" parameter that has been added to status.json includes the contents of the reservoir (as the reported figure can exceed the capacity of the main tank storage onboard the ship). Its existence is very much appreciated as it publishes near-time changes in fuel levels.

The fact that the published fuel level includes the reservoir introduces an ambiguity - as to the exact disposition of the fuel between the reservoir and the main tank, especially as the reservoir will replenish periodically but the level of the main tank is only published on starting the game, when arriving in system or during / after fuel scooping.

My suggestion would be to change the single float value for total fuel as currently published in status.json into an array of two float values, i.e. levels of the main and reservoir respectively, with zero for main tank capacity in the SRV and SLF.

In addition, a new event: "FuelReservoirReplenished" would be a nice to have.
 
Last edited:

Robert Maynard

Volunteer Moderator
It would appear that status.json republication is triggered (about) every 0.01t of fuel consumption from the Fuel Reservoir.

Observed in an Asp Explorer (reservoir capacity = 0.63t).
 
Last edited:
Back
Top Bottom