Updated Data model (in progress) (markdown)

Azgaar 2024-09-08 15:39:15 +02:00
parent 135559347f
commit 10e5a90aa5

@ -6,19 +6,24 @@ Relevant links:
* [Refactor branch contract changes](https://github.com/Azgaar/Fantasy-Map-Generator/pull/842)
Structure:
```yaml
```json
{
"meta": {
"copyright": "Azgaar's Fantasy Map Generator",
"license": "MIT",
"source": "http://azgaar.github.io/Fantasy-Map-Generator",
"seed": "342342342323",
"createdOn": "2023-09-11T23:36:17.227Z",
"updatedOn": "2023-09-11T23:42:31.748Z",
"revision": 2,
"initialVersion": "1.91.12",
"currentVersion": "1.93.03",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
"initial": {
"timestamp": "2023-09-11T23:36:17.227Z",
"version": "2.1.12",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
},
"current": {
"timestamp": "2025-02-15T14:42:31.748Z",
"version": "2.126.3",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
"revision": 124
}
},
"settings": {
"graph": {
@ -70,16 +75,11 @@ Structure:
"y": 99
}
},
"layers": {
"heightmap": false,
"states": true
"military": {
"units": {
"0": {
"name": "infantry"
}
},
"style": {
"scaleBar": {
"size": 2,
"backOpacity": 0.2,
"backColor": "#ffffff",
}
},
"world": {
@ -95,7 +95,14 @@ Structure:
"northPole": -30,
"southPole": -25
},
"winds": [225,45,225,315,135,315],
"winds": [
225,
45,
225,
315,
135,
315
],
"precipitation": 100
},
"geography": {
@ -105,7 +112,7 @@ Structure:
"latN": 34
}
},
"measurements": {
"units": {
"distance": {
"unit": "m",
"scale": 3
@ -129,52 +136,76 @@ Structure:
"density": 10
}
}
},
"rulers": {
"0": {
"i": 0,
"type": "ruler",
"points": [[0,0],[642,17]],
}
},
"military": {
"units": {
"0": {
"name": "infantry"
}
"layers": {
"heightmap": false,
"states": true
}
},
"biomes": {
"0": {
"name": "Marine",
"isCustom": false
}
},
"states": {
"0": {},
"1": {}
},
"notes": {
"0": {}
"style": {
"scaleBar": {
"size": 2,
"backOpacity": 0.2,
"backColor": "#ffffff"
}
},
"data": {
"grid": {
"cells": {
"i": [],
"temp": []
},
"vertices": {
"c": [[]]
"c": [
[]
]
}
},
"pack": {
"cells": {
"i": [],
"g": [],
"states": []
"state": [],
"culture": []
},
"vertices": {
"c": [[]]
"c": [
[]
]
}
},
"biomes": {
"0": {
"name": "Marine",
"isCustom": false,
"cells": 354
},
"1": {}
},
"states": {
"0": {},
"1": {}
},
"cultures": {},
"notes": {
"0": {}
},
"rulers": {
"0": {
"i": 0,
"type": "ruler",
"points": [
[
0,
0
],
[
642,
17
]
]
}
}
}
}