summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index f08657f..046a003 100644
--- a/rules.js
+++ b/rules.js
@@ -1145,6 +1145,11 @@ states.choose_medallion = {
};
states.confirm_turn = {
inactive: 'confirm their move',
+ auto_resolve() {
+ if (game.fascist === 1)
+ return true;
+ return false;
+ },
prompt() {
if (game.fascist === 2)
view.prompt = 'Fascist Test: Done.';
@@ -1813,6 +1818,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) {
@@ -2321,10 +2327,9 @@ function end_of_year() {
false,
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'));
game.engine = engine;