Enable early native-faction Truthtrance promises

This commit is contained in:
Quintine committed 2026-10-26 06:21:34 +11:00
1 parent 8053e1fb26
commit d5c5342d2d
22 files changed
+1371 -44

No files matched your search

+8
View File
@@ -36,6 +36,14 @@ export function charityAmount(
return charityQuote(g, p).total;
}
/** Native phase-opening collection, distinct from a player's ordinary claim. */
export function choamOpeningIncome(
g: Pick<Game, 'advanced' | 'turn' | 'inflation' | 'players' | 'homeworlds'>,
owner: Pick<Player, 'id'>,
) {
return (2 * g.players.length + homeworldLowBonus(g, owner.id)) * charityMultiplier(g);
}
export function charityPayer(
g: Pick<Game, 'players' | 'turn' | 'choamCharity'>,
beneficiary?: string,