diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-02 11:44:41 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-02 11:44:41 +0200 |
commit | 38683aadd4fdaa0c7256643ec566154d959fae34 (patch) | |
tree | e7767e3dbe2e5af0266ff5ffcce40a0878b4c20e | |
parent | b5e5d8ff63e273e7be4f93e1f3721252607661aa (diff) | |
download | red-flag-over-paris-38683aadd4fdaa0c7256643ec566154d959fae34.tar.gz |
Fix card 26 and card 20.
-rw-r--r-- | events.txt | 1 | ||||
-rw-r--r-- | rules.js | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -125,6 +125,7 @@ CARD 19 - Walery Wroblewski place_disc (where_present(PARIS)) CARD 20 - Banque de France + # must decrease momentum decrease_revolutionary_momentum prompt "Place up to 1 in Paris." place_up_to 1 PARIS @@ -444,6 +444,11 @@ function can_play_event(c) { if (!has_versailles_cube(NATIONAL_ASSEMBLY)) return false + // Banque de France - must decrease red momentum + if (c === 20) + if (game.red_momentum < 1) + return false + // Le Reveil - cannot be played if Socialist Newspaper Ban if (c === 21) if (game.snb) @@ -3861,6 +3866,7 @@ CODE[25] = [ // Paul Cluseret CODE[26] = [ // Gaston Crémieux [ vm_increase_revolutionary_momentum ], + [ vm_prompt, "Place up to 2 in Social Movements." ], [ vm_place_up_to, 2, SOCIAL_MOVEMENTS ], [ vm_return ], ] |