mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
Updated Data model (in progress) (markdown)
parent
169555a196
commit
78a4f43b2a
1 changed files with 23 additions and 6 deletions
|
|
@ -3,7 +3,7 @@ In this document I would like to outline the expected data structure.
|
|||
Relevant links:
|
||||
* [Current data model](https://github.com/Azgaar/Fantasy-Map-Generator/wiki/Data-model)
|
||||
* [Trello ticket](https://trello.com/c/IWltiMC2/902-rework-save-data-format)
|
||||
* [Refactro branch contract changes](https://github.com/Azgaar/Fantasy-Map-Generator/pull/842)
|
||||
* [Refactor branch contract changes](https://github.com/Azgaar/Fantasy-Map-Generator/pull/842)
|
||||
|
||||
Structure:
|
||||
```yaml
|
||||
|
|
@ -31,7 +31,7 @@ Structure:
|
|||
"heightmap": {
|
||||
"template": "Volcano",
|
||||
"isRandom": false,
|
||||
"isCrecreated": false,
|
||||
"isPrecreated": false,
|
||||
"isCustom": false
|
||||
},
|
||||
"cultures": {
|
||||
|
|
@ -52,23 +52,38 @@ Structure:
|
|||
"ratio": 30
|
||||
},
|
||||
"burgs": {
|
||||
"limit": null
|
||||
"limit": null,
|
||||
"showMfcgMap": true
|
||||
},
|
||||
"religions": {
|
||||
"limit": 7
|
||||
},
|
||||
"labels": {
|
||||
"autoHide": true,
|
||||
"rescaleOnZoom": true
|
||||
},
|
||||
"notes": {
|
||||
"pinned": false
|
||||
},
|
||||
"showMfcgMap": true,
|
||||
"scaleBar": {
|
||||
"size": 2
|
||||
"label": "",
|
||||
"position": {
|
||||
"x": 99,
|
||||
"y": 99
|
||||
}
|
||||
},
|
||||
"layers": {
|
||||
"heightmap": false,
|
||||
"states": true
|
||||
}
|
||||
},
|
||||
"style": {
|
||||
"scaleBar": {
|
||||
"size": 2,
|
||||
"backOpacity": 0.2,
|
||||
"backColor": "#ffffff",
|
||||
}
|
||||
},
|
||||
"world": {
|
||||
"name": "Narnia",
|
||||
"calendar": {
|
||||
|
|
@ -82,10 +97,12 @@ Structure:
|
|||
"northPole": -30,
|
||||
"southPole": -25
|
||||
},
|
||||
"winds": [],
|
||||
"winds": [225, 45, 225, 315, 135, 315],
|
||||
"precipitation": 100
|
||||
},
|
||||
"geography": {
|
||||
"mapSize": 11,
|
||||
"latitudeShift": 50,
|
||||
"coordinates": {
|
||||
"latN": 34
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue