mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Added status to Volcano marker legend.
This commit is contained in:
parent
931c5d3af8
commit
a4d7ea257b
1 changed files with 2 additions and 1 deletions
|
|
@ -165,7 +165,8 @@ window.Markers = (function () {
|
||||||
|
|
||||||
const proper = Names.getCulture(cells.culture[cell]);
|
const proper = Names.getCulture(cells.culture[cell]);
|
||||||
const name = P(0.3) ? "Mount " + proper : Math.random() > 0.3 ? proper + " Volcano" : proper;
|
const name = P(0.3) ? "Mount " + proper : Math.random() > 0.3 ? proper + " Volcano" : proper;
|
||||||
notes.push({id, name, legend: `Active volcano. Height: ${getFriendlyHeight(cells.p[cell])}`});
|
const status = P(0.6) ? "Dormant" : Math.random() > 0.6 ? "Active" : "Erupting";
|
||||||
|
notes.push({id, name, legend: `${status} volcano. Height: ${getFriendlyHeight(cells.p[cell])}`});
|
||||||
}
|
}
|
||||||
|
|
||||||
function listHotSprings({cells}) {
|
function listHotSprings({cells}) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue