From a12352815b3c170ef7869636552cd9061897ce36 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 27 Sep 2024 12:16:25 +0100 Subject: Small tweaks --- events.txt | 2 +- play.html | 2 +- rules.js | 15 ++++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/events.txt b/events.txt index 62cfa76..7b01fe6 100644 --- a/events.txt +++ b/events.txt @@ -655,7 +655,7 @@ permanently_remove CARD 89 - Domino Theory* # If the Democrat holds Power in at least 2 counties, he may retrieve any Power Struggle - card from the discard pile and play it immediately as an event. The Democrat receives a -1 drm to his dice rolls for this Power Struggle. -prompt 'Choose a Power Struggle card to play from the discard pile.' +prompt 'Domino Theory: choose a Power Struggle card to play from the discard pile.' domino_theory permanently_remove diff --git a/play.html b/play.html index e938d88..e7d8924 100644 --- a/play.html +++ b/play.html @@ -111,7 +111,7 @@ - + diff --git a/rules.js b/rules.js index f8c62b9..cdf72c8 100644 --- a/rules.js +++ b/rules.js @@ -5284,7 +5284,11 @@ function vm_systematization() { function vm_tank_column() { if (game.active === DEM) { game.dem_tst_position++ - } else {game.com_tst_position++} + game.dem_tst_attempted = 0 + } else { + game.com_tst_position++ + game.com_tst_attempted = 0 + } vm_next() } @@ -6748,7 +6752,8 @@ states.vm_modrow = { let roll = Math.floor(Math.random() * 6) + 1 let dem_spaces = spaces.filter(space => space && space.country === 'East_Germany' && check_dem_control(space.space_id)).length if (roll > dem_spaces) { - log(`Rolled a ${roll}: success`) + log(`Rolled a ${roll}`) + log(`Success. More than the ${dem_spaces} Democratically controlled spaces`) vm_next() } else { log(`Rolled a ${roll}`) @@ -7433,8 +7438,8 @@ states.vm_workers_revolt = { } }, infl(space) { - game.temp = find_space_index(space) - log(`Chose %${game.temp}`) + game.selected_space = find_space_index(space) + log(`Chose %${game.selected_space}`) game.state = 'vm_workers_revolt_finish' } } @@ -8362,7 +8367,7 @@ CODE[88] = [ // Adamec* ] CODE[89] = [ // Domino Theory* - [ vm_prompt, 'Choose a Power Struggle card to play from the discard pile.' ], + [ vm_prompt, 'Domino Theory: choose a Power Struggle card to play from the discard pile.' ], [ vm_domino_theory ], [ vm_permanently_remove ], [ vm_return ], -- cgit v1.2.3