From 4658b267fb38817ae26938f0af071bc3ed03e876 Mon Sep 17 00:00:00 2001 From: Athanasius <github@miggy.org> Date: Tue, 9 Mar 2021 12:27:00 +0000 Subject: [PATCH] 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. --- PLUGINS.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PLUGINS.md b/PLUGINS.md index 14c46ada..337c80ed 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -460,8 +460,13 @@ typically about once a second when in orbital flight. New in version 4.1.6: -`CargoJSON` contains the raw data from the last read of `cargo.json` passed through json.load. -It contains more information about the cargo contents, such as the mission ID for mission specific cargo +`CargoJSON` contains the raw data from the last read of `Cargo.json` passed +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