mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
markers - fix number
This commit is contained in:
parent
8de49858ba
commit
fb8a79e7b6
2 changed files with 4 additions and 3 deletions
|
|
@ -215,11 +215,12 @@ window.Markers = (function () {
|
|||
addMarker("hill_monster", "👹", 50, 50, 12);
|
||||
const cell = ra(hills);
|
||||
const id = appendMarker(cell, "hill_monster");
|
||||
const subject = ra(["Locals", "Old folks", "Old books", "Tipplers"]);
|
||||
const species = ra(["Ogre", "Troll", "Cyclopes", "Giant", "Monster", "Troll", "Beast", "Dragon", "Undead", "Ghoul", "Vampire"]);
|
||||
const modus = ra(["steals their cattle", "doesn't mind eating children", "doesn't mind of human flesh", "keeps the region at bay"]);
|
||||
const modusOperandi = ra(["steals their cattle", "doesn't mind eating children", "doesn't mind of human flesh", "keeps the region at bay", "eats their kids", "abducts young women"]);
|
||||
const toponym = Names.getCulture(cells.culture[cell]);
|
||||
const name = `${toponym} ${species}`;
|
||||
const legend = `Locals tell tales of an old ${species} who inhabits ${toponym} hills and ${modus}`;
|
||||
const legend = `${subject} tell tales of an old ${species} who inhabits ${toponym} hills and ${modusOperandi}`;
|
||||
notes.push({id, name, legend});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ function regenerateMarkers(event) {
|
|||
})
|
||||
.remove();
|
||||
|
||||
Markers.generate();
|
||||
Markers.generate(number);
|
||||
if (!layerIsOn("toggleMarkers")) toggleMarkers();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue