mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Adjustments
This commit is contained in:
parent
e1e31531af
commit
74fb543101
3 changed files with 10 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -2,3 +2,7 @@
|
||||||
.vscode
|
.vscode
|
||||||
.idea
|
.idea
|
||||||
_maps
|
_maps
|
||||||
|
yarn.lock
|
||||||
|
.gitignore
|
||||||
|
node_modules
|
||||||
|
yarn-error.log
|
||||||
|
|
|
||||||
2
main.js
2
main.js
|
|
@ -364,7 +364,7 @@ function applyDefaultBiomesSystem() {
|
||||||
];
|
];
|
||||||
const biomeColor = ["#466eab", "#fbe79f", "#b5b887", "#d2d082", "#c8d68f", "#b6d95d", "#29bc56", "#7dcb35", "#409c43", "#4b6b32", "#96784b", "#d5e7eb", "#0b9131"];
|
const biomeColor = ["#466eab", "#fbe79f", "#b5b887", "#d2d082", "#c8d68f", "#b6d95d", "#29bc56", "#7dcb35", "#409c43", "#4b6b32", "#96784b", "#d5e7eb", "#0b9131"];
|
||||||
const biomeIx = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; // For Readability -]:-)>
|
const biomeIx = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; // For Readability -]:-)>
|
||||||
const habitability = [2, 30, 35, 40, 45, 50, 50, 20, 35, 22, 25, 5, 55];
|
const habitability = [2, 30, 35, 40, 65, 50, 50, 20, 35, 22, 25, 5, 35];
|
||||||
const iconsDensity = [0, 3, 2, 120, 120, 120, 120, 150, 150, 100, 5, 0, 150];
|
const iconsDensity = [0, 3, 2, 120, 120, 120, 120, 150, 150, 100, 5, 0, 150];
|
||||||
const icons = [
|
const icons = [
|
||||||
{},
|
{},
|
||||||
|
|
|
||||||
|
|
@ -195,8 +195,8 @@ window.Cultures = (function () {
|
||||||
{name: "Mudtoe (Dwarven)", base: 35, odd: 1, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarfs
|
{name: "Mudtoe (Dwarven)", base: 35, odd: 1, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarfs
|
||||||
{name: "Gongrem (Dwarven)", base: 35, odd: 1, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarfs
|
{name: "Gongrem (Dwarven)", base: 35, odd: 1, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarfs
|
||||||
{name: "Pabolk (Goblin)", base: 36, odd: 1, sort: i => temperature[i] - s[i], shield: "moriaOrc"}, // Goblin
|
{name: "Pabolk (Goblin)", base: 36, odd: 1, sort: i => temperature[i] - s[i], shield: "moriaOrc"}, // Goblin
|
||||||
{name: "Lagakh (Orkish)", base: 37, odd: 1, sort: i => (height[i] * normalizedCellScore(i) * biomeGoals(i,[2], 100)), shield: "urukHai"}, // Orc
|
{name: "Lagakh (Orkish)", base: 37, odd: 1, sort: i => (height[i] * normalizedCellScore(i) * biomeGoals(i,[2,3,4], 100)), shield: "urukHai"}, // Orc
|
||||||
{name: "Mogak (Orkish)", base: 37, odd: 1, sort: i => (height[i]* normalizedCellScore(i) * biomeGoals(i,[2], 100)), shield: "urukHai"}, // Orc
|
{name: "Mogak (Orkish)", base: 37, odd: 1, sort: i => (height[i]* normalizedCellScore(i) * biomeGoals(i,[2,3,4], 100)), shield: "urukHai"}, // Orc
|
||||||
{name: "Xugarf (Orkish)", base: 37, odd: 1, sort: i => ((height[i] * normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
{name: "Xugarf (Orkish)", base: 37, odd: 1, sort: i => ((height[i] * normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
||||||
{name: "Zildud (Orkish)", base: 37, odd: 1, sort: i => ((height[i]* normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
{name: "Zildud (Orkish)", base: 37, odd: 1, sort: i => ((height[i]* normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
||||||
{name: "Shazgob (Orkish)", base: 37, odd: 1, sort: i => ((height[i]* normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
{name: "Shazgob (Orkish)", base: 37, odd: 1, sort: i => ((height[i]* normalizedCellScore(i) * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
||||||
|
|
@ -204,9 +204,9 @@ window.Cultures = (function () {
|
||||||
{name: "Gul (Orkish)", base: 37, odd: 1, sort: i => ((height[i] * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
{name: "Gul (Orkish)", base: 37, odd: 1, sort: i => ((height[i] * temperature[i]) / biomeGoals(i, [2, 10, 11],100)), shield: "moriaOrc"}, // Orc
|
||||||
{name: "Goren (Elvish}", base: 33, odd: 0.5, sort: i => (normalizedCellScore(i) / biomeGoals(i, [6, 7, 8, 9], 10)) * temperature[i], shield: "fantasy5"}, // Elves
|
{name: "Goren (Elvish}", base: 33, odd: 0.5, sort: i => (normalizedCellScore(i) / biomeGoals(i, [6, 7, 8, 9], 10)) * temperature[i], shield: "fantasy5"}, // Elves
|
||||||
{name: "Ginikirr {Dwarven)", base: 35, odd: 0.8, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarven
|
{name: "Ginikirr {Dwarven)", base: 35, odd: 0.8, sort: i => normalizedCellScore(i) + height[i], shield: "erebor"}, // Dwarven
|
||||||
{name: "Heenzurm (Goblin)", base: 36, odd: 0.8, sort: i => temperature[i] - s[i], shield: "moriaOrc"}, // Goblin
|
{name: "Heenzurm (Goblin)", base: 36, odd: 1.8, sort: i => temperature[i] - s[i], shield: "moriaOrc"}, // Goblin
|
||||||
{name: "Yotunn (Giant)", base: 38, odd: 0.8, sort: i => tempDiff(i, -5), shield: "pavise"}, // Giant
|
{name: "Yotunn (Giant)", base: 38, odd: 1.2, sort: i => tempDiff(i, -5), shield: "pavise"}, // Giant
|
||||||
{name: "Zakaos (Giant)", base: 38, odd: 0.8, sort: i => tempDiff(i, -5), shield: "pavise"}, // Giant
|
{name: "Zakaos (Giant)", base: 38, odd: 1.0, sort: i => tempDiff(i, -5), shield: "pavise"}, // Giant
|
||||||
{name: "Fruthos (Human)", base: 32, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 10), shield: "fantasy5"},
|
{name: "Fruthos (Human)", base: 32, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 10), shield: "fantasy5"},
|
||||||
{name: "Rulor (Human)", base: 32, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 13), shield: "roman"},
|
{name: "Rulor (Human)", base: 32, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 13), shield: "roman"},
|
||||||
{name: "Gralcek (Human)", base: 16, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 16), shield: "round"},
|
{name: "Gralcek (Human)", base: 16, odd: 1, sort: i => normalizedCellScore(i) / tempDiff(i, 16), shield: "round"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue