summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-02-10 11:54:41 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-07 13:10:06 +0100
commite1f19d491d7366ba5583be32a798355eaa250816 (patch)
tree77f07d6f1ae3e19fb5d7bf569852ab6caea760ad
parent8e1827c4b51267f83e42ce38dc6520cb17fe067e (diff)
downloadtime-of-crisis-e1f19d491d7366ba5583be32a798355eaa250816.tar.gz
Add TODO note for occupy pretender capital + mobile vulgus interaction.
-rw-r--r--rules.js15
1 files 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()