diff options
-rw-r--r-- | rules.js | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -1239,7 +1239,7 @@ states.vm_the_crowd_turns_against_ceausescu = { return `resolve ${card_name[C_THE_CROWD_TURNS_AGAINST_CEAUSESCU]}` }, prompt() { - view.prompt = `You have ${game.vm_available_ops} operations points. Play for:` + view.prompt = `You have ${game.vm_available_ops} Operations points. Play for:` gen_action('influence') gen_action('support_check') }, @@ -1953,7 +1953,7 @@ states.general_strike_roll = { clear_undo() let roll = roll_d6() log(`Roll: D${roll}`) - logi(`+${game.available_ops} ops`) + logi(`+${game.available_ops} Ops`) let total = roll + game.available_ops if (total > 5) { log(`Success: ${total} > 5.`) @@ -2253,12 +2253,12 @@ function add_infl(space, ops) { check_com_control(space) ) { game[ops]-- - log_summary(`(-1 op due to C${C_GENSCHER})`) + log_summary(`(-1 Op due to C${C_GENSCHER})`) } else if (check_opp_control(space)) { game[ops] -= 2 // Check if Austria Hungary Border Reopened was used to place last SP in a controlled space in East Germany. If so, game.available_op will be negative if (game[ops] < 0) { - log_summary(`(Used +1 op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`) + log_summary(`(Used +1 Op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`) } } else { game[ops]-- @@ -2283,7 +2283,7 @@ function add_infl(space, ops) { game.austria_hungary_border_reopened_tracker ) { game[ops] ++ - log('+1 op C' + C_AUSTRIA_HUNGARY_BORDER_REOPENED + '.') + log('+1 Op C' + C_AUSTRIA_HUNGARY_BORDER_REOPENED + '.') game.austria_hungary_border_reopened_tracker = false game.valid_spaces = game.valid_spaces.filter(n => spaces[n].country === 'East_Germany') } @@ -2381,7 +2381,7 @@ function do_sc(space) { } else { let card_ops = get_card_ops(this_card()) roll += card_ops - logii(`+${card_ops} card ops`) + logii(`+${card_ops} card Ops`) } if (game.support_check_modifier > 0) { @@ -2824,7 +2824,7 @@ function do_tst_attempt() { logi(`D${roll}`) roll += game.available_ops - logi(`+${game.available_ops} card ops`) + logi(`+${game.available_ops} card Ops`) // TIANANMEN SQUARE MODIFIERS @@ -3581,7 +3581,7 @@ function get_card_ops(card) { game.state === 'general_strike' || game.state === 'vm_deutsche_marks' ) { - log(`+1 op C${C_PERESTROIKA}.`) + log(`+1 Op C${C_PERESTROIKA}.`) } ops ++ } @@ -3590,7 +3590,7 @@ function get_card_ops(card) { game.state === 'play_card' || game.state === 'vm_laszlo_tokes' ) { - log(`+1 op C${C_THE_SINATRA_DOCTRINE}.`) + log(`+1 Op C${C_THE_SINATRA_DOCTRINE}.`) } ops ++ } @@ -3603,7 +3603,7 @@ function get_card_ops(card) { game.state === 'play_card' || game.state === 'general_strike' ) { - log('+1 op Tiananmen Square Track.') + log('+1 Op Tiananmen Square Track.') } ops ++ } @@ -3614,10 +3614,10 @@ function get_card_ops(card) { game.state === 'vm_laszlo_tokes' ) { if (ops > 2) { - log(`${pluralize(game.prudence.DEM,'op')} C${C_PRUDENCE}.`) + log(`${pluralize(game.prudence.DEM,'Op')} C${C_PRUDENCE}.`) } else { if (ops > 1) { - log(`-1 op C${C_PRUDENCE}.`) + log(`-1 Op C${C_PRUDENCE}.`) } } } @@ -3634,9 +3634,9 @@ function get_card_ops(card) { game.state === 'general_strike' ) { if (ops > 2) { - log(`${pluralize(game.prudence.COM,'op')} C${C_PRUDENCE}.`) + log(`${pluralize(game.prudence.COM,'Op')} C${C_PRUDENCE}.`) } else if (ops > 1) { - log(`-1 op C${C_PRUDENCE}.`) + log(`-1 Op C${C_PRUDENCE}.`) } } ops += game.prudence.COM @@ -3650,18 +3650,18 @@ function get_card_ops(card) { function get_tst_6_ops() { let ops = 0 if (game.persistent_events.includes(C_PERESTROIKA) && game.active === COM) { - logi(`+1 op C${C_PERESTROIKA}.`) + logi(`+1 Op C${C_PERESTROIKA}.`) ops ++ } if (game.persistent_events.includes(C_THE_SINATRA_DOCTRINE) && game.active === DEM) { - logi(`+1 op C${C_THE_SINATRA_DOCTRINE}.`) + logi(`+1 Op C${C_THE_SINATRA_DOCTRINE}.`) ops ++ } if (game.active === DEM && game.prudence && game.prudence.DEM !== 0) { if (ops > 0) { - log(`${pluralize(game.prudence.DEM,'op')} C${C_PRUDENCE}.`) + log(`${pluralize(game.prudence.DEM,'Op')} C${C_PRUDENCE}.`) } else { - logi(`-1 op C${C_PRUDENCE}.`) + logi(`-1 Op C${C_PRUDENCE}.`) } ops += game.prudence.DEM if (ops < -1) { @@ -3671,9 +3671,9 @@ function get_tst_6_ops() { if (game.active === COM && game.prudence && game.prudence.COM < 0) { if (ops > 0) { - logi(`${pluralize(game.prudence.COM,'op')} C${C_PRUDENCE}.`) + logi(`${pluralize(game.prudence.COM,'Op')} C${C_PRUDENCE}.`) } else { - logi(`-1 op C${C_PRUDENCE}.`) + logi(`-1 Op C${C_PRUDENCE}.`) } ops += game.prudence.COM if (ops < -1) { @@ -3688,10 +3688,10 @@ function finish_play_card() { if (game.played_card === C_COMMON_EUROPEAN_HOME) { if (game.active === DEM) { game.vp -- - logi(`-1 VP for playing C${C_COMMON_EUROPEAN_HOME} for operations.`) + logi(`-1 VP for playing C${C_COMMON_EUROPEAN_HOME} for Operations.`) } else { game.vp ++ - logi(`+1 VP for playing C${C_COMMON_EUROPEAN_HOME} for operations.`) + logi(`+1 VP for playing C${C_COMMON_EUROPEAN_HOME} for Operations.`) } if (check_vp()) { return @@ -4439,7 +4439,7 @@ function pop_summary_i() { for (let [n, msg] of game.summary) { // Special case: Log C63 only once - if (msg === "(-1 op due to C63)") { + if (msg === "(-1 Op due to C63)") { if (!c63_logged) { logi(msg); c63_logged = true; @@ -7166,7 +7166,7 @@ states.vm_goodbye_lenin = { if (game.valid_cards.length === 0) { log('No red events.') } - log("C" + C_GOODBYE_LENIN + " played for operations.") + log("C" + C_GOODBYE_LENIN + " played for Operations.") game.view_opp_hand = false game.state = 'vm_goodbye_lenin_ops' }, @@ -7310,7 +7310,7 @@ states.vm_inflationary_currency_discard = { view.prompt = 'Inflationary Currency: No valid cards to discard. You must pass.' gen_action('pass') } else { - view.prompt = 'Inflationary Currency: You may discard a 3 op or higher value card to cancel the Support Check.' + view.prompt = 'Inflationary Currency: You may discard a 3 Op or higher value card to cancel the Support Check.' gen_action('pass') for (let card of game.valid_cards) { gen_action_card(card) @@ -8454,7 +8454,7 @@ states.vm_tst_8 = { } states.vm_tst_8_ops = { - inactive: 'play card for operations', + inactive: 'play card for Operations', prompt() { view.prompt = `Play ${quoted_card_name[game.played_card]}.` gen_action('influence') |