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
135559347f
commit
10e5a90aa5
1 changed files with 115 additions and 84 deletions
|
|
@ -6,19 +6,24 @@ Relevant links:
|
||||||
* [Refactor 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
|
```json
|
||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"copyright": "Azgaar's Fantasy Map Generator",
|
"copyright": "Azgaar's Fantasy Map Generator",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"source": "http://azgaar.github.io/Fantasy-Map-Generator",
|
"source": "http://azgaar.github.io/Fantasy-Map-Generator",
|
||||||
"seed": "342342342323",
|
"seed": "342342342323",
|
||||||
"createdOn": "2023-09-11T23:36:17.227Z",
|
"initial": {
|
||||||
"updatedOn": "2023-09-11T23:42:31.748Z",
|
"timestamp": "2023-09-11T23:36:17.227Z",
|
||||||
"revision": 2,
|
"version": "2.1.12",
|
||||||
"initialVersion": "1.91.12",
|
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
|
||||||
"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"
|
"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": {
|
"settings": {
|
||||||
"graph": {
|
"graph": {
|
||||||
|
|
@ -70,6 +75,69 @@ Structure:
|
||||||
"y": 99
|
"y": 99
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"military": {
|
||||||
|
"units": {
|
||||||
|
"0": {
|
||||||
|
"name": "infantry"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"world": {
|
||||||
|
"name": "Narnia",
|
||||||
|
"calendar": {
|
||||||
|
"year": 2024,
|
||||||
|
"era": "Test Era",
|
||||||
|
"eraShort": "TE"
|
||||||
|
},
|
||||||
|
"climate": {
|
||||||
|
"temperature": {
|
||||||
|
"equator": 30,
|
||||||
|
"northPole": -30,
|
||||||
|
"southPole": -25
|
||||||
|
},
|
||||||
|
"winds": [
|
||||||
|
225,
|
||||||
|
45,
|
||||||
|
225,
|
||||||
|
315,
|
||||||
|
135,
|
||||||
|
315
|
||||||
|
],
|
||||||
|
"precipitation": 100
|
||||||
|
},
|
||||||
|
"geography": {
|
||||||
|
"mapSize": 11,
|
||||||
|
"latitudeShift": 50,
|
||||||
|
"coordinates": {
|
||||||
|
"latN": 34
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"units": {
|
||||||
|
"distance": {
|
||||||
|
"unit": "m",
|
||||||
|
"scale": 3
|
||||||
|
},
|
||||||
|
"area": {
|
||||||
|
"unit": "square",
|
||||||
|
"scale": 1
|
||||||
|
},
|
||||||
|
"height": {
|
||||||
|
"unit": "ft",
|
||||||
|
"exponent": 2
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
"unit": "°C",
|
||||||
|
"scale": 1
|
||||||
|
},
|
||||||
|
"population": {
|
||||||
|
"scale": 1000,
|
||||||
|
"urbanization": {
|
||||||
|
"rate": 1,
|
||||||
|
"density": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"layers": {
|
"layers": {
|
||||||
"heightmap": false,
|
"heightmap": false,
|
||||||
"states": true
|
"states": true
|
||||||
|
|
@ -79,102 +147,65 @@ Structure:
|
||||||
"scaleBar": {
|
"scaleBar": {
|
||||||
"size": 2,
|
"size": 2,
|
||||||
"backOpacity": 0.2,
|
"backOpacity": 0.2,
|
||||||
"backColor": "#ffffff",
|
"backColor": "#ffffff"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"world": {
|
"data": {
|
||||||
"name": "Narnia",
|
"grid": {
|
||||||
"calendar": {
|
"cells": {
|
||||||
"year": 2024,
|
"i": [],
|
||||||
"era": "Test Era",
|
"temp": []
|
||||||
"eraShort": "TE"
|
|
||||||
},
|
|
||||||
"climate": {
|
|
||||||
"temperature": {
|
|
||||||
"equator": 30,
|
|
||||||
"northPole": -30,
|
|
||||||
"southPole": -25
|
|
||||||
},
|
},
|
||||||
"winds": [225,45,225,315,135,315],
|
"vertices": {
|
||||||
"precipitation": 100
|
"c": [
|
||||||
},
|
[]
|
||||||
"geography": {
|
]
|
||||||
"mapSize": 11,
|
|
||||||
"latitudeShift": 50,
|
|
||||||
"coordinates": {
|
|
||||||
"latN": 34
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"measurements": {
|
"pack": {
|
||||||
"distance": {
|
"cells": {
|
||||||
"unit": "m",
|
"i": [],
|
||||||
"scale": 3
|
"g": [],
|
||||||
|
"state": [],
|
||||||
|
"culture": []
|
||||||
},
|
},
|
||||||
"area": {
|
"vertices": {
|
||||||
"unit": "square",
|
"c": [
|
||||||
"scale": 1
|
[]
|
||||||
},
|
]
|
||||||
"height": {
|
|
||||||
"unit": "ft",
|
|
||||||
"exponent": 2
|
|
||||||
},
|
|
||||||
"temperature": {
|
|
||||||
"unit": "°C",
|
|
||||||
"scale": 1
|
|
||||||
},
|
|
||||||
"population": {
|
|
||||||
"scale": 1000,
|
|
||||||
"urbanization": {
|
|
||||||
"rate": 1,
|
|
||||||
"density": 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rulers": {
|
|
||||||
"0": {
|
|
||||||
"i": 0,
|
|
||||||
"type": "ruler",
|
|
||||||
"points": [[0,0],[642,17]],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"military": {
|
|
||||||
"units": {
|
|
||||||
"0": {
|
|
||||||
"name": "infantry"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"biomes": {
|
"biomes": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "Marine",
|
"name": "Marine",
|
||||||
"isCustom": false
|
"isCustom": false,
|
||||||
}
|
"cells": 354
|
||||||
|
},
|
||||||
|
"1": {}
|
||||||
},
|
},
|
||||||
"states": {
|
"states": {
|
||||||
"0": {},
|
"0": {},
|
||||||
"1": {}
|
"1": {}
|
||||||
},
|
},
|
||||||
|
"cultures": {},
|
||||||
"notes": {
|
"notes": {
|
||||||
"0": {}
|
"0": {}
|
||||||
}
|
|
||||||
},
|
|
||||||
"grid": {
|
|
||||||
"cells": {
|
|
||||||
"i": [],
|
|
||||||
"temp": []
|
|
||||||
},
|
},
|
||||||
"vertices": {
|
"rulers": {
|
||||||
"c": [[]]
|
"0": {
|
||||||
}
|
"i": 0,
|
||||||
},
|
"type": "ruler",
|
||||||
"pack": {
|
"points": [
|
||||||
"cells": {
|
[
|
||||||
"i": [],
|
0,
|
||||||
"g": [],
|
0
|
||||||
"states": []
|
],
|
||||||
},
|
[
|
||||||
"vertices": {
|
642,
|
||||||
"c": [[]]
|
17
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue