mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
v1.4.32
This commit is contained in:
parent
fe17372ddd
commit
f9650ce7a8
2 changed files with 8 additions and 6 deletions
|
|
@ -399,7 +399,7 @@ function randomizeCultureSet() {
|
|||
function generateEra() {
|
||||
if (!stored("year")) yearInput.value = rand(100, 2000); // current year
|
||||
if (!stored("era")) eraInput.value = Names.getBaseShort(P(.7) ? 1 : rand(nameBases.length)) + " Era";
|
||||
options.year = yearInput.value;
|
||||
options.year = +yearInput.value;
|
||||
options.era = eraInput.value;
|
||||
options.eraShort = options.era.split(" ").map(w => w[0].toUpperCase()).join(""); // short name for era
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue