Support whole AND/OR ordinary bribe commitments

This commit is contained in:
Quintine committed 2026-10-26 15:53:57 +11:00
1 parent c81e00e6dd
commit 0e3c155876
21 files changed
+1778 -111

No files matched your search

+4
View File
@@ -1331,6 +1331,10 @@ function policyActions(g: GameView): Action[] {
const answer = g.truthAllianceAnswers?.find(answer => answer !== 'unknown') ?? g.truthAllianceAnswers?.[0];
return answer ? [{ type: 'truthAnswer', answer }] : [];
}
if (w.question.kind === 'bribeExpression') {
const answer = g.truthBribeExpressionAnswers?.[0];
return answer ? [{ type: 'truthAnswer', answer }] : [];
}
if (w.question.kind === 'bribe') {
const answer = g.truthBribeAnswers?.[0];
return answer ? [{ type: 'truthAnswer', answer }] : [];