summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js40
1 files changed, 20 insertions, 20 deletions
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