mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
exporting type (island, lake, etc.) as well now
This commit is contained in:
parent
be8dfac5fb
commit
096160a80f
1 changed files with 1 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ function saveGeoJSON_Cells() {
|
||||||
data += " \"id\": \""+i+"\",\n";
|
data += " \"id\": \""+i+"\",\n";
|
||||||
data += " \"height\": \""+height+"\",\n";
|
data += " \"height\": \""+height+"\",\n";
|
||||||
data += " \"biome\": \""+cells.biome[i]+"\",\n";
|
data += " \"biome\": \""+cells.biome[i]+"\",\n";
|
||||||
|
data += " \"type\": \""+pack.features[cells.f[i]].type+"\",\n";
|
||||||
data += " \"population\": \""+getFriendlyPopulation(i)+"\",\n";
|
data += " \"population\": \""+getFriendlyPopulation(i)+"\",\n";
|
||||||
data += " \"state\": \""+cells.state[i]+"\",\n";
|
data += " \"state\": \""+cells.state[i]+"\",\n";
|
||||||
data += " \"province\": \""+cells.province[i]+"\",\n";
|
data += " \"province\": \""+cells.province[i]+"\",\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue