summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-09 16:09:52 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-09 16:09:52 +0000
commit66a068a7191804a10647a91b56c57524f2f9ee3b (patch)
treec0d37a7d0720b2af7c67cc18a75d08ddfc932b9a
parent10f953a8cb1f65dbf4e6c0e80170e01853aedf29 (diff)
download1989-dawn-of-freedom-66a068a7191804a10647a91b56c57524f2f9ee3b.tar.gz
Malta Summit no longer playable after Kremlin Coup
-rw-r--r--data.js2
-rw-r--r--rules.js5
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'
}