summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-21 06:17:21 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-21 06:17:21 +0000
commitd4718cfbd613e6b906653270b1ac0e14e82b87d7 (patch)
treeabd5fe94c021e9dd69e7d84fdaf34aac18677252
parentb6f3751c0916edd0fec4be767b833ac1656b30ae (diff)
download1989-dawn-of-freedom-d4718cfbd613e6b906653270b1ac0e14e82b87d7.tar.gz
Award Civic Forum VP before adding influence
-rw-r--r--events.txt2
-rw-r--r--rules.js10
2 files changed, 9 insertions, 3 deletions
diff --git a/events.txt b/events.txt
index bbe4220..39de8fc 100644
--- a/events.txt
+++ b/events.txt
@@ -701,6 +701,8 @@ endif
CARD 90 - Civic Forum*
# +1 VP. Place 4 SPs in Czechoslovakia. The Democratic Player may make Support Checks in Czechoslovakia using the Ops value of this card if the Czech Writers space is Democratically controlled.
+permanently_remove
+civic_forum_prep
valid_spaces_country 'Czechoslovakia'
prompt 'Czechoslovakia'
add_infl_free 4
diff --git a/rules.js b/rules.js
index 189abb3..061d615 100644
--- a/rules.js
+++ b/rules.js
@@ -4710,22 +4710,24 @@ function vm_central_committee_reshuffle() {
game.state = 'vm_central_committee_reshuffle'
}
-function vm_civic_forum() {
+function vm_civic_forum_prep() {
log('+1 VP')
game.vp++
if (check_vp()) {
return
}
+ vm_next()
+}
+
+function vm_civic_forum() {
if (check_dem_control(S_CZECH_WRITERS)) {
vm_next()
} else {
- permanently_remove(C_CIVIC_FORUM)
vm_return()
}
}
function vm_common_european_home() {
-
if (game.active === DEM) {
for (let c of game.democrat_hand) {
if (cards[c].side === 'C') {
@@ -8660,6 +8662,8 @@ CODE[89] = [ // Domino Theory*
]
CODE[90] = [ // Civic Forum*
+ [ vm_permanently_remove ],
+ [ vm_civic_forum_prep ],
[ vm_valid_spaces_country, 'Czechoslovakia' ],
[ vm_prompt, 'Czechoslovakia' ],
[ vm_add_infl_free, 4 ],