From 0d9f011545370e0122c82c4182177f4a1e698c2d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 27 Nov 2024 23:34:42 +0100 Subject: Reword promise validation/confirmation prompts. --- rules.js | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index e0eb093..00d6ebe 100644 --- a/rules.js +++ b/rules.js @@ -6646,17 +6646,17 @@ function end_validate_politics() { states.validate_politics = { dont_snap: true, - inactive: "validate promise", + inactive: "confirm that promises were kept", prompt() { let other = game.restart.power // icky hack to read power of the card executor prompt("Did " + power_name[other] + " keep their politics promise?") - view.actions.yes = 1 - view.actions.no = 1 + view.actions.keep = 1 + view.actions.break = 1 }, - yes() { + keep() { resume_validate_politics() }, - no() { + break() { let other = game.power restore_checkpoint() game.proposal = other @@ -6694,17 +6694,17 @@ function resume_validate_hussars() { states.validate_hussars = { dont_snap: true, - inactive: "validate promise", + inactive: "confirm that promises were kept", prompt() { let other = current_sequence_of_play().power prompt("Did " + power_name[other] + " keep their hussar promise?") - view.actions.yes = 1 - view.actions.no = 1 + view.actions.keep = 1 + view.actions.break = 1 }, - yes() { + keep() { resume_validate_hussars() }, - no() { + break() { let other = game.power restore_checkpoint() game.proposal = other @@ -6748,17 +6748,17 @@ function resume_validate_movement() { states.validate_movement = { dont_snap: true, - inactive: "validate promise", + inactive: "confirm that promises were kept", prompt() { let other = current_sequence_of_play().power prompt("Did " + power_name[other] + " keep their movement promise?") - view.actions.yes = 1 - view.actions.no = 1 + view.actions.keep = 1 + view.actions.break = 1 }, - yes() { + keep() { resume_validate_movement() }, - no() { + break() { let other = game.power restore_checkpoint() game.proposal = other @@ -6792,17 +6792,17 @@ function resume_validate_retreat() { states.validate_retreat = { dont_snap: true, - inactive: "validate promise", + inactive: "confirm that promises were kept", prompt() { let other = current_sequence_of_play().power prompt("Did " + power_name[other] + " keep their retreat promise?") - view.actions.yes = 1 - view.actions.no = 1 + view.actions.keep = 1 + view.actions.break = 1 }, - yes() { + keep() { resume_validate_retreat() }, - no() { + break() { let other = game.power pop_undo() game.proposal = other -- cgit v1.2.3