summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-27 01:09:31 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-27 01:10:07 +0100
commit8b3c51144cfa1f124026f3da2b5b68b0cde5f608 (patch)
treeb888f951d4ee875a92d4e5f670d4cf489dae1105 /rules.js
parentcfb1e5c492c621d6ca3880b903a66c8c754a9735 (diff)
downloadmaria-8b3c51144cfa1f124026f3da2b5b68b0cde5f608.tar.gz
reword
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 4e084f9..5e54a70 100644
--- a/rules.js
+++ b/rules.js
@@ -4908,6 +4908,7 @@ states.political_shift = {
prompt() {
let info = event_shift[current_political_effect()]
prompt("Shift " + TRACK_NAME[info.track] + ".")
+ view.pc = game.pc
if (info.condition === undefined || info.condition()) {
if (info.track === "saxony")
view.actions.shift_saxony = info.amount
@@ -4980,6 +4981,7 @@ states.political_troops_draw = {
inactive: "execute political card",
prompt() {
prompt("Draw " + format_card_list_prompt(game.draw) + ".")
+ view.pc = game.pc
view.draw = game.draw
view.actions.next = 1
},
@@ -5026,6 +5028,7 @@ states.political_troops_place = {
prompt("Recieve " + game.count + " troops.")
else if (game.count === 1)
prompt("Recieve 1 troop.")
+ view.pc = game.pc
if (game.count > 0) {
for (let p of all_power_generals[game.power]) {
@@ -5063,6 +5066,7 @@ states.war_of_jenkins_ear = {
inactive: "execute political card",
prompt() {
prompt("France -1 TC this turn.")
+ view.pc = game.pc
view.actions.accept = 1
view.actions.ignore = 1
},
@@ -6247,7 +6251,7 @@ function next_reject_propose_subsidy() {
states.reject_propose_subsidy = {
dont_snap: true,
- inactive: "approve subsidy contract",
+ inactive: "resume play",
prompt() {
let from = game.proposal.from
let to = game.proposal.to
@@ -6406,7 +6410,7 @@ function next_reject_cancel_subsidy() {
states.reject_cancel_subsidy = {
dont_snap: true,
- inactive: "cancel subsidy contract",
+ inactive: "resume play",
prompt() {
let from = game.proposal.from
let to = game.proposal.to
@@ -6494,7 +6498,7 @@ function next_reject_deal() {
states.reject_deal = {
dont_snap: true,
- inactive: "accept deal",
+ inactive: "resume play",
prompt() {
let from = game.proposal.deal[DI_A_POWER]
let to = game.proposal.deal[DI_B_POWER]