mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31: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:
|
Relevant links:
|
||||||
* [Current data model](https://github.com/Azgaar/Fantasy-Map-Generator/wiki/Data-model)
|
* [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)
|
* [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:
|
Structure:
|
||||||
```yaml
|
```yaml
|
||||||
|
|
@ -31,7 +31,7 @@ Structure:
|
||||||
"heightmap": {
|
"heightmap": {
|
||||||
"template": "Volcano",
|
"template": "Volcano",
|
||||||
"isRandom": false,
|
"isRandom": false,
|
||||||
"isCrecreated": false,
|
"isPrecreated": false,
|
||||||
"isCustom": false
|
"isCustom": false
|
||||||
},
|
},
|
||||||
"cultures": {
|
"cultures": {
|
||||||
|
|
@ -52,23 +52,38 @@ Structure:
|
||||||
"ratio": 30
|
"ratio": 30
|
||||||
},
|
},
|
||||||
"burgs": {
|
"burgs": {
|
||||||
"limit": null
|
"limit": null,
|
||||||
|
"showMfcgMap": true
|
||||||
},
|
},
|
||||||
"religions": {
|
"religions": {
|
||||||
"limit": 7
|
"limit": 7
|
||||||
},
|
},
|
||||||
|
"labels": {
|
||||||
|
"autoHide": true,
|
||||||
|
"rescaleOnZoom": true
|
||||||
|
},
|
||||||
"notes": {
|
"notes": {
|
||||||
"pinned": false
|
"pinned": false
|
||||||
},
|
},
|
||||||
"showMfcgMap": true,
|
|
||||||
"scaleBar": {
|
"scaleBar": {
|
||||||
"size": 2
|
"label": "",
|
||||||
|
"position": {
|
||||||
|
"x": 99,
|
||||||
|
"y": 99
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"layers": {
|
"layers": {
|
||||||
"heightmap": false,
|
"heightmap": false,
|
||||||
"states": true
|
"states": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"style": {
|
||||||
|
"scaleBar": {
|
||||||
|
"size": 2,
|
||||||
|
"backOpacity": 0.2,
|
||||||
|
"backColor": "#ffffff",
|
||||||
|
}
|
||||||
|
},
|
||||||
"world": {
|
"world": {
|
||||||
"name": "Narnia",
|
"name": "Narnia",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
|
|
@ -82,10 +97,12 @@ Structure:
|
||||||
"northPole": -30,
|
"northPole": -30,
|
||||||
"southPole": -25
|
"southPole": -25
|
||||||
},
|
},
|
||||||
"winds": [],
|
"winds": [225, 45, 225, 315, 135, 315],
|
||||||
"precipitation": 100
|
"precipitation": 100
|
||||||
},
|
},
|
||||||
"geography": {
|
"geography": {
|
||||||
|
"mapSize": 11,
|
||||||
|
"latitudeShift": 50,
|
||||||
"coordinates": {
|
"coordinates": {
|
||||||
"latN": 34
|
"latN": 34
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue