diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-06 14:56:08 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-06 14:56:08 +0000 |
commit | 7c1572564ee2cdbb91e1e309ead3f843ab45e681 (patch) | |
tree | c8cc74656f55af38cd3c44edf40a6aa3f2280cd8 | |
parent | 394bc9df08aa2e58fb6af9b22bd2f1d1e92f2ba2 (diff) | |
download | 1989-dawn-of-freedom-7c1572564ee2cdbb91e1e309ead3f843ab45e681.tar.gz |
Add autocheck for My First Banana and AHBR
-rw-r--r-- | rules.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -479,7 +479,6 @@ exports.view = function (state, player) { } } return view - console.log('view', view) } // === ACTIONS =========== @@ -6604,10 +6603,10 @@ states.vm_support_check_prep = { game.selected_space = space // Check for Austria-Hungary Border Reopened - check on first Support Check only - // First check for Monday Demonstrations - Support Checks will always be in East Germany + // First check for Monday Demonstrations or My First Banana - Support Checks will always be in East Germany // TODO: Add check for My First Banana? if ( - game.vm_event === C_THE_MONDAY_DEMONSTRATIONS && + (game.vm_event === C_THE_MONDAY_DEMONSTRATIONS || game.vm_event === C_MY_FIRST_BANANA) && game.persistent_events.includes(C_AUSTRIA_HUNGARY_BORDER_REOPENED) ) { game.austria_hungary_border_reopened_tracker = true |