summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-02 00:29:53 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-02 00:29:53 +0100
commit16be02c06cbad26e3f8db3d9da4ad1774a5475b9 (patch)
treec17bf8ac5c755367ef371be3a060baccaedc3a2d
parent065ac069ed8109ba67c10ea6874fd442ec0b4ab9 (diff)
downloadmaria-16be02c06cbad26e3f8db3d9da4ad1774a5475b9.tar.gz
no subsidy with neutral saxony
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 7b24f13..1b80525 100644
--- a/rules.js
+++ b/rules.js
@@ -5609,6 +5609,8 @@ states.propose_subsidy_to = {
prompt(`Subsidy contract between ${power_name[from]} and who?`)
for (let to of (is_two_player() ? all_minor_powers : all_powers)) {
if (from !== to && is_allied_power(from, to)) {
+ if (to === P_SAXONY && is_saxony_neutral())
+ continue
if (is_controlled_power(player, from) || is_controlled_power(player, to))
gen_action_power(to)
}
@@ -5689,7 +5691,7 @@ function may_create_subsidy() {
if (is_two_player()) {
let major = coop_major_power(game.power)
if (major === P_PRAGMATIC || major === P_AUSTRIA)
- return is_saxony_austrian()
+ return is_saxony_austrian_ally()
}
return true
}