mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
refactor: load.js formatting
This commit is contained in:
parent
dd35947ecd
commit
4c6c5288a1
4 changed files with 62 additions and 64 deletions
5
main.js
5
main.js
|
|
@ -1493,7 +1493,8 @@ function showStatistics() {
|
|||
|
||||
const stats = ` Seed: ${seed}
|
||||
Canvas size: ${graphWidth}x${graphHeight} px
|
||||
Heightmap: ${heightmap} (${isRandomTemplate}${heightmapType})
|
||||
Heightmap: ${heightmap}
|
||||
Template: ${isRandomTemplate}${heightmapType}
|
||||
Points: ${grid.points.length}
|
||||
Cells: ${pack.cells.i.length}
|
||||
Map size: ${mapSizeOutput.value}%
|
||||
|
|
@ -1501,7 +1502,7 @@ function showStatistics() {
|
|||
Provinces: ${pack.provinces.length - 1}
|
||||
Burgs: ${pack.burgs.length - 1}
|
||||
Religions: ${pack.religions.length - 1}
|
||||
Culture set: ${culturesSet.selectedOptions[0].innerText}
|
||||
Culture set: ${culturesSet.value}
|
||||
Cultures: ${pack.cultures.length - 1}`;
|
||||
|
||||
mapId = Date.now(); // unique map id is it's creation date number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue