mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Individual Regeneration of Temperatures
This commit is contained in:
parent
31ba534762
commit
c0c5161f97
1 changed files with 2 additions and 3 deletions
|
|
@ -612,11 +612,10 @@ function randomizeOptions() {
|
||||||
tMin = -30; // temperature extremes
|
tMin = -30; // temperature extremes
|
||||||
if (randomize || !locked("temperatureEquator"))
|
if (randomize || !locked("temperatureEquator"))
|
||||||
temperatureEquatorOutput.value = temperatureEquatorInput.value = rand(tMax - 10, tMax);
|
temperatureEquatorOutput.value = temperatureEquatorInput.value = rand(tMax - 10, tMax);
|
||||||
if (randomize || !locked("temperaturePole")) {
|
if (randomize || !locked("temperatureNorthPole"))
|
||||||
temperatureNorthPoleOutput.value = temperatureNorthPoleInput.value = rand(tMin, tMin + 30);
|
temperatureNorthPoleOutput.value = temperatureNorthPoleInput.value = rand(tMin, tMin + 30);
|
||||||
|
if (randomize || !locked("temperatureSouthPole"))
|
||||||
temperatureSouthPoleOutput.value = temperatureSouthPoleInput.value = rand(tMin, tMin + 30);
|
temperatureSouthPoleOutput.value = temperatureSouthPoleInput.value = rand(tMin, tMin + 30);
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// 'Units Editor' settings
|
// 'Units Editor' settings
|
||||||
const US = navigator.language === "en-US";
|
const US = navigator.language === "en-US";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue