From 66a068a7191804a10647a91b56c57524f2f9ee3b Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 9 Nov 2024 16:09:52 +0000 Subject: Malta Summit no longer playable after Kremlin Coup --- data.js | 2 +- rules.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/data.js b/data.js index 13ca104..4912dde 100644 --- a/data.js +++ b/data.js @@ -1387,7 +1387,7 @@ const cards = [ {number: 107, period: 3, side: 'C', name: 'Massacre in Timisoara*', ops: 3, remove: true, playable: false, red: false}, {number: 108, period: 3, side: 'D', name: 'Army Backs Revolution*', ops: 3, remove: true, playable: true, red: false}, {number: 109, period: 3, side: 'C', name: 'Kremlin Coup!*', ops: 3, remove: true, playable: false, red: false}, - {number: 110, period: 3, side: 'D', name: 'Malta Summit*', ops: 3, remove: true, playable: true, red: false}, + {number: 110, period: 3, side: 'D', name: 'Malta Summit*', ops: 3, remove: true, playable: false, red: false}, ] const power_cards = [ diff --git a/rules.js b/rules.js index eb99f30..a4a8751 100644 --- a/rules.js +++ b/rules.js @@ -320,7 +320,7 @@ function start_game() { // Set variable event cards where event is playable at start of game - game.playable_cards = [C_THE_WALL, C_GORBACHEV_CHARMS_THE_WEST, C_HONECKER, C_COMMON_EUROPEAN_HOME, C_SECURITATE] + game.playable_cards = [C_THE_WALL, C_GORBACHEV_CHARMS_THE_WEST, C_HONECKER, C_COMMON_EUROPEAN_HOME, C_SECURITATE, C_MALTA_SUMMIT] draw_cards(game.strategy_deck, game.democrat_hand, game.communist_hand, game.dem_hand_limit, game.com_hand_limit) @@ -4476,7 +4476,7 @@ function vm_remove_limited_opp_infl() { function vm_do_remove_limited_infl(space, max_infl) { push_undo() - log(`Removed 1 SP from %${space}.`) + log_summary(`Removed £ SP from %${space}.`) game.vm_available_ops -- if (!game.vm_influence_added) { @@ -4958,6 +4958,7 @@ function vm_kremlin_coup() { game.temp.push(country) } }) + game.playable_cards = game.playable_cards.filter(c => c !== C_MALTA_SUMMIT) game.state = 'vm_kremlin_coup_choose_country' } -- cgit v1.2.3