mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
Update src/modules/cultures-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
492b4b27e6
commit
6cd0be9806
1 changed files with 1 additions and 1 deletions
|
|
@ -1147,7 +1147,7 @@ class CulturesModule {
|
||||||
const defineCultureType = (i: number) => {
|
const defineCultureType = (i: number) => {
|
||||||
if (this.cells.h[i] < 70 && [1, 2, 4].includes(this.cells.biome[i]))
|
if (this.cells.h[i] < 70 && [1, 2, 4].includes(this.cells.biome[i]))
|
||||||
return "Nomadic"; // high penalty in forest biomes and near coastline
|
return "Nomadic"; // high penalty in forest biomes and near coastline
|
||||||
if (this.cells.h[i] > 50) return "Highland"; // no penalty for hills and moutains, high for other elevations
|
if (this.cells.h[i] > 50) return "Highland"; // no penalty for hills and mountains, high for other elevations
|
||||||
const f = pack.features[this.cells.f[this.cells.haven[i]]]; // opposite feature
|
const f = pack.features[this.cells.f[this.cells.haven[i]]]; // opposite feature
|
||||||
if (f.type === "lake" && f.cells > 5) return "Lake"; // low water cross penalty and high for growth not along coastline
|
if (f.type === "lake" && f.cells > 5) return "Lake"; // low water cross penalty and high for growth not along coastline
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue