summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-06 14:48:45 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-06 14:48:45 +0000
commit403fbc735608e09ee1e753b641f1d2fa7065ad69 (patch)
treec4fe513d4c9e166bf603cbceedf6c9c29c7a5e9e
parentcecd7a8c88d50505ba67e15a017d0f0ea3b70de8 (diff)
download1989-dawn-of-freedom-403fbc735608e09ee1e753b641f1d2fa7065ad69.tar.gz
Add AHBR check to vm_1_support_check
-rw-r--r--rules.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 3f80460..da357d6 100644
--- a/rules.js
+++ b/rules.js
@@ -4468,6 +4468,7 @@ function pop_summary_i() {
} */
function pop_summary_i() {
+ console.log('game.summary', game.summary)
if (game.summary.length > 0) {
// Create a map to group by space and track totals and details
let grouped_summary = new Map()
@@ -6718,6 +6719,14 @@ states.vm_1_support_check_prep = {
space(space) {
push_undo()
game.selected_space = space
+ //Check for Austria Hungary Border Reopened on Democrat Support Check
+ if (
+ game.active === DEM &&
+ game.persistent_events.includes(C_AUSTRIA_HUNGARY_BORDER_REOPENED) &&
+ spaces[space].country === 'East_Germany'
+ ) {
+ game.austria_hungary_border_reopened_tracker = true
+ }
game.state = 'vm_do_support_check'
},
done() {