Updated Data model (markdown)

Azgaar 2023-02-23 01:42:15 -08:00
parent fe15329c8f
commit 82efeae4da

@ -203,7 +203,7 @@ Religions data is stored as an array of objects with strict element order. Eleme
* `code`: `string` - religion name abbreviation. Used to render religions tree * `code`: `string` - religion name abbreviation. Used to render religions tree
* `origins`: `number[]` - ids of ancestor religions. `[0]` if religion doesn't have an ancestor. Used to render religions tree. The first array member is main link, other - supporting out-of-tree links * `origins`: `number[]` - ids of ancestor religions. `[0]` if religion doesn't have an ancestor. Used to render religions tree. The first array member is main link, other - supporting out-of-tree links
* `center`: `number` - cell id of religion center (initial cell) * `center`: `number` - cell id of religion center (initial cell)
* `culture`: `number` - if of religion original culture * `culture`: `number` - religion original culture
* `pole`: `number[]` - state pole of inaccessibility (visual center) coordinates, see [the concept description](https://blog.mapbox.com/a-new-algorithm-for-finding-a-visual-center-of-a-polygon-7c77e6492fbc?gi=6bd4fcb9ecc1) * `pole`: `number[]` - state pole of inaccessibility (visual center) coordinates, see [the concept description](https://blog.mapbox.com/a-new-algorithm-for-finding-a-visual-center-of-a-polygon-7c77e6492fbc?gi=6bd4fcb9ecc1)
* `expansionism`: `number` - religion growth multiplier. Used during religion generation to define competitive size * `expansionism`: `number` - religion growth multiplier. Used during religion generation to define competitive size
* `expansion`: `string` - religion expansion type. Can be `culture` so that religion grow only within its culture or `global` * `expansion`: `string` - religion expansion type. Can be `culture` so that religion grow only within its culture or `global`