mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.3.10a
This commit is contained in:
parent
6af5df0322
commit
f80ce054d2
2 changed files with 4 additions and 1 deletions
|
|
@ -1852,7 +1852,7 @@
|
||||||
<button id="regenerateRivers" data-tip="Click to regenerate all rivers (restore default state)">Rivers</button>
|
<button id="regenerateRivers" data-tip="Click to regenerate all rivers (restore default state)">Rivers</button>
|
||||||
<button id="regeneratePopulation" data-tip="Click to recalculate rural and urban population">Population</button>
|
<button id="regeneratePopulation" data-tip="Click to recalculate rural and urban population">Population</button>
|
||||||
<button id="regenerateBurgs" data-tip="Click to regenerate all burgs and routes. States will remain as they are">Burgs</button>
|
<button id="regenerateBurgs" data-tip="Click to regenerate all burgs and routes. States will remain as they are">Burgs</button>
|
||||||
<button id="regenerateStates" data-tip="Click to select new capitals and regenerate states. Burgs will remain as they are">States</button>
|
<button id="regenerateStates" data-tip="Click to select new capitals and regenerate states. Military forces will be regenerated as well, burgs will remain as they are">States</button>
|
||||||
<button id="regenerateProvinces" data-tip="Click to regenerate provinces. States will remain as they are">Provinces</button>
|
<button id="regenerateProvinces" data-tip="Click to regenerate provinces. States will remain as they are">Provinces</button>
|
||||||
<button id="regenerateReligions" data-tip="Click to regenerate religions">Religions</button>
|
<button id="regenerateReligions" data-tip="Click to regenerate religions">Religions</button>
|
||||||
<button id="regenerateMilitary" data-tip="Click to recalculate military forces and regenerate regiments based on current military options">Military</button>
|
<button id="regenerateMilitary" data-tip="Click to recalculate military forces and regenerate regiments based on current military options">Military</button>
|
||||||
|
|
|
||||||
|
|
@ -216,15 +216,18 @@ function regenerateStates() {
|
||||||
BurgsAndStates.normalizeStates();
|
BurgsAndStates.normalizeStates();
|
||||||
BurgsAndStates.collectStatistics();
|
BurgsAndStates.collectStatistics();
|
||||||
BurgsAndStates.assignColors();
|
BurgsAndStates.assignColors();
|
||||||
|
BurgsAndStates.generateCampaigns();
|
||||||
BurgsAndStates.generateDiplomacy();
|
BurgsAndStates.generateDiplomacy();
|
||||||
BurgsAndStates.defineStateForms();
|
BurgsAndStates.defineStateForms();
|
||||||
BurgsAndStates.generateProvinces(true);
|
BurgsAndStates.generateProvinces(true);
|
||||||
if (!layerIsOn("toggleStates")) toggleStates(); else drawStates();
|
if (!layerIsOn("toggleStates")) toggleStates(); else drawStates();
|
||||||
if (!layerIsOn("toggleBorders")) toggleBorders(); else drawBorders();
|
if (!layerIsOn("toggleBorders")) toggleBorders(); else drawBorders();
|
||||||
BurgsAndStates.drawStateLabels();
|
BurgsAndStates.drawStateLabels();
|
||||||
|
Military.generate();
|
||||||
|
|
||||||
if (document.getElementById("burgsOverviewRefresh").offsetParent) burgsOverviewRefresh.click();
|
if (document.getElementById("burgsOverviewRefresh").offsetParent) burgsOverviewRefresh.click();
|
||||||
if (document.getElementById("statesEditorRefresh").offsetParent) statesEditorRefresh.click();
|
if (document.getElementById("statesEditorRefresh").offsetParent) statesEditorRefresh.click();
|
||||||
|
if (document.getElementById("militaryOverviewRefresh").offsetParent) militaryOverviewRefresh.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
function regenerateProvinces() {
|
function regenerateProvinces() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue