mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated Data model (markdown)
parent
1f7ddfef90
commit
d6437512a7
1 changed files with 1 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ Provinces data is stored as an array of objects with strict element order. Eleme
|
|||
* `fullName`: `string` - full state name. Combination of the proper name and province `formName`
|
||||
* `color`: `string` - province color in hex (e.g. `#45ff12`) or link to hatching pattern (e.g. `url(#hatch7)`)
|
||||
* `center`: `number` - cell id of province center (initial cell)
|
||||
* `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[]` - province 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)
|
||||
* `area`: `number` - province area in pixels
|
||||
* `burg`: `number` - id of province capital burg if any
|
||||
* `burgs`: `number[]` - id of burgs within the province. Optional (added when Province editor is opened)
|
||||
|
|
@ -217,7 +217,6 @@ Religions data is stored as an array of objects with strict element order. Eleme
|
|||
* `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)
|
||||
* `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)
|
||||
* `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`
|
||||
* `area`: `number` - religion area in pixels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue