schemas: commodity: README: Allow LoadGame horizons flag for CAPI data

This commit is contained in:
Athanasius 2021-11-02 11:30:25 +00:00
parent 5b05e4879f
commit 6704e1a957
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -81,8 +81,12 @@ using CAPI as the source.
Now you will need to construct the necessary additional fields:
#### CAPI horizons flag
You will need to check if any of the economies from the `/market` data have
a `name` are `Colony`, if so, set this flag true.
If your application can be certain that the game client is still running,
and logged into the game (not just run to the main menu), then you can
simply use the value from the `LoadGame` journal event.
Otherwise, you MUST check if any of the economies from the `/market`
data have a `name` of `Colony`, if so, set this flag true.
Additionally, you should retrieve the CAPI `/shipyard` endpoint and check if
any of the listed ships or modules have a `sku` value of