mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
Updated Data model (markdown)
parent
cf98ff7746
commit
400de709fd
1 changed files with 2 additions and 2 deletions
|
|
@ -196,8 +196,8 @@ Provinces data is stored as an array of objects with strict element order. Eleme
|
|||
* `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)
|
||||
* `area`: `number` - province area in pixels
|
||||
* `burgs`: `number` - id of province capital burg if any
|
||||
* `burgs`: `number[]` - id of burgs within the province
|
||||
* `burg`: `number` - id of province capital burg if any
|
||||
* `burgs`: `number[]` - id of burgs within the province. Optional (added when Province editor is opened)
|
||||
* `cells`: `number` - number of cells within the province
|
||||
* `rural`: `number` - rural (non-burg) population of province cells. In population points
|
||||
* `urban`: `number` - urban (burg) population of state province. In population points
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue