Difference between revisions of "Template:Trade source data/doc"

From Captain of Industry Wiki
Jump to: navigation, search
m (Fixing errors)
(Contents expansion)
Line 4: Line 4:


In order to update the data, stored in the Wiki [[Special:CargoTables | Cargo]]:
In order to update the data, stored in the Wiki [[Special:CargoTables | Cargo]]:
*Create an [https://github.com/David-Melo/captain-of-data/issues issue] in the GitHub repository.
*If the data in the in the GitHub repository is not up to date, create an [https://github.com/David-Melo/captain-of-data/issues issue].
*When repository's data is up to date, copy contents of [https://github.com/David-Melo/captain-of-data/blob/main/wiki/data/contracts_table.txt this] file and overwrite the [[Template:Trade source data]] page source with it's contents completely.
*When repository's data is up to date, copy contents of [https://github.com/David-Melo/captain-of-data/blob/main/wiki/data/contracts_table.txt this] file and overwrite the [[Template:Trade source data]] page source with it's contents completely.
*Save [[Trade]] article (without any changes) to force the invoke of data storage.

Revision as of 14:13, 4 July 2022

This page contains raw data definition, extracted from the source files.

There is no complete automation of data fetching from source now, and some manual actions are required each time there is a game-changing patch.

In order to update the data, stored in the Wiki Cargo:

  • If the data in the in the GitHub repository is not up to date, create an issue.
  • When repository's data is up to date, copy contents of this file and overwrite the Template:Trade source data page source with it's contents completely.
  • Save Trade article (without any changes) to force the invoke of data storage.