summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/play.js b/play.js
index be27367..77f7078 100644
--- a/play.js
+++ b/play.js
@@ -345,6 +345,10 @@ function is_two_player() {
return view.flags & F_TWO_PLAYER
}
+function is_saxony_neutral() {
+ return view.saxony > 2 && view.saxony < 5
+}
+
function count_victory_markers_in_country(pow, country) {
let n = 0
map_for_each(view.victory, (vspace, vpow) => {
@@ -1435,6 +1439,8 @@ function on_update() {
}
if (pow === P_PRUSSIA && (view.flags & F_PRUSSIA_NEUTRAL))
banner += " \u2014 Neutral"
+ if (pow === P_SAXONY && is_saxony_neutral())
+ banner += " \u2014 Neutral"
if (pow === P_FRANCE && (view.flags & F_WAR_OF_JENKINS_EAR))
banner += " \u2014 receives 1 TC less"