summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-07 11:48:40 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-07 11:48:40 +0100
commit150f4a380872f89db60cad9f476a650861024f79 (patch)
tree7e615b492849418d571d2559cac36c517a37e9d5
parent31a3dcb85433a317d3a150889e1c5a48548b37a3 (diff)
downloadmaria-150f4a380872f89db60cad9f476a650861024f79.tar.gz
winter order (austria before pragmatic)
-rw-r--r--rules.js14
1 files changed, 3 insertions, 11 deletions
diff --git a/rules.js b/rules.js
index ca58cb7..04974e2 100644
--- a/rules.js
+++ b/rules.js
@@ -3396,22 +3396,14 @@ function end_re_enter_train() {
/* WINTER RECRUITMENT */
+// TODO: swap saxony/austria order when not prussian-aligned?
const POWER_FROM_WINTER_STAGE = [
P_FRANCE,
P_BAVARIA,
P_PRUSSIA,
P_SAXONY,
- P_PRAGMATIC,
P_AUSTRIA,
-]
-
-const title_from_winter_stage = [
- "=" + P_FRANCE,
- "=" + P_BAVARIA,
- "=" + P_PRUSSIA,
- "=" + P_SAXONY,
- "=" + P_PRAGMATIC,
- "=" + P_AUSTRIA,
+ P_PRAGMATIC,
]
function set_active_to_current_winter_stage() {
@@ -3461,7 +3453,7 @@ function goto_winter_stage() {
return
}
- log(title_from_winter_stage[game.stage])
+ log("=" + game.power)
goto_recruit()
}