1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-11 04:42:23 +03:00

PLUGINS: Document that CargoJSON isn't initially populated.

Blame Frontier for deciding to put this in-Journal on the first event at
login, but in the separate file after that.
This commit is contained in:
Athanasius 2021-03-09 12:27:00 +00:00
parent 2037cf73a5
commit 4658b267fb

View File

@ -460,8 +460,13 @@ typically about once a second when in orbital flight.
New in version 4.1.6: New in version 4.1.6:
`CargoJSON` contains the raw data from the last read of `cargo.json` passed through json.load. `CargoJSON` contains the raw data from the last read of `Cargo.json` passed
It contains more information about the cargo contents, such as the mission ID for mission specific cargo through json.load. It contains more information about the cargo contents, such
as the mission ID for mission specific cargo
**NB: Because this is only the data loaded from the `Cargo.json` file, and that
is not written at Commander login (instead the in-Journal `Cargo` event
contains all the data), this will not be populated at login.**
#### Getting Commander Data #### Getting Commander Data