From 403fbc735608e09ee1e753b641f1d2fa7065ad69 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 6 Jan 2025 14:48:45 +0000 Subject: Add AHBR check to vm_1_support_check --- rules.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rules.js') 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() { -- cgit v1.2.3