refactor(religions): expand religions

This commit is contained in:
Azgaar 2022-08-27 00:51:29 +03:00
parent 0a77845ebc
commit 707cdd77ac
11 changed files with 136 additions and 42 deletions

View file

@ -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);