mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
1.0.18
This commit is contained in:
parent
6bd0ce5533
commit
57c1e17c88
11 changed files with 203 additions and 122 deletions
|
|
@ -120,7 +120,8 @@
|
|||
if (religionsTree.find(x, y, s) !== undefined) continue; // to close to existing religion
|
||||
|
||||
const culture = cells.culture[center];
|
||||
const origin = religions.find(r => r.culture === culture && r.type === "Folk").i || 0;
|
||||
const folk = religions.find(r => r.culture === culture && r.type === "Folk");
|
||||
const origin = folk ? folk.i : 0;
|
||||
const deity = getDeityName(culture);
|
||||
const name = getCultName(form, center);
|
||||
const expansionism = gauss(1.1, .5, 0, 5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue