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

From Captain of Industry Wiki
Jump to: navigation, search
m (L32 moved page Trade/doc to Template:Trade source data/doc: Documentation linking)
(Fixing errors)
Line 5: Line 5:
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.
*Create an [https://github.com/David-Melo/captain-of-data/issues issue] in the GitHub repository.
*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 [[Trade/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 [https://wiki.captain-of-industry.com/index.php?title=Template:Trade_source_data&action=edit page source] with it's contents completely.

Revision as of 13:43, 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:

  • Create an issue in the GitHub repository.
  • When repository's data is up to date, copy contents of this file and overwrite the page source with it's contents completely.