From e1f19d491d7366ba5583be32a798355eaa250816 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 10 Feb 2024 11:54:41 +0100 Subject: Add TODO note for occupy pretender capital + mobile vulgus interaction. --- rules.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rules.js b/rules.js index 6d83184..f7cb31f 100644 --- a/rules.js +++ b/rules.js @@ -2970,13 +2970,13 @@ states.occupy_pretender_capital = { if (is_seat_of_power(where)) { log("Removed seat of power.") remove_seat_of_power(where) - remove_governor(where, false) + remove_governor(where, false) // XXX don't remove governor immediately resume_occupy_seat_of_power() } else { game.state = "occupy_breakaway" log("Removed breakaway.") remove_breakaway(where) - remove_governor(where, false) + remove_governor(where, false) // XXX don't remove governor immediately goto_replace_pretender() } } @@ -3003,7 +3003,7 @@ states.occupy_seat_of_power_1 = { push_undo() log("Removed seat of power.") remove_seat_of_power(where) - remove_governor(where, false) + remove_governor(where, false) // XXX don't remove governor immediately resume_occupy_seat_of_power() }, } @@ -3036,7 +3036,7 @@ states.occupy_breakaway = { push_undo() log("Removed breakaway.") remove_breakaway(where) - remove_governor(where, false) + remove_governor(where, false) // XXX don't remove governor immediately goto_replace_pretender() }, } @@ -3046,6 +3046,7 @@ function goto_replace_pretender() { game.state = "replace_pretender_governor" } else { log("Removed governor.") + // XXX remove_governor here instead end_occupation_of_pretender_capital() } } @@ -3066,6 +3067,7 @@ states.replace_pretender_governor = { governor(id) { push_undo() log("Replaced governor.") + // XXX remove governor here instead set_governor_location(id, game.where) if (is_emperor_player()) increase_support(ITALIA) @@ -3075,6 +3077,7 @@ states.replace_pretender_governor = { }, pass() { push_undo() + // XXX remove governor here instead log("Removed governor.") end_occupation_of_pretender_capital() }, @@ -3445,7 +3448,6 @@ function end_pretender() { resume_take_actions() } - // CARD: Princeps Senatus function auto_play_princeps_senatus() { @@ -5136,7 +5138,7 @@ states.buy_trash = { inactive: "Buy/Trash Cards", prompt() { prompt("Buy/Trash Cards: " + game.pp + " political points.") - if (game.mip > 0) + if (game.mip > 0) view.prompt += " " + game.mip + " military credits." if (game.sip > 0) view.prompt += " " + game.sip + " senate credits." @@ -5516,7 +5518,6 @@ exports.setup = function (seed, scenario, options) { log_h1("Time of Crisis") - if (options.emperor) { log("Emperor Rules.") log_br() -- cgit v1.2.3