diff options
-rw-r--r-- | rules.js | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1768,7 +1768,7 @@ states.general_strike = { log(`Roll: D${roll}`) logi(`+${game.available_ops} ops`) let total = roll + game.available_ops - log(`Total: ${total}`) + log(`Modified roll: ${total}`) if (total > 5) { log('The strike is over.') @@ -1996,12 +1996,12 @@ states.stasi_play_card = { states.stasi_resolve_common_european_home = { inactive: 'play a card.', prompt () { - view.prompt = `Do you wish to play ${clean_name(cards[game.played_card].name)} with Common European Home?` + view.prompt = `Stasi: play ${clean_name(cards[game.played_card].name)} with Common European Home?` gen_action('yes') gen_action('no') }, yes() { - log(`Played with Common European Home`) + log(`Played C${game.played_card} with Common European Home`) silent_discard(C_COMMON_EUROPEAN_HOME) game.vm_infl_to_do = true game.vm_event_to_do = false @@ -2218,7 +2218,7 @@ function do_sc(space) { } // Support check calcs - log(`Modified total: ${roll}`) + log(`Modified roll: ${roll}`) const stability = spaces[space].stability logi(`-${stability*2} (stability * 2)`) const change_infl = Math.max(0, roll - stability*2) @@ -2517,7 +2517,7 @@ function do_tst_attempt() { roll ++ logi('+1 from C53') } - log(`Modified total: ${roll}`) + log(`Modified roll: ${roll}`) // TIANANMEN SQUARE ATTEMPT game.return = game.active @@ -4239,6 +4239,7 @@ function vm_valid_spaces_sc () { } function vm_valid_spaces_country_opp () { + console.log('in vm_valid_spaces_country_opp') let country = '' if (vm_operand(1)) { country = vm_operand(1) } @@ -4539,7 +4540,7 @@ function vm_remove_all_infl() { function vm_do_remove_all_infl(space) { push_undo() - log(`Removed all SP from %${space}.`) + log(`Removed all SP from %${space}`) if (game.remove_opponent_infl === true) { if (game.active === COM) { @@ -5678,6 +5679,7 @@ states.vm_remove_infl = { inactive: 'remove Support Points.', prompt () { // Keep this so that there is an undo option in, e.g., Scare Tactics + console.log('in vm_remove_infl') if (game.valid_spaces.length === 0 && game.vm_available_ops > 0) { view.prompt = `${clean_name(cards[this_card()].name)}: no further SPs to remove.` gen_action('done') @@ -6031,7 +6033,7 @@ states.vm_brought_in_for_questioning = { } goto_vm(game.vm_event) } else { - log('Event does not occur') + logi('Event does not occur') game.return = DEM vm_return() } @@ -7608,10 +7610,10 @@ states.vm_workers_revolt_finish = { log(`Roll: D${roll}`) let adj = count_adj(game.selected_space) if (game.active === DEM) { - log(`-${adj.com_adj} from opponent controlled spaces`) + logi(`-${adj.com_adj} from opponent controlled spaces`) roll -= adj.com_adj } else { - log(`-${adj.dem_adj} from opponent controlled spaces`) + logi(`-${adj.dem_adj} from opponent controlled spaces`) roll -= adj.dem_adj } log(`Modified roll: ${roll}`) |