mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor(religions): expand religions
This commit is contained in:
parent
0a77845ebc
commit
707cdd77ac
11 changed files with 136 additions and 42 deletions
|
|
@ -17,7 +17,7 @@ export function specifyReligions(
|
|||
cultures: TCultures,
|
||||
states: TStates,
|
||||
burgs: TBurgs,
|
||||
cells: Pick<IPack["cells"], "i" | "c" | "culture" | "burg" | "state">
|
||||
cells: Pick<IPack["cells"], "i" | "c" | "biome" | "culture" | "burg" | "state" | "route">
|
||||
): {religions: TReligions; religionIds: Uint16Array} {
|
||||
const rawReligions = religionsData.map(({type, form, culture: cultureId, center}, index) => {
|
||||
const supreme = getDeityName(cultures, cultureId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue