Combine current facts with native Traitor decisions
This commit is contained in:
1 parent
812f77e348
commit
13398aa76e
22 files changed
+1512
-17
No files matched your search
@@ -1374,6 +1374,10 @@ function policyActions(g: GameView): Action[] {
|
||||
const answer = g.truthBidAnswers?.[0];
|
||||
return answer ? [{ type: 'truthAnswer', answer }] : [];
|
||||
}
|
||||
if (w.question.kind === 'mixedTraitorCall') {
|
||||
const answer = g.truthMixedTraitorAnswers?.[0];
|
||||
return answer ? [{ type: 'truthAnswer', answer }] : [];
|
||||
}
|
||||
if (w.question.kind === 'traitorCall') {
|
||||
const answers = g.truthTraitorAnswers ?? [];
|
||||
const answer = answers.find(answer => answer === 'yes') ?? answers[0];
|
||||
|
||||
Reference in new issue
Block a user