summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/rules.ts b/rules.ts
index cc1c0f6..2be983c 100644
--- a/rules.ts
+++ b/rules.ts
@@ -484,7 +484,7 @@ function next(checkpoint = false) {
if (next_active !== current_active && game.undo.length > 0) {
insert_before_active_node(
- create_state_node('confirm_turn', get_active_faction())
+ create_state_node('confirm_turn', get_active_faction(), { f: next_active })
);
game.state = 'confirm_turn';
return;
@@ -1437,7 +1437,13 @@ 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() {