diff options
-rw-r--r-- | play.js | 10 | ||||
-rw-r--r-- | rules.js | 40 |
2 files changed, 26 insertions, 24 deletions
@@ -1644,8 +1644,10 @@ function on_update() { action_button("peace", "Peace") action_button("accept", "Accept") action_button("reject", "Reject") - action_button("yes", "Yes") - action_button("no", "No") + + action_button("keep", "Kept") + confirm_action_button("break", "Broken", + "REWIND the game to force the player to keep their promise?\n\nP.S. Let them know why!") action_button("re_enter", "Re-enter") action_button("force_march", "Force march") @@ -1666,10 +1668,10 @@ function on_update() { action_button("resume", "Resume") confirm_action_button("dispute", "Dispute", - "Dispute order of movement on Flanders map and restart Austrian and Pragmatic Army movement phase?") + "Dispute order of movement on Flanders map and RESTART Austrian and Pragmatic Army movement phase?") confirm_action_button("restart", "Restart", - "Restart Austrian and Pragmatic Army movement phase?") + "RESTART the Austrian and Pragmatic Army movement phase?") action_button("end_political_card", "End political card") action_button("end_place_hussars", "End place hussars") @@ -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 |