summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-27 23:34:42 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-28 23:33:22 +0100
commit0d9f011545370e0122c82c4182177f4a1e698c2d (patch)
treef3dba710666cf9eea4acac380cc8954b190074e5 /rules.js
parentd501f674513c32aa63a31336beabacde1ea3fb58 (diff)
downloadmaria-0d9f011545370e0122c82c4182177f4a1e698c2d.tar.gz
Reword promise validation/confirmation prompts.
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