diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -311,7 +311,7 @@ function next(checkpoint = false) { const current_active = game.active; const next_active = get_next_active(node.p); if (next_active !== current_active && game.undo.length > 0) { - insert_before_active_node(create_state_node('confirm_turn', get_active_faction())); + insert_before_active_node(create_state_node('confirm_turn', get_active_faction(), { f: next_active })); game.state = 'confirm_turn'; return; } @@ -1141,7 +1141,14 @@ states.choose_medallion = { states.confirm_turn = { inactive: 'confirm their move', prompt() { - view.prompt = 'You will not be able to undo this action.'; + if (game.fascist === 2) + view.prompt = 'Fascist Test: Done.'; + else if (game.fascist === 1) { + let f = get_active_node_args().f; + view.prompt = `Fascist Event: ${f} needs to act.`; + } + else + view.prompt = 'You will not be able to undo this action.'; gen_action('confirm'); }, confirm() { |