diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-29 14:59:14 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-29 14:59:14 +0100 |
commit | 372ffe593bcfc49d9d60fda2e9865847110f74d8 (patch) | |
tree | 10436034f2765c5c7e3aca9113c84ef179f7cfc6 /rules.js | |
parent | 75928896e350bd7cdcc3314b8f316c213e6c1e0d (diff) | |
download | 1989-dawn-of-freedom-372ffe593bcfc49d9d60fda2e9865847110f74d8.tar.gz |
More Title Caps.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 68 |
1 files changed, 34 insertions, 34 deletions
@@ -1175,7 +1175,7 @@ states.the_crowd_turns_against_ceausescu_prep = { return `resolve ${card_name[C_THE_CROWD_TURNS_AGAINST_CEAUSESCU]}.` }, prompt() { - view.prompt = 'The Crowd Turns Against Ceausescu: draw cards.' + view.prompt = 'The Crowd Turns Against Ceausescu: Draw cards.' gen_action('draw') }, draw() { @@ -1249,13 +1249,13 @@ states.raise_stakes_1 = { (game.active === DEM && game.dem_pwr_hand.length < 3) || (game.active === COM && game.com_pwr_hand.length < 3) ) { - view.prompt = 'Raise the stakes: you must pass.' + view.prompt = 'Raise the Stakes: You must pass.' gen_action('pass') } else if (game.raised_stakes_discard === 3) { - view.prompt = 'Raise the stakes: done.' + view.prompt = 'Raise the Stakes: Done.' gen_action('done') } else { - view.prompt = `Discard ${3-game.raised_stakes_discard} cards to raise the stakes.` + view.prompt = `Raise the Stakes: Discard ${3-game.raised_stakes_discard} cards to raise the stakes.` if (game.raised_stakes_discard === 0) { gen_action('pass') } @@ -1310,15 +1310,15 @@ states.raise_stakes_2 = { (game.active === DEM && game.dem_pwr_hand.length < 3) || (game.active === COM && game.com_pwr_hand.length < 3) ) { - view.prompt = 'Raise the stakes: you must pass.' + view.prompt = 'Raise the Stakes: You must pass.' gen_action('pass') return } if (game.raised_stakes_discard === 3) { - view.prompt = 'Raise the stakes: done.' + view.prompt = 'Raise the Stakes: Done.' gen_action('done') } else { - view.prompt = `Discard ${3-game.raised_stakes_discard} cards to raise the stakes.` + view.prompt = `Raise the Stakes: Discard ${3-game.raised_stakes_discard} cards to raise the stakes.` if (game.raised_stakes_discard === 0) { gen_action('pass') } @@ -1541,16 +1541,16 @@ states.support_loss = { view.prompt = 'You lost the Power Struggle. Roll a die for Support Loss.' gen_action('roll') } else if (game.phase === 1 && game.available_ops > 0 && game.valid_spaces.length > 0) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: remove ${pluralize(game.available_ops,'SP')}.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: Remove ${pluralize(game.available_ops,'SP')}.` for (let space_id of game.valid_spaces) { gen_action_space(space_id) } } else if (game.phase === 1 && game.available_ops === 0) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: finished.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: Finished.` gen_action('done') } else if (game.phase === 1 && game.valid_spaces.length === 0) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: no remaining SPs to remove.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}. Support Loss: No remaining SPs to remove.` gen_action('done') } }, @@ -1582,13 +1582,13 @@ states.vp_roll = { prompt() { let ps_state = game.persistent_events.includes(MAGIC_NEW_YEARS_EVE_PARTY) ? "New Year's Eve Party" : "Power Struggle" if (game.phase === 0) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: roll a die for Victory.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: Roll a die for Victory.` gen_action('roll') } else if (game.phase === 1) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: take power.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: Take power.` gen_action('take') } else if (game.phase === 2) { - view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: proceed to scoring.` + view.prompt = `${ps_state} - ${country_name(game.pwr_struggle_in)}: Proceed to scoring.` gen_action('scoring') } }, @@ -1702,7 +1702,7 @@ states.finish_scoring = { states.end_turn_4_5_4 = { inactive: 'verify held cards', prompt() { - view.prompt = 'End Turn: verify held cards.' + view.prompt = 'End Turn: Verify held cards.' gen_action('check') }, check() { @@ -1786,7 +1786,7 @@ states.final_scoring = { game.temp['Romania'] && game.temp['Bulgaria'] ) { - view.prompt = 'Final scoring: done.' + view.prompt = 'Final Scoring: Done.' gen_action('end') } else { view.prompt = 'Choose a country to score:' @@ -1861,13 +1861,13 @@ states.general_strike = { inactive: 'discard a card', prompt() { if (game.played_card === 0) { - view.prompt = 'General Strike: you must discard a card or play a Scoring Card.' + view.prompt = 'General Strike: You must discard a card or play a Scoring Card.' game.communist_hand for (let card of game.communist_hand) { gen_action_card(card) } } else if (game.played_card > 0) { - view.prompt = 'General Strike: roll a die.' + view.prompt = 'General Strike: Roll a die.' gen_action('roll') } }, @@ -1909,7 +1909,7 @@ states.general_strike = { states.honecker = { inactive: 'resolve Honecker', prompt() { - view.prompt = 'Honecker: you may take an extra action round.' + view.prompt = 'Honecker: You may take an extra Action Round.' gen_action('extra') gen_action('pass') }, @@ -1940,7 +1940,7 @@ states.new_years_eve_party = { }, prompt() { if (!game.is_pwr_struggle) { - view.prompt = `New Year's Eve Party: you may choose a country to have a final power struggle.` + view.prompt = `New Year's Eve Party: You may choose a country to have a final Power Struggle.` if (!game.revolutions[0]) {gen_action('poland')} if (!game.revolutions[1]) {gen_action('hungary')} if (!game.revolutions[2]) {gen_action('east_germany')} @@ -1949,7 +1949,7 @@ states.new_years_eve_party = { if (!game.revolutions[5]) {gen_action('romania')} gen_action('pass') } else { - view.prompt = `New Year's Eve Party: done.` + view.prompt = `New Year's Eve Party: Done.` gen_action('end') } }, @@ -2015,11 +2015,11 @@ states.stasi_end_round = { inactive: 'choose next card due to Stasi', prompt() { if (game.democrat_hand.length === 0) { - view.prompt = 'Stasi: no cards remaining.' + view.prompt = 'Stasi: No cards remaining.' gen_action('pass') return } - view.prompt = 'Stasi: you must select your next card to play.' + view.prompt = 'Stasi: You must select your next card to play.' for (let card of game.democrat_hand) { gen_action_card(card) @@ -2058,7 +2058,7 @@ states.stasi_confirm_scoring_card = { states.stasi_finish = { inactive: 'choose next card due to Stasi', prompt() { - view.prompt = 'Stasi. Choose card: done.' + view.prompt = 'Stasi: Choose card done.' gen_action('done') }, done() { @@ -2083,10 +2083,10 @@ states.stasi_play_card = { inactive: 'play a card', prompt() { if (game.democrat_hand.length === 0) { - view.prompt = 'Stasi: you must pass.' + view.prompt = 'Stasi: You must pass.' gen_action('pass') } else { - view.prompt = `Stasi: you must play ${card_name[game.stasi_card]}.` + view.prompt = `Stasi: You must play ${quoted_card_name[game.stasi_card]}.` gen_action_card(game.stasi_card) } }, @@ -2121,7 +2121,7 @@ states.stasi_play_card = { states.stasi_resolve_common_european_home = { inactive: 'play a card', prompt() { - view.prompt = `Stasi: play ${card_name[game.played_card]} with Common European Home?` + view.prompt = `Stasi: Play ${quoted_card_name[game.played_card]} with Common European Home?` gen_action('yes') gen_action('no') }, @@ -2986,7 +2986,7 @@ function get_value(country) { } function get_end_infl_prompt() { - prompt_event(`Add SPs done.`) + prompt_event(`Place SPs done.`) if (!game.vm_infl_to_do) { gen_action('end_round') } else { @@ -6276,7 +6276,7 @@ states.vm_ceh_do_support_check = { states.vm_austria_hungary_border_reopened_check = { prompt() { - view.prompt = 'Austria-Hungary Border Reopened: will all Support Checks be in East Germany?' + view.prompt = 'Austria-Hungary Border Reopened: Will all Support Checks be in East Germany?' gen_action('yes') gen_action('no') }, @@ -6337,7 +6337,7 @@ states.vm_do_support_check = { states.vm_tiananmen_square_attempt = { prompt() { - view.prompt = 'Tiananmen Square: roll a die' + view.prompt = 'Tiananmen Square Attempt: Roll a die' gen_action('roll') }, roll() { @@ -6350,7 +6350,7 @@ states.vm_tiananmen_square_attempt = { states.vm_adamec = { prompt() { - view.prompt = 'Adamec: roll a die.' + view.prompt = 'Adamec: Roll a die.' gen_action('roll') }, roll() { @@ -6377,10 +6377,10 @@ states.vm_adamec = { states.vm_brought_in_for_questioning = { prompt() { if (game.democrat_hand.length === 0) { - view.prompt = 'Brought in for Questioning. No cards to discard.' + view.prompt = 'Brought in for Questioning: No cards to discard.' gen_action('pass') } else { - view.prompt = 'Brought in for Questioning: you must discard a random card.' + view.prompt = 'Brought in for Questioning: You must discard a random card.' gen_action('discard') } }, @@ -6417,10 +6417,10 @@ states.vm_brought_in_for_questioning = { states.vm_central_committee_reshuffle = { prompt() { if (game.revolutions.every(n => n === true)) { - view.prompt = 'Central Committee Reshuffle: no countries to choose.' + view.prompt = 'Central Committee Reshuffle: No countries to choose.' gen_action('pass') } else { - view.prompt = 'Central Committee Reshuffle: choose a country to add SPs.' + view.prompt = 'Central Committee Reshuffle: Choose a country to add SPs.' if (!game.revolutions[0]) {gen_action('poland')} if (!game.revolutions[1]) {gen_action('hungary')} if (!game.revolutions[2]) {gen_action('east_germany')} |