summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts11
1 files changed, 8 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index cc1fb2d..2727d4b 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1443,6 +1443,12 @@ states.choose_medallion = {
states.confirm_turn = {
inactive: 'confirm their move',
+ auto_resolve() {
+ // don't pause to confirm actions during fascist event
+ if (game.fascist === 1)
+ return true
+ return false
+ },
prompt() {
if (game.fascist === 2)
view.prompt = 'Fascist Test: Done.'
@@ -2208,6 +2214,7 @@ states.return_card = {
const faction = get_active_faction();
gen_spend_hero_points();
view.prompt = 'Return a card to your hand.';
+ view.show_trash = true;
let possible = false;
for (let c of game.trash[faction]) {
if (c !== game.played_card) {
@@ -2821,12 +2828,10 @@ function end_of_year() {
false,
];
- const player_order = get_player_order();
-
const engine = [];
for (let i = 0; i < glory_to_draw[game.year]; ++i) {
- engine.push(create_state_node('draw_glory', player_order[i % 3]));
+ engine.push(create_state_node('draw_glory', game.initiative));
}
engine.push(create_function_node('end_of_year_cleanup'));