mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
refactor: religions generation
This commit is contained in:
parent
b9ff6a652c
commit
3f6fca72e6
2 changed files with 1 additions and 4 deletions
|
|
@ -33,9 +33,6 @@ export function generateReligions({
|
|||
pick(cells, "i", "c", "h", "biome", "culture", "burg", "state", "route")
|
||||
);
|
||||
|
||||
folkReligions.forEach(({center}) => drawPoint(cells.p[center], {radius: 3, color: "blue"}));
|
||||
basicReligions.forEach(({center}) => drawPoint(cells.p[center], {radius: 3, color: "red"}));
|
||||
|
||||
TIME && console.timeEnd("generateReligions");
|
||||
return {religionIds, religions};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import {brighter, darker, getMixedColor} from "utils/colorUtils";
|
||||
import {each, gauss, rand} from "utils/probabilityUtils";
|
||||
import {each, gauss} from "utils/probabilityUtils";
|
||||
import {isCulture} from "utils/typeUtils";
|
||||
import {expandReligions} from "./expandReligions";
|
||||
import {getDeityName} from "./generateDeityName";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue