mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.4.32
This commit is contained in:
parent
46b94c01ef
commit
7fa056fe98
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