mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.1.15
This commit is contained in:
commit
ff6ef1643e
2 changed files with 10 additions and 1 deletions
2
main.js
2
main.js
|
|
@ -1383,7 +1383,7 @@ function addZones(number = 1) {
|
|||
}
|
||||
|
||||
const invasion = rw({"Invasion":4, "Occupation":3, "Raid":2, "Conquest":2,
|
||||
"Subjugation":1, "Foray":1, "Irruption":1, "Incursion":2, "Pillage":1, "Intervention":1});
|
||||
"Subjugation":1, "Irruption":1, "Foray":1, "Incursion":2, "Pillage":1, "Intervention":1});
|
||||
const name = getAdjective(invader.name) + " " + invasion;
|
||||
data.push({name, type:"Invasion", cells:cellsArray, fill:"url(#hatch1)"});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -368,7 +368,11 @@ function editBurgs() {
|
|||
}
|
||||
|
||||
function downloadBurgsData() {
|
||||
<<<<<<< HEAD
|
||||
let data = "Id,Burg,Province,State,Culture,Religion,Population,Longitude,Latitude,Elevation ("+heightUnit.value+"),Capital,Port,Citadel,Walls,Plaza,Temple,Shanty Town\n"; // headers
|
||||
=======
|
||||
let data = "Id,Burg,Province,State,Culture,Religion,Population,Longitude,Latitude,Elevation ("+heightUnit.value+"),Capital,Port,Citadel,Walls,Plaza,Temple,Shanty\n"; // headers
|
||||
>>>>>>> 40f4f308142aebc86427c252046d3d53df81b1cc
|
||||
const valid = pack.burgs.filter(b => b.i && !b.removed); // all valid burgs
|
||||
|
||||
valid.forEach(b => {
|
||||
|
|
@ -393,7 +397,12 @@ function editBurgs() {
|
|||
data += b.walls ? "walls," : ",";
|
||||
data += b.plaza ? "plaza," : ",";
|
||||
data += b.temple ? "temple," : ",";
|
||||
<<<<<<< HEAD
|
||||
data += b.shanty ? "shanty town\n" : "\n";
|
||||
=======
|
||||
data += b.shanty ? "shanty\n" : "\n";
|
||||
|
||||
>>>>>>> 40f4f308142aebc86427c252046d3d53df81b1cc
|
||||
});
|
||||
|
||||
const name = getFileName("Burgs") + ".csv";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue